PDA

View Full Version : How to do silent installation using command switch



testuser
09-24-2020, 02:49 AM
Hello,

Currently I have SBP for my setup exe and I want to keep silent installation optional, so if user gives \silent command switch while installation then installation should be carried out as silent installation otherwise it should happen like normal installation. is it supported by default? or do we have to handle this manually in script, like first check for command line and see if \silent is there if it is then do silent installation or do normal installation?. If I have to do this manually then how can I set/unset silent installer flag?


Thanks!!

linder
09-24-2020, 04:39 AM
Hello,

the /S switch handles it automatically for you.

Of course, you can check for the silent switch.

If %_SB_INSTALLERFLAG% Equals "$SB_SILENTMODEFLAG$" Then

Does this help?

Friedrich

testuser
09-24-2020, 04:50 AM
Yes it help,

Thanks Friedrich!!!