Provisioning XML Document for Uninstall Configuration Service Provider (Compact 7)
3/12/2014
Configuration Manager uses this XML document to uninstall applications from a Windows Embedded Compact powered device.
Syntax
<wap-provisioningdoc>
<characteristic type="UnInstall">
<characteristic type="<Application>">
<parm name="uninstall" value="1" />
<parm-query name="<ParmName>" />
</characteristic>
<characteristic-query type="<Application>" />
</characteristic>
</wap-provisioningdoc>
Elements
Element name | Description | Attributes |
---|---|---|
characteristic |
Groups settings for a configuration service provider. |
Value Description
UninstallIndicates the root characteristic element for the Uninstall configuration service provider.
<Application_to_uninstall>Name of the application to uninstall.
|
parm |
Metadata that describes a device setting. |
|
characteristic-query |
Use this element to query the setting values specified by the characteristic in the type attribute. |
|
parm-query |
Specifies a request for the current value of a setting. |
|
Remarks
A provisioning document that uninstalls an application must contain XML for only the Uninstall configuration service provider.
To uninstall an application from the device, you can write a provisioning XML file that you customize for the Uninstall configuration service provider. However, the Uninstall configuration service provider supports only a subset of elements and its own attribute values for the characteristic and parm elements.
For more information about elements, see Provisioning XML Document.
Example
The following code example uninstalls an application named "Application 2."
Important
For readability, the following code example does not contain security checking or error handling. Do not use the following code in a production environment.
<wap-provisioningdoc>
<characteristic type="UnInstall">
<characteristic type="Application 2">
<parm name="uninstall" value="1" />
</characteristic>
</characteristic>
</wap-provisioningdoc>