Msiexec command usage documentation

Source: Internet
Author: User

Windows (r) Installer. V 4.5.6001.22159

Msiexec/option <required parameter> [optional parameter]

Installation Options
</Package |/I> <product. MSI>
Install or configure the product
/A <product. MSI>
Manage and install-install products on the network
/J <u | M> <product. MSI> [/T <transform list>] [/g <language ID>]
Publish the product-m to all users, and u to the current user
</Uninstall |/x> <product. MSI | productcode>
Uninstall a product

Show options
/Quiet
Quiet Mode, no user interaction
/Passive
Unattended mode-only display progress bar
/Q [n | B | r | F]
Set the User Interface Level
N-No user interface
B-Basic Interface
R-simplified interface
F-complete interface (default)
/Help
Help Information

Restart Option
/Norestart
Do not restart after installation
/Promptrestart
Prompt the user to restart if necessary
/Forcerestart
Always restart the computer after installation

Log options
/L [I | w | E | A | r | u | c | M | o | p | v | x | + |! | *] <Logfile>
I-status message
W-non-fatal warning
E-all error messages
A-Start Operation
R-operation-specific records
U-user request
C-initial User Interface Parameters
M-out of memory or fatal exit Information
O-insufficient disk space message
P-terminal attributes
V-Detailed output
X-Additional debugging information
+-Extend to existing Log Files
! -Refresh each line to the log
*-Record all information except V and X
/Log <logfile>
Same as/l * <LogFile>

Update options
/Update <Update1.msp> [; Update2.msp]
Application update
/Uninstall <PatchCodeGuid> [; Update2.msp]/package <Product. msi | ProductCode>
Delete product updates

Repair options
/F [p | e | c | m | s | o | d | a | u | v] <Product. msi | ProductCode>
Repair Product
P-only when the file is lost
O-if the file is lost or the old version is installed (default)
E-if the file is lost or the same or older version is installed
D-if the file is missing or different versions are installed
C-if the file is lost or the verification does not match the calculated value
A-force all files to be reinstalled
U-all required user-specific registry items (default)
M-all required computer-specific registry items (default)
S-all existing shortcut keys (default)
V-run from the source and re-cache the local installation package
Set public attributes
[PROPERTY = PropertyValue]

For more information, see Windows (R) Installer SDK.
Other documents of the command line syntax.

Copyright (C) Microsoft Corporation. All rights reserved.
Part of this software is based on Independent JPEG Group.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.