Build Settings

Run Before Build

Run program:

The fully qualified name of a file to execute before the build process begins. In other words, this is the complete drive, directory and filename of a program to run before the update files are generated. You can click the Browse button to select the file you want to run.

Command line arguments:

Any command line arguments that should be passed to the program named in the Run program field.

Wait for program to finish running

Make TrueUpdate wait until after the program has finished running before it continues. If not checked, TrueUpdate will simply start the program and continue with the build process.

Tip: You can have the program run in the Run Before Build settings create an INI file of build constants that will be applied to the build. The INI file must have the same path and filename as the project file, but with the .ini file extension.  So, for example, if the project being built is "C:\Projects\MyProject.tu2" then the INI file must be called "C:\Projects\MyProject.ini". The INI file should have a section called "Constants" where the build constant name equals the value.  For example:

[Constants]
#MYVALUE#=This is my value.
#CUSTOMERNAME#=Bob

Note that this INI file will only be used if there was a pre-build program run.

Run After Build

Run program:

The fully qualified name of a file to execute after the build process finishes. In other words, this is the complete drive, directory and filename of a program to run after the update files are generated. You can click the Browse button to select the file you want to run.

Command line arguments:

Any command line arguments that should be passed to the program named in the Run program field.

Wait for program to finish running

Make TrueUpdate wait until after the program has finished running before it continues. If not checked, TrueUpdate will simply start the program and continue without waiting.