Creating a .cpf File

Send Feedback

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 Options for Delivering Provisioning XML Files to Windows Mobile-based Devices.

  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 previous versions of Windows Mobile-based software for Pocket PCs, use the following syntax.

    makecab /D COMPRESS=OFF _setup.xml mycpf_Uncompressed.cpf
  3. Optionally, use the Authenticode tools to sign the .cpf file, as described in Signing a Cabinet File During Day-to-Day Development. Depending on security settings, an unsigned .cpf may fail.
  4. Distribute the .cpf file by using one of the delivery methods described in Delivering Applications.

See Also

Cab Provisioning Format (CPF) File | Provisioning for Windows Mobile-based Devices

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.