Navigation:  Actions > Installers >

Setup Factory / MSI Factory Action

Previous pageReturn to chapter overviewNext page

This action creates a step to compile an Indigo Rose Setup Factory, MSI Factory, or Setup Factory for Windows Installer project file.  From the inputs, the Setup Factory command-line is constructed and called when the action is built, and any log output is captured to the log view and file.

 

This action has been tested with Setup Factory versions 7 thru 9, MSI Factory version 2, and Setup Factory for Windows Installer version 1 and may also work with other versions.

 

Project filename: Specifies the Setup Factory project file to compile (required).

 

Build configuration: Specifies the build configuration to use in the build (optional). If not specified, the first build configuration found in the project is used.  Does not apply for Setup Factory for Windows Installer.

 

INI file with design-time constants: Lets you specify an INI file that contains design-time constants to override the ones in the project. 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. Each constant that is defined in the INI file must already be defined in the project file. For example:

 

[Constants]

#OUTPUTDIR#=C:\Output\Foobar 2002\Release

#SETUPNAME#=foobar2002setup.exe

#BUILD#=release

 

Additional command-line options: This option can be used to specify additional flags to pass to the Setup Factory compiler.  See Command line in the Setup Factory help index for the available options.

 

Override compiler executable filename: If this field is empty, the action automatically locates the Setup Factory command-line executable by finding the executable associated with the Setup Factory project filename extension.  This can be overridden by specifying the executable filename here.

 

Note: If Visual Build doesn't detect that this product is installed when first run, this action will not be displayed (existing steps will still be displayed in the Step panes and will build normally).  To show all hidden actions, right-click in the Actions pane and choose Show Hidden.