PDA

View Full Version : Enable Web Installation option



Unregistered
12-02-2013, 04:11 PM
Is there a way to set "Enable Web Installation" option from the command line? I'd like to be able to use one project to build a full standalone install and a full web install. These installs would be created on a build server as part of our build process. Could I somehow use the Releases area to handle this?

linder
12-03-2013, 03:31 AM
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:


#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

Unregistered
12-03-2013, 08:58 AM
Thanks! I was able to make both installs using your steps.

linder
12-03-2013, 09:15 AM
Perfect! Thank you for the update.

Friedrich