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.
Table 1. Command Line
Settings for MSI InstallerThis table lists the command line
settings for MSI installer
Setting
Result
/i <Package|Product Code>
This command installs or configures a product.
/i SysMgmtx64.msi – Installs the Server Administrator software.
/q or /qn – no UI. This option is used for silent and unattended
installation.
/qb – basic UI. This option is used for
unattended but not silent installation.
/qr – reduced
UI. This option is used for unattended installation while displaying
a modal dialog box showing install progress.
/qf – full
UI. This option is used for standard attended installation.
/f[p|o|e|d|c|a|u |m|s|v]<Package| ProductCode>
This command repairs a product.
/fp – This option
reinstalls a product if a file is missing.
/fo – This
option reinstalls a product if a file is missing or if an older version
of a file is installed.
/fe – This option reinstalls
a product if a file is missing or an equal or older version of a file
is installed.
/fd – This option reinstalls a product
if a file is missing or a different version of a file is installed.
/fc – This option reinstalls a product if a file is missing
or the stored checksum value does not match the calculated value.
/fa – This option forces all files to be reinstalled.
/fu – This option rewrites all required user-specific registry
entries.
/fm – This option rewrites all required system-specific
registry entries.
/fs – This option overwrites all existing
shortcuts.
/fv – This option runs from the source and
re-caches the local package. Do not use this reinstall option for
the first installation of an application or feature.
INSTALLDIR=<path>
This command installs a product in a specific location. If
you specify an install directory with this switch, it must be created
manually prior to executing 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 based
on the system's hardware configuration. This installation is done
silently and unattended.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\