Partager via


Remove a package using the command line

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To remove a package using the command line

  1. Open Command Prompt.

  2. Type:

    msiexec /x {package | ProductCode}

    Value Description

    /x

    Uninstalls a product.

    package

    Specifies the name of the Windows Installer package file.

    ProductCode

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

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • Windows Installer command-line options are not case-sensitive. For more information about msiexec command-line options, see Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Msiexec (command-line options)
Repair a package using the command line