Partager via


How To Create a .cpf File

4/8/2010

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. It is a provisioning file that is wrapped in a .cab file and that can be signed with a certificate. This XML file is constructed in the same manner as other provisioning XML files.

Step Topic

1. 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.

Options for Delivering Provisioning XML Files

2. To create a .cpf file from the _setup.xml file, run the Makecab.exe utility, using the following syntax.

makecab.exe _setup.xml myFile.cpf

- or -

To create an uncompressed .cpf file that is compatible with Pocket PC for Windows Mobile Version 5.0 or earlier, use the following syntax.

makecab /D COMPRESS=OFF _setup.xml mycpf_Uncompressed.cpf

Utilize the instructions under step 2.

3. Optionally, use the Authenticode tools to sign the .cpf file. Depending on security settings, an unsigned .cpf may fail.

For more information, see Signing a Cabinet File During Day-to-Day Development.

.cab File Signing Requirements

4. Distribute the .cpf file by using one of the delivery methods described in Delivering Applications.

Delivering Applications

See Also

Concepts

Cab Provisioning Format (CPF) File

Other Resources