Page 1 of 1

Options on building an installer

Posted: Wed Mar 14, 2012 7:40 am
by houlton
Hi

We have converted a number of old Wise files into InstallAware. When building we used to make Wise ask whether the install file should be client server or local server, and include only the appropriate executables. Is there a way of doing this in InstallAware?

Re: Options on building an installer

Posted: Wed Mar 14, 2012 9:45 am
by FrancescoT
Dear User,

you could use Compiler Variables.
InstallAware offers compiler variables in addition to regular, script variables. Compiler variables may be thought of as IFDEF statements available in traditional programming languages. The Compiler Variable If, Compiler Variable Else, and Compiler Variable End statements allow conditional compilation. In addition, much like constants, compiler variables may be used in the script to represent unchanging values.
Press F1 In InstallAware IDE for more info.

Refer also to "Serial Validation Example" .... this generates two different builds based on a Compiler Variable.

Regards