Build - Actions

The Build - Actions dialog box is one of the pages that appears when you click Advanced... on the Package attributes pane. It allows you to specify external actions that are performed during each project build.

External build actions

External build actions are specified as command lines, much as you would enter commands in a command prompt window. At build time, InstallMate writes the build action commands to a temporary batch file, starts a command processor to execute the batch file, waits until the command processor has finished executing the batch file, then resumes the build process.

Some hints and tips:

Local and global actions

The Build - Actions dialog box contains two sets of build actions: local and global.

The order in which build actions are performed during a project build is as follows:

Global: Before any configuration
    Config 1: a. Before preflight
              b. (preflight check)
              c. Before each build
              d. (target build)
              e. After each build
              ...repeat a-e for each target of this configuration...
    Config 2: a. Before preflight
              b. (preflight check)
              c. Before each build
              d. (target build)
              e. After each build
              ...repeat a-e for each target of this configuration...
    ...repeat per-configuration actions for any further configurations...
Global: After all configurations

Dialog fields and options

All actions should be entered as command lines, similar to the command lines that you would use in a command prompt window. See External build actions above for details.

Attribute Description
Before each preflight check (Local action) Enter the actions that you want performed before each preflight check of this configuration.
Before each build (Local action) Enter the actions that you want performed before each target build of this configuration.
After each successful build (Local action) Enter the actions that you want performed after each successful target build of this configuration.
Before any configuration is checked or built (Global action) Enter the actions that you want performed at the very start of the build process.
After all configurations are checked or built (Global action) Enter the actions that you want performed at the very end of the build process.