I can't get the FileOperation configuration provider to work.
I am trying to delete a shortcut:

_setup.xml:

<wap-provisioningdoc>
<characeristic type="FileOperation">
<characteristic type="%CE2%\Start Menu\Programs" translation="install">
<characteristic type="%CE2%\Start Menu\Programs\Pocket MSN.lnk"
translation="install">
<characteristic type="Delete">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

This is in _setup.xml inside a signed cab, but won't install.. I looked at
"Metabase" CSP but not sure what to do with it to make the above possible.
Anyone else got a clue?

Lisa

Re: wap-provisioning: FileOperation by Jean

Jean
Wed Jan 17 16:36:12 CST 2007

There is a typo in your XML below, and the "%CE2%\Start Menu\Programs" line
should not be there. This works for me:

<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE2%\Start Menu\Programs\Pocket MSN.lnk"
translation="install">
<characteristic type="Delete">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

---
Jean Chak
Microsoft Corp.
This posting is provided "AS IS" with no warranties, and confers no rights.



"Lisa Pearlson" <no@spam.plz> wrote in message
news:OvUuRcmOHHA.992@TK2MSFTNGP06.phx.gbl...
>I can't get the FileOperation configuration provider to work.
> I am trying to delete a shortcut:
>
> _setup.xml:
>
> <wap-provisioningdoc>
> <characeristic type="FileOperation"> <-------------- should be
> "characteristic" -------------
> <characteristic type="%CE2%\Start Menu\Programs" translation="install">
> <characteristic type="%CE2%\Start Menu\Programs\Pocket MSN.lnk"
> translation="install">
> <characteristic type="Delete">
> <parm name="ForceDelete"/>
> </characteristic>
> </characteristic>
> </characteristic>
> </characteristic>
> </wap-provisioningdoc>
>
> This is in _setup.xml inside a signed cab, but won't install.. I looked at
> "Metabase" CSP but not sure what to do with it to make the above possible.
> Anyone else got a clue?
>
> Lisa
>



Re: wap-provisioning: FileOperation by Lisa

Lisa
Thu Jan 18 12:03:13 CST 2007

Thanks, that worked :)

"Jean Chak [MSFT]" <jeanchak@online.microsoft.com> wrote in message
news:upCHnfoOHHA.2232@TK2MSFTNGP02.phx.gbl...
> There is a typo in your XML below, and the "%CE2%\Start Menu\Programs"
> line should not be there. This works for me:
>
> <wap-provisioningdoc>
> <characteristic type="FileOperation">
> <characteristic type="%CE2%\Start Menu\Programs\Pocket MSN.lnk"
> translation="install">
> <characteristic type="Delete">
> <parm name="ForceDelete"/>
> </characteristic>
> </characteristic>
> </characteristic>
> </wap-provisioningdoc>
>
> ---
> Jean Chak
> Microsoft Corp.
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>
> "Lisa Pearlson" <no@spam.plz> wrote in message
> news:OvUuRcmOHHA.992@TK2MSFTNGP06.phx.gbl...
>>I can't get the FileOperation configuration provider to work.
>> I am trying to delete a shortcut:
>>
>> _setup.xml:
>>
>> <wap-provisioningdoc>
>> <characeristic type="FileOperation"> <-------------- should be
>> "characteristic" -------------
>> <characteristic type="%CE2%\Start Menu\Programs" translation="install">
>> <characteristic type="%CE2%\Start Menu\Programs\Pocket MSN.lnk"
>> translation="install">
>> <characteristic type="Delete">
>> <parm name="ForceDelete"/>
>> </characteristic>
>> </characteristic>
>> </characteristic>
>> </characteristic>
>> </wap-provisioningdoc>
>>
>> This is in _setup.xml inside a signed cab, but won't install.. I looked
>> at "Metabase" CSP but not sure what to do with it to make the above
>> possible. Anyone else got a clue?
>>
>> Lisa
>>
>
>



Re: wap-provisioning: FileOperation by Lisa

Lisa
Thu Jan 18 21:36:02 CST 2007

I have another problem now.. I can't write binary data to registry using cab
.inf or provisioning xml:

This is the REGEDIT4 data I wish to convert:

[HKEY_LOCAL_MACHINE\Security\ECall]
"List"=hex(7):\
31,39,31,00,39,31,32,00

I looked all over the internet for examples, and I do it exactely like that,
but every time, the registry key ends up as REG_MULTI_SZ, rather than
REG_BINARY, no matter what I try!

_setup.xml:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Security\ECall">
<parm name="List" value="MTkxADkxMgA=" datatype="binary" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

and I tried:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Security\ECall">
<parm name="List" value=" 3139310039313200" datatype="binary" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

Both will just create a REG_MULTI_SZ key with the value exactely I entered
it above.

I tried it from my .inf file too, but that doesn't create a key at all..
HKLM,Security\ECall, "List", 0x00000001, 31,39,31,00,39,31,32,00

Both cab files are reported to have installed "successfully", but registry
key will either not create any key at all (.inf version) or creates as
REG_MULTI_SZ with base64 or hex string.

Any clue?

Lisa


"Jean Chak [MSFT]" <jeanchak@online.microsoft.com> wrote in message
news:upCHnfoOHHA.2232@TK2MSFTNGP02.phx.gbl...
> There is a typo in your XML below, and the "%CE2%\Start Menu\Programs"
> line should not be there. This works for me:
>
> <wap-provisioningdoc>
> <characteristic type="FileOperation">
> <characteristic type="%CE2%\Start Menu\Programs\Pocket MSN.lnk"
> translation="install">
> <characteristic type="Delete">
> <parm name="ForceDelete"/>
> </characteristic>
> </characteristic>
> </characteristic>
> </wap-provisioningdoc>
>
> ---
> Jean Chak
> Microsoft Corp.
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>
> "Lisa Pearlson" <no@spam.plz> wrote in message
> news:OvUuRcmOHHA.992@TK2MSFTNGP06.phx.gbl...
>>I can't get the FileOperation configuration provider to work.
>> I am trying to delete a shortcut:
>>
>> _setup.xml:
>>
>> <wap-provisioningdoc>
>> <characeristic type="FileOperation"> <-------------- should be
>> "characteristic" -------------
>> <characteristic type="%CE2%\Start Menu\Programs" translation="install">
>> <characteristic type="%CE2%\Start Menu\Programs\Pocket MSN.lnk"
>> translation="install">
>> <characteristic type="Delete">
>> <parm name="ForceDelete"/>
>> </characteristic>
>> </characteristic>
>> </characteristic>
>> </characteristic>
>> </wap-provisioningdoc>
>>
>> This is in _setup.xml inside a signed cab, but won't install.. I looked
>> at "Metabase" CSP but not sure what to do with it to make the above
>> possible. Anyone else got a clue?
>>
>> Lisa
>>
>
>