
Design Environment (Build) Options

NOTE
 The project file name should always be passed as the FIRST command line
 parameter.

The following command line options are supported by the Setup Factory design
environment:

/B Unattended Build
 Performs an unattended build of a project. This allows you to build a setup
 executable "automatically" from a batch file.

 The syntax for the /B option is:
    /B:unattended-build INI file

 Replace "unattended build INI file" with the path and filename of an INI
 file containing the unattended build settings you want Setup Factory to
 use. (Be sure to put quotes around the entire argument if the path or
 filename includes any spaces.)

 Example:
    SUF60Design.exe D:\foo.sf6 "/B:D:\release build.ini"

 The unattended-build INI file allows you to pass values into your project
 in the form of design-time constants. You can define as many design-time
 constants as you want in the INI file, with each constant on a separate line
 beneath the [Constants] section. For example:

    [Constants]
    #OUTPUTDIR#=C:\Output\Foobar 2002\Release
    #SETUPNAME#=foobar2002setup.exe
    #BUILD#=release

 When you use the /B option, the specified project file is loaded into Setup
 Factory, the constants described in the specified unattended-build INI file
 are set, and the setup executable is generated-all without any interaction.

 The SUF60Design.exe process returns an exit code of 1 if an error occurred
 during the unattended build, or 0 if the build was successful. You can use
 this return code to make your batch files respond to the success or failure
 of the Setup Factory build process.

TIP
 The unattended build option is usually used in conjunction with the
 Minimize (/M) option.


/M Minimize
 Minimizes the Setup Factory design environment when used with the unattended
 build (/B) option.

 Example:
    SUF60Design.exe C:\xyz.sf6 /B:D:\autobuild.ini /M

