Share via


CABWizSP (SP Only)

CABWizSP is used to create .cab files for Smartphone applications.

Note   CABWiz is the utility used to create .cab files for Pocket PC applications.

CABWizSP is a command-line utility that takes an instruction file as a parameter and builds .cab files that contain program files and setup instructions. The syntax for CABWizSP is as follows:

cabwizsp.exe "inf_file" [/dest dest_directory] [/err error_file]
[/cpu cpu_type [cpu_type]] [/platform platform_label [platform_label]] [/prexml xml_file] [/postxml xml_file] [/nouninstall]

The following is an example command line argument for a [platform.MS.PocketPC] section in a .inf file:

cabwizsp test.inf /cpu SA1100 X86 /platform MS.PocketPC

Parameters

  • inf_file
    Full path and file name to the CabwizSP Setup .inf file.

    Note   This file must be UTF-8 encoded if it contains extended characters.

  • dest_directory
    Destination directory for the .cab files. If no directory is specified, the .cab files are created in the .inf_file directory.

  • error_file
    File name for a log file that contains all warnings and errors that are encountered when the .cab files are compiled. If no file name is specified, errors are displayed in message boxes. If a file name is used, the CABWizSP application runs without the user interface (UI); this is useful for automated builds.

  • cpu_type
    Creates a .cab file for each cpu type that is specified. A cpu type is used in the Win32 Setup .inf file to differentiate between processor types. For more information, see the Processor Type Reference (SP Only).

  • platform_label
    Creates a .cab file for each platform label that is specified. A platform label is used in the Win32 Setup .inf file to differentiate between different platform and processor types.

  • /prexml
    Full path and file name to a valid XML file that contains Smartphone provisioning XML that is read by Configuration Manager. This /prexml file is added to the .cab _setup.xml file before the instructions in the .inf file.

  • /postxml
    Full path and file name to a valid XML file that contains Smartphone provisioning XML that is read by Configuration Manager. This postxml file is added to the .cab file _setup.xml file after the instructions in the .inf file.

Remarks

For information about the optional parameters see Setup XML in .cab and .cpf Files and /prexml and /postxml.

After successfully running CABWizSP, you will have an unsigned .cab file. For information about .cab signing, see .cab Signing (SP Only).

When CABWIZSP creates a .cab file, it includes a setup file, _setup.xml, that holds XML instructions for the installer on how installation should proceed. Pocket PC and Smartphone can use the _setup.xml files to provide configuration instructions (XML instructions) for .cpf files.

See Also

Application Signing Using eMbedded Visual C++ (SP Only) | Creating Setup .cab Files with CabWizSp (SP Only) | .cab Files

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.