Archive: command line installer / uninstaller flags


command line installer / uninstaller flags
how would i go about making a '-s' option for the installer and uninstaller that would put the install/uninstall in silent mode?


/S is available for all (un)installers. It puts the (un)installer into silent mode.

Please correct me if I did not understand your thread.

-Hendri.


well, i need to have an installer that has a prompted install (would you like THIS or THAT?), but also an option to be silent and accept defaults. is this possible?


SilentInstall cannot be conditioned. You can make it as silent as possible by not showing messages and skipping pages and installing in a default dir, but you will still have a main window. When you need to ask first if it may be silent, then you can never get it as silent as with "SilentInstall silent".

Or maybe use an external installer that can be called with the parameter /S. The main script would then only be the question whether or not a silent install. Remember that this will add around 21 Kb since you will have an additional exehead (compressed).

-Hendri.