Compiler Variable statements completely ignored
Posted: Fri May 12, 2006 12:54 pm
Hi,
I am a new user of InstallAware Studio (Version 5.31, Build elephant_sp3.060326).
For some reason compiler variable statements in my script seem to be completely ignored. Example:
I have defined a compiler variable in Project options called TESTCV, with a default value of 1.
My script:
[compiler if Variable TESTCV Equals 1]
MessageBox: Compiler TESTCV equals 1,
[compiler else]
MessageBox: Compiler TESTCV NOT equals 1,
[compiler end]
When I run the script BOTH message boxes are displayed, why? Can someone tell me what is going on? How do I get Compiler variables to work?
thanks,
Paul G
I am a new user of InstallAware Studio (Version 5.31, Build elephant_sp3.060326).
For some reason compiler variable statements in my script seem to be completely ignored. Example:
I have defined a compiler variable in Project options called TESTCV, with a default value of 1.
My script:
[compiler if Variable TESTCV Equals 1]
MessageBox: Compiler TESTCV equals 1,
[compiler else]
MessageBox: Compiler TESTCV NOT equals 1,
[compiler end]
When I run the script BOTH message boxes are displayed, why? Can someone tell me what is going on? How do I get Compiler variables to work?
thanks,
Paul G