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

  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.

    For information about creating a provisioning XML file, see Provisioning Files and Provisioning XML File Examples.

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

  3. Optionally, use the Authenticode tools to sign the .cab file.

  4. Rename the resulting <myfile>.cab file to <myfile>.cpf, where <myfile> is the name of the file.

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