Navigation:  Program Reference > Building the Setup >

Command Line Build

Previous pageReturn to chapter overviewNext page

You can build your VisualSetup project using the command line. The command line syntax for building setup programs is:

 

 

SetupMgr.exe /build project_file [-silent] [-detailed] [-notdetailed] [-replacesigned] [-type build_type] [-mode build_mode] [-outputdir output_directory] [-output output_file]

 

 

project_file

The VisualSetup project you want to build.

-silent

Use this option if you don't want VisualSetup to show message boxes for the errors.

-detailed

Use this option if you want VisualSetup to show detailed messages during setup building.

-notdetailed

Use this option if you don't want VisualSetup to show detailed messages during setup building.

-replacesigned

Use this option if you want to replace all signed files without being asked for it.

-type build_type

Use this option if you want to use a customized build type, instead of using the last one used with the project file. The available build types are:

 

normal

generates a normal setup program

web

generates a web setup program

mobile

generates only the Windows Mobile setup packages

-mode build_mode

Use this option if you want to use a customized build mode, instead of using the last one used with the project file. The available build modes are:

 

prototype

generates using the Prototype build mode

release

generates using the Release build mode

trustedrelease1

generates using the Trusted Release - Step 1 build mode

trustedrelease2

generates using the Trusted Release - Step 2 build mode

trustedrelease3

generates using the Trusted Release - Step 3 build mode

-outputdir output_directory

Use this option if you want to use a customized output directory, instead of using the one defined in the project file.

-output output_file

Use this option to save the compiler messages to an output file.