CAB Wizard Syntax

After you create the .inf file, use the CAB Wizard to create the .cab file. The following example shows the command-line syntax for the CAB Wizard.

cabwiz.exe "inf_file" [/dest dest_dir] [/err err_file]
[/cpu platform_label [platform_label]] 

Parameters

  • inf_file
    This is the full path and filename to the CAB Wizard Setup .inf file.
  • dest_dir
    This is the destination directory for the .cab files. The default destination is the inf_file directory.
  • err_file
    This is the file name for a log file containing 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 CAB Wizard runs without the user interface (UI); this is useful for automated builds.
  • platform_label
    Creates a .cab file for each platform label that you specify. A platform label is a label that is used in the Win32 setup .inf file to differentiate between different platform and processor types. The /cpu parameter, followed by multiple platform_label values, must be the last qualifier in the command line.

The following code example creates .cab files for the SH3 and MIPS microprocessors, assuming that the setup .inf file contains the SH3 and MIPS platform labels.

cabwiz.exe  "c:\myfile.inf"  /err myfile.err  /cpu  sh3  mips

See Also

Creating an .inf File | CAB Wizard Overview

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.