PDA

View Full Version : How.where to set the installer flag?



NewsArchive
03-06-2016, 12:27 PM
I need my installer to reboot after completion, with a message to the user.

How does one set the installer flag ($SB_RESTARTFLAG$)? I see the dialog in
the Help, but how do I get there?

Alternatively, if I use the script, where do I insert the Reboot/Resume
script function.

Sim

NewsArchive
03-06-2016, 12:27 PM
Sim,

> I need my installer to reboot after completion, with a message to the
> user.
>
> How does one set the installer flag ($SB_RESTARTFLAG$)? I see the dialog
> in the Help, but how do I get there?

See attached screenshots from SetupBuilder 10.

> Alternatively, if I use the script, where do I insert the Reboot/Resume
> script function.

Wherever you need the reboot in your script.

Friedrich

NewsArchive
03-07-2016, 04:18 AM
Where do I set INSTALLERFLAG and RESTARTFLAG?

Sim

NewsArchive
03-07-2016, 04:18 AM
Sim,

>
> Where do I set INSTALLERFLAG and RESTARTFLAG?
>

Wherever you want. To avoid a reboot message (even if your install needs a
reboot) you have to set it at the end of the script. If you would like to
programmatically trigger a reboot after the installation process (even if
you did NOT replace a locked file and a reboot is not strictly required)
then you can do it at the beginning of the script, in the middle, wherever
you want.

Friedrich