View Full Version : Detect a silent or test run?
Unregistered
06-06-2004, 04:55 AM
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
linder
06-06-2004, 07:46 AM
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,
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.