text
stringlengths
0
4.23k
/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.
<path_to_package>
Remarks
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.
Syntax
msiexec.exe /i <path_to_package> [/norestart][/promptrestart][/forcerestart]
Parameters
Parameter
Description
<path_to_package>
Specifies the location and name of the installation package file.
/norestart
Stops the device from restarting after the installation completes.
/promptrestart
Prompts the user if a reboot is required.
/forcerestart
Restarts the device after the installation completes.
<path_to_package>
Examples
To install package C:\example.msi, using a normal installation process with no reboot at the end, type:
msiexec.exe /i "C:\example.msi" /norestart
Logging options
If you need to debug your installation package, you can set the parameters to create a log file with specific information.
Syntax
msiexec.exe [/i][/x] <path_to_package> [/L{i|w|e|a|r|u|c|m|o|p|v|x+|!|*}] <path_to_log>
Parameters
Parameter
Description
/i
Specifies normal installation.
/x
Uninstalls the package.
<path_to_package>
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.