Silent Installations / Installer Command Line Options
Command Line Options
Our installer accepts a number of command line options that can be used to generate silent installations and can
automate other installation tasks.
- /SILENT, /VERYSILENT
Instructs Setup to be silent or very silent. When Setup is silent the wizard and the
background window are not displayed but the installation progress window is. When a setup is very silent this installation
progress window is not displayed.
- /SUPPRESSMSGBOXES
Instructs Setup to suppress message boxes. Only has an effect when combined with '/SILENT'
or '/VERYSILENT'. The default response in situations where there's a choice is:
-Yes in a 'Keep newer file?' situation.
-No in a 'File exists, confirm overwrite.' situation.
-Abort in Abort/Retry situations.
-Cancel in Retry/Cancel situations.
-Yes (=continue) in DiskSpaceWarning, DirExists, DirDoesntExist, NoUninstallWarning, ExitSetupMessage, ConfirmUninstall situations.
3 message boxes are not suppressible:
-The About Setup message box.
-The Exit Setup? message box.
-Any (error) message box displayed before Setup (or Uninstall) could read the command line parameters.
- /NOCANCEL
Prevents the user from cancelling during the installation process, by disabling the Cancel button and
ignoring clicks on the close button. Useful along with '/SILENT' or '/VERYSILENT'.
- /LOADINF="filename"
Instructs Setup to load the settings from the specified file after having checked
the command line. This file can be prepared using the '/SAVEINF=' command as explained below. Don't forget to use quotes if
the filename contains spaces.
- /SAVEINF="filename"
Instructs Setup to save installation settings to the specified file. Don't forget to use
quotes if the filename contains spaces.
- /DIR="x:\dirname"
Overrides the default directory name displayed on the Select Destination Location wizard
page. A fully qualified pathname must be specified.
- /GROUP="folder name"
Overrides the default folder name displayed on the Select Start Menu Folder wizard page.
If the [Setup] section directive DisableProgramGroupPage was set to yes, this command line parameter is ignored.
- /NOICONS
Instructs Setup to initially check the Don't create any icons check box on the Select Start Menu
Folder wizard page.