Geoff,

> 4. Failing the possibility of Q3, is there a way to conditionally include
> a script (based on a passed parameter)? I guess I could work around this,
> but conditional inclusion would be simpler. Also related to this - is
> there a way of including a script that contains a Compiler variable - e.g.
> [PRODUCTNAME]script.sbi?

Just checked the [PRODUCTNAME]script.sbi idea.

Unfortunately, this is not possible because compiler variables are resolved
at compile time. The IDE displays all included script in the script editor
and the compiler variable cannot be resolved.

But what you can do is (using #def and #ifdef):

#ifdef CONDITION Equals "A" Then
#include ProductA_script.sbi
End

#ifdef CONDITION Equals "B" Then
#include ProductB_script.sbi
End

etc.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5