XML provisioning allows you to download a custom-designed XML file to a device in a provisioning product. After the file is downloaded, it runs an install command to extract the settings from the XML file and install them on the device.
Procedure
- Navigate to Add Files/Actions. and select
- Select your platform.
- Enter the required settings on the General tab, then select the Files tab and upload the desired XML file and enter the destination path on the device.
- Select the Manifest tab and Add an Install Action for the XML file.
- Select Save.
- Navigate to Add Product. , and select
- Select your platform.
- Enter the General information.
- Select the Manifest tab.
- Select Install Files/Actions and select the files and actions just created.
- Save and Activate the product.
Results
Example
The following is a sample of an XML file which updates a registry setting that can be installed on a device through product provisioning.
XML Provisioning is for Windows Mobile devices only and not Windows CE devices.<?xml version="1.0"?> <wap-provisioningdoc name="desiredDocName /V_1"> <characteristic type="com.windowspc.getregistryinfo.managed"> <reg_value value_name="KeyName" <!–- (i.e. CommonFilesDir) -- key_name="RegistryPath" <!-- (i.e.Software\Wow6432Node\Microsoft\Windows\CurrentVersion) -- custom_attribute_name="AttributeName"/> <reg_value value_name="Keyname ..." key_name="Path\...." custom_attribute_name="AttributeName2"/> </characteristic> </wap-provisioningdoc>
<?xml version="1.0"?> <wap-provisioningdoc> <characteristic type="com.airwatch.getregistryinfo.winpc"> <reg_value value_name="KeyName" <!–- (i.e. CommonFilesDir) -- key_name="RegistryPath" <!–- (i.e. Software\Wow6432Node\Microsoft\Windows\CurrentVersion)" -- custom_attribute_name="AttributeName"/> <reg_value value_name="Keyname ..." key_name="Path\...." custom_attribute_name="AttributeName2"/> </characteristic> </wap-provisioningdoc>
<?xml version="1.0"?> <attributes> <attribute name="attribute 1" value="value 1"/> <attribute name="attribute 2" value="value 2"/> <attribute name="attribute 3" value="value 3"/> </attributes>