Detect a silent or test run?
Is the scripting language in SetupBuilder 5 powerful enough to detect a silent or test mode run and then act accordingly? For example, I would like display a "Installer cannot be run in silent mode" (and then exit) if the user tries to execute the installer in silent mode.
Regards,
Torben
Re: Detect a silent or test run?
Torben,
Yes, SetupScript gives you access to internal installer flags. The following is possible:
If %_SB_INSTALLERFLAG% Equals "1" on Position $SB_SILENTMODEFLAG$ Then
Display Message Box "YaddaYadda"
Exit Installation
End If
HTH,