Optional command-line settings
The following table shows the optional settings available for the msiexec.exe MSI installer. Type the optional settings on the command line after msiexec.exe with a space between each setting.
NOTE: See
support.microsoft.com for details about all the command-line switches for the Windows Installer Tools.
|
| Setting | Result |
|---|---|
| /i <Package|Product Code> | This command installs or configures a product. /i SysMgmtx64.msi – Installs the Server Administrator software. |
| /i <SysMgmt or SysMgmtx64>.msi /qn | This command carries out a fresh installation. |
| /x <Package|Product Code> | This command uninstalls a product. /x SysMgmtx64.msi – Uninstalls the Server Administrator software. For the product GUID, see Unattended Uninstall Using The Product GUID. |
| /q[n|b|r|f] | This command sets the user interface (UI) level.
|
| /f[p|o|e|d|c|a|u |m|s|v]<Package| ProductCode> | This command repairs a product.
|
| INSTALLDIR=<path> | This command installs a product in a specific location. When you specify an install directory with this switch, it must be created manually before running the CLI install commands or they fail without displaying an error message. / i SysMgmtx64.msi INSTALLDIR=c:\OpenManage /qn – installs a product to a specific location where c:\OpenManage is the install location. |
| CP_MESSAGE_FORMAT=<enhanced | traditional> | This command sets the alert message type to Enhanced Message Format (recommended) or Traditional Message Format. |
For example, running msiexec.exe /i SysMgmtx64.msi /qn installs Server Administrator features on each remote system that is based on the hardware configuration of the system. This installation is done silently and unattended.