Hello,
One option to handle it is via "Releases".
1. Create a new compiler variable (e.g. [DISABLE_WEBINSTALL]) and set the variable value to 0.
2. Enable the Web Installation option.
3. Create a "Release" (e.g. DisableWebInstall) and in the Compiler Variables Releases Properties, set [DISABLE_WEBINSTALL] to 1.
4. In the Script Editor, add the following:
Code:
#ifcompvar [DISABLE_WEBINSTALL] Equals "1" Then
#pragma DISABLEWEBINSTALL = "1"
#end
Compiled via the "DisableWebInstall" Release, it will compile a single-file install image. Otherwise, a Web Install image.
Does this help?
Friedrich