Stop compile of project based on compiler variable value

Got a problem you cannot solve? Try here.
khalprin
Posts: 48
Joined: Fri Aug 25, 2006 2:02 pm

Stop compile of project based on compiler variable value

Postby khalprin » Wed May 10, 2023 9:58 am

Is there a way to stop the compiling of a project if a compiler variable has an unexpected value? I have an installer project that will build a 32 or 64 bit installer based on a compiler variable value. If the compiler variable contains a value that is not one of the expected values, I'd like to abort the compile.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Stop compile of project based on compiler variable value

Postby FrancescoT » Mon May 22, 2023 9:00 am

You may conditionally use the "Halt Compilation" command.
https://www.installaware.com/mh52/desktop/haltcompile.htm?rhsearch=Halt&rhsyns=%20
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 28 guests