To remove a package using the command line


Open Command Prompt


From the command window, type msiexec /x [package|ProductCode] and then press ENTER.


package is the name of the Windows Installer package file.

ProductCode is the globally unique identifier (GUID) of the Windows Installer package.


To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt..

Windows Installer command-line switches are not case-sensitive.

For more information on the command-line options, see Related Topics.

Related Topics

Repair a package using the command line

Command-line options

© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies