Creating a .cpf File
A CAB Provisioning Format (.cpf) file is a .cab archive that contains only the _setup.xml file, which contains the provisioning XML to address Configuration Manager. This XML file is constructed in the same manner as other provisioning XML files.
To create a .cpf file
Create a valid provisioning XML file named _setup.xml. This file should contain the XML that addresses the Configuration Manager and its associated Configuration Service Providers.
For information about creating a provisioning XML file, see Provisioning Files and Provisioning XML File Examples.
To create a .cab file, use the makecab utility that is included with the Smartphone SDK and the Pocket PC SDK. .
The command line will be similar to the following:
// For Smartphone makecab _setup.xml myprovxml.cab // For Pocket PC makecab /D COMPRESS=OFF _setup.xml name.cpf
Note Pocket PC does not support compressed .cpf files.
Optionally, use the Authenticode tools to sign the .cab file.
Rename the resulting <myfile>.cab file to <myfile>.cpf, where <myfile> is the name of the file.
Distribute the .cpf file by using one of the delivery methods described in Application Delivery.
See Also
.cpf Files | Security Policies and Roles
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.