Is there a way to define a condition for the script that allows only certain script commands to be executed. Similar to how compiler defines work?
I'd like to have TRIAL and RELEASE versions of my build script but maintaining two separate scripts for this is not a desired outcome.
Currently using InstallAware 2005SE.
Build conditions in scripts
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Easily done using compiler variables: Project | Options | Project | Compiler Variables.
You could define a variable called EDITION then branch in the setup script at compile time using Compiler Variable If/Else/End commands, testing for EDITION's equality to TRIAL, RELEASE, etc.
You may set compiler variables from the command line as well using the form VAR=VALUE when using miabuild.exe.
You could define a variable called EDITION then branch in the setup script at compile time using Compiler Variable If/Else/End commands, testing for EDITION's equality to TRIAL, RELEASE, etc.
You may set compiler variables from the command line as well using the form VAR=VALUE when using miabuild.exe.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 143 guests