Installer Command Line Switches

The setup program supports a wide range of command line switches. These switches can be used to run the installation without user interaction or as a completely silent installation.

When the setup is run in silent mode then you need a way to specify the selections, you want to make. This is controlled through a range of command line switches supported by the installer.

Switch Description.
/SP- Disables the startup prompt.
/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. If a restart is necessary and the ‘/NORESTART’ command isn’t used (see below) and Setup is silent, it will display a Reboot now? message box. If it’s very silent it will reboot without asking.
/SUPPRESSMSGBOXES Instructs Setup to suppress message boxes. Only has an effect when combined with ‘/SILENT’ and ‘/VERYSILENT’.
/NOCANCEL Prevents the user from canceling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with ‘/SILENT’ or ‘/VERYSILENT’.
/NORESTART Instructs Setup not to reboot even if it’s necessary.
/RESTARTEXITCODE=exit code Specifies the custom exit code that Setup is to return when a restart is needed. Useful along with ‘/NORESTART’. Also see Setup Exit Codes.
/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.
/NOICONS No icons are installed in the start menu, on the desktop, and in the Quick Launch bar.
/LOG=filename The setup program writes a log to the specified file name. If the file exists, it will be overwritten.
/COMPONENTS=”comma separated list of component names Using this command line parameter causes setup to automatically select a list of a components.
Only the specified components will be selected; the rest will be deselected.
If a component name is prefixed with a “*” character, any child components will be selected as well. If a component name is prefixed with a “!” character, the component will be deselected.Available components are:

  • development
  • development\converter
  • development\designer
  • development\server
  • development\client
  • deployment
  • deployment\server
  • deployment\client

Examples

Install the client add-in

setup.exe /COMPONENTS=”deployment\client” /VERYSILENT /NORESTART /SUPPRESSMESSAGEBOXES