text
stringlengths
0
4.23k
/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.
<path_to_package>
<path_to_logfile>
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:
msiexec.exe /i "C:\example.msi" /L*V "C:\package.log"
Update options
You can apply or remove updates using an installation package.
Syntax
msiexec.exe [/p][/update][/uninstall[/package<product_code_of_package>]] <path_to_package>
Parameters
Parameter
Description
/p
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 (;).
/package
Installs or configures a product.
Examples
msiexec.exe /p "C:\MyPatch.msp"
msiexec.exe /p "C:\MyPatch.msp" /qb REINSTALLMODE="ecmus" REINSTALL="ALL"
msiexec.exe /update "C:\MyPatch.msp"
msiexec.exe /uninstall {1BCBF52C-CD1B-454D-AEF7-852F73967318} /package {AAD3D77A-7476-469F-ADF4-04424124E91D}
Where the first GUID is the patch GUID, and the second one is the MSI product code to which the patch was applied.
Repair options
You can use this command to repair an installed package.
Syntax
msiexec.exe [/f{p|o|e|d|c|a|u|m|s|v}] <product_code>