PDA

View Full Version : Include script parameters



NewsArchive
05-21-2013, 03:10 AM
Hi Friedrich,

I got curious about this option for the #include statement. The help says:

"[in] If an Include Script is configurable, the Include Script dialog has an
enabled variable/value list. To change configuration values, select the
variable name of the item to configure and click details (or double click
the item). "

I cannot find any way to configure an include script, i.e. make it
configurable. The list box on the #include dialog is always disabled. I
don't find anything in the help about it. What's the trick master?

Also the help says about the "Script" entry: "You cannot use a compiler
variable in this field. " This is not correct as I'm using a compiler
variable to point the installs to the correct folder:)

Best regards,

--
Arnor Baldvinsson - Icetips Alta LLC
Port Angeles, WA

NewsArchive
05-21-2013, 03:11 AM
Hi Arnór,

As an example, see one of the Core PreRequisite include scripts.

The trick is to enable the "Include Script Compiler Variable Configuration"
option in the compiler variable (in the .sbi).

Friedrich

NewsArchive
05-21-2013, 03:11 AM
> Also the help says about the "Script" entry: "You cannot use a
> compiler variable in this field. " This is not correct as I'm
> using a compiler variable to point the installs to the correct
> folder:)

You are right! The "You cannot use a compiler variable in this field."
statement in the V8 documentation is outdated. We already changed this in
"SetupBuilder 7.0 (Release Candidate) Build 2639 (June 27, 2009)".

---
IMPROVEMENT: The "#include script..." compiler directive supports compiler
variables now.
---

Fixed in the documentation now. Thanks for bringing this to my attention.

Friedrich

NewsArchive
05-21-2013, 12:20 PM
Hi Friedrich,

> As an example, see one of the Core PreRequisite include scripts.
>
> The trick is to enable the "Include Script Compiler Variable Configuration"
> option in the compiler variable (in the .sbi).

Aha! Perhaps this should be mentioned and referenced in the help for the
#include statement:) I couldn't find it anywhere.

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php