PDA

View Full Version : if setup type



NewsArchive
08-11-2009, 02:14 AM
Hello Friedrich,

i need some script entries for different setup types.

i.e.

if setup type custom1
...
else
...
end

How can i write an if-then-else statement for setup types.

Thanks much

Kai

NewsArchive
08-11-2009, 02:15 AM
Hello Friedrich,

found: need to use features ;-)

Best regards

Kai

NewsArchive
08-11-2009, 02:16 AM
Hi Kai,

> i need some script entries for different setup types.
>
> i.e.
>
> if setup type custom1
> ...
> else
> ...
> end
>
> How can i write an if-then-else statement for setup types.

See attached screenshot. The variable %_SB_SETUPTYPEID% holds the selected
Setup Type ID.

Friedrich

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

SetupBuilder is installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
08-11-2009, 02:17 AM
Kai,

Setup types rely on Features. They are like groups of Features.

So first set up your various Features. Then decide which Features are part
of each Setup Type.

Features will automatically give you additional folder structures in the
Files and Folders visualizer.

You can also use the "If Feature" script function.

There are two simple scripts in the example files - "Features 1.sb7" and
"Features 2.sb7" (also in the SB6 examples).

Jane

NewsArchive
08-11-2009, 02:17 AM
Thanks you and Friedrich,

up and running :-)

Kai