Specifies the language identifier used by the advertised package.
/j/t
Applies transform to the advertised package.
/x
Uninstalls the package.
<path_to_package>
Specifies the location and name of the installation package file.
Examples
To install a package named example.msi from the C: drive, using a normal installation process, type:
msiexec.exe /i "C:\example.msi"
Display options
You can configure what a user sees during the installation process, based on your target environment. For example, if you're distributing a package to all clients for manual installation, there should be a full UI. However, if you're deploying a package using Group Policy, which requires no user interaction, there should be no UI involved.
Specifies the location and name of the installation package file.
/quiet
Specifies quiet mode, which means there's no user interaction required.
/passive
Specifies unattended mode, which means the installation only shows a progress bar.
/qn
Specifies there's no UI during the installation process.
/qn+
Specifies there's no UI during the installation process, except for a final dialog box at the end.
/qb
Specifies there's a basic UI during the installation process.
/qb+
Specifies there's a basic UI during the installation process, including a final dialog box at the end.
/qr
Specifies a reduced UI experience during the installation process.
/qf
Specifies a full UI experience during the installation process.
Remarks
The modal box isn't shown if the installation is cancelled by the user. You can use qb+! or qb!+ to hide the CANCEL button.
Examples
To install package C:\example.msi, using a normal installation process and no UI, type:
msiexec.exe /i "C:\example.msi" /qn
Restart options
If your installation package overwrites files or attempts to change files that are in use, a reboot might be required before the installation completes.
Specifies the location and name of the installation package file.
/li
Turns on logging and includes status messages in the output log file.
/lw
Turns on logging and includes non-fatal warnings in the output log file.
/le
Turns on logging and includes all error messages in the output log file.
/la
Turns on logging and includes information about when an action started in the output log file.
/lr
Turns on logging and includes action-specific records in the output log file.
/lu
Turns on logging and includes user request information in the output log file.
/lc
Turns on logging and includes the initial UI parameters in the output log file.
/lm
Turns on logging and includes out-of-memory or fatal exit information in the output log file.
/lo
Turns on logging and includes out-of-disk-space messages in the output log file.
/lp
Turns on logging and includes terminal properties in the output log file.
/lv
Turns on logging and includes verbose output in the output log file.
/lx
Turns on logging and includes extra debugging information in the output log file.
/l+
Turns on logging and appends the information to an existing log file.
/l!
Turns on logging and flushes each line to the log file.
/l*
Turns on logging and logs all information, except verbose information (/lv) or extra debugging information (/lx).
<path_to_logfile>
Specifies the location and name for the output log file.
Examples
To install package C:\example.msi, using a normal installation process with all logging information provided, including verbose output, and storing the output log file at C:\package.log, type:
Installs a patch. If you're installing silently, you must also set the REINSTALLMODE property to ecmus and REINSTALL to ALL. Otherwise, the patch only updates the MSI cached on the target device.
/update
Install patches option. If you're applying multiple updates, you must separate them using a semi-colon (;).
Pripojte sa k konečnému virtuálnemu podujatiu pre Windows Server, ktoré sa bude vysielať 29. až 30. apríla, a zúčastnite sa podrobných technických relácií a živého podujatia Q&A s inžiniermi spoločnosti Microsoft.