Preprocessor: Set Compiler Variable Value
Enter the following command line statement into a batch file or any other program that has the ability to run command line statements, such as Scheduled Tasks in the Control Panel to read the constant value from the compiler command line:
SB7.EXE /C "C:\Development\Sample.sb7" /CV MYCOMPILERVAR "1"
where:
SB7.EXE is the path to the SetupBuilder 7 executable
/C is the compiler switch
"C:\Development\Sample.sb7" is the path to the project file you want to compile
/CV is the switch to read the compiler variable value from the compiler command line
MYCOMPILERVAR is the name of the compiler variable to define
"1" is the new value of the compiler variable