Xml Provisioning; Creating An Xml Provisioning File - Motorola MC67 Integrator Manual

Hide thumbs Also See for MC67:
Table of Contents

Advertisement

5 - 6
MC67 Integrator Guide
Copy all the update loader package files to the root directory of a microSD card.
1.
Install the microSD card into the MC67. See
2.
instructions.
Connect the MC67 to AC power. See
3.
Perform a cold boot.
4.
Immediately, as soon as the device starts to boot and before the splash screen is visible, press and hold
5.
the left scan button.
The Update Loader application looks for the update loader file in the root directory of the microSD card.
6.
When it finds the file, it loads the update loader package onto the MC67. A progress bar displays until the
update completes.
The MC67 re-boots.
7.
The calibration screen appears.
8.

XML Provisioning

To configure the settings on an MC67, use XML provisioning. To install an XML provisioning file on the MC67,
create a Cabinet Provisioning File (CPF). A CPF file is similar to a CAB file and contains just one file:
_setup.xml. Like a CAB file, the CPF extension is associated with WCELoad.EXE. Opening a CPF extracts the
XML code and uses it to provision and configure the MC67. The user receives an e-mail notification indicating
success or failure.
XML provisioning provides the ability to configure various features of the MC67 (i.e., registry and file system).
However, some settings require security privileges. To change registry settings via a CPF file, you must have
certain privileges (roles). Some registry keys require you to simply be an Authenticated User, while other
registry keys require you to be a Manager. Refer to the Microsoft Windows Mobile 6 Help file, Metabase
Settings for Registry Configuration Service Provider section, for the default role settings in Windows Mobile 6.
For those registry settings that require the Manager role, the CPF file must be signed with a privileged
certificate installed on the device. Refer to the Microsoft Windows Mobile 6 Help file and the Windows Mobile 6
SDK for instructions and sample test certificates.

Creating an XML Provisioning File

To create a .cpf file:
Create a valid provisioning XML file named _setup.xml using an XML editor or the tools supplied with
1.
Visual Studio 2005. (For example, use the SampleReg.xml sample created in the
section and rename it _setup.xml.) Ensure the file contains the required parameters for the operation.
Refer to the Microsoft Windows Mobile 6 Help file for information.
In the Windows Mobile 6 tools directory on the desktop computer (typically \Program Files\Windows CE
2.
Tools\wce500\Windows Mobile 6 Pocket PC SDK\Tools), run the Makecab.exe utility, using the following
syntax to create a .cpf file from the _setup.xml file:
MakeCab.exe /D COMPRESS=OFF _setup.xml myOutCpf
C
OMPRESS=OFF is required for backward compatibility with Pocket PC.
NOTE
Optionally, use the Authenticode tools to sign the .cpf file.
3.
Installing a microSD Card on page 1-2
Chapter 2,
Accessories.
for installation
RegMerge on page 5-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents