MSIPATCHREMOVE Property

Windows Installer

MSIPATCHREMOVE Property

The MSIPATCHREMOVE property specifies the list of patches to remove during an installation. Individual patches in the list are separated by semicolons and can be represented by patch code GUID or the full path to the patch. The MsiRemovePatches function and the RemovePatches method of the Installer object set the MSIPATCHREMOVE property.

The MSIPATCHREMOVE property can be set on the command line as follows to remove a patch.

msiexec /i A:\Example.msi MSIPATCHREMOVE=c:\patches\qfe1.msp;{0BBB87F1-3186-409C-8CDD-C88AA2A4A7E0};{A86B443B-E3BF-4009-ADED-F716FC735858}/qb

Remarks

Windows Installer 2.0:  Not supported. The MSIPATCHREMOVE property is available beginning with Windows Installer 3.0.

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer 3.0 or later on Windows Server 2003, Windows XP, and Windows 2000. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See Also

Properties

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.