Am I overlooking a way to use Boolean logic in MSI scripts?
I would like to be able to write
if Variable setup_one Equals TRUE or Variable setup_two EQUALS TRUE
but compounding conditional expressions with 'or' or 'and' does not seem to be possible.
As a result, I am ending up with slightly long-winded MSI code.
If I've overlooked a way to do this, please let me know.
Boolean logic
Re: Boolean logic
Dear Nick,
Please take a look at the InstallAware Eval command - its exactly what you are looking for!
Please take a look at the InstallAware Eval command - its exactly what you are looking for!
Code: Select all
Eval RESULT = $setup_one$="TRUE" or $setup_two$="TRUE"
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Boolean logic
Thank you Aviv, that's what I need.
Nick
Nick
Re: Boolean logic
You're welcome!
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

