MSIPATCHREMOVE 属性

MSIPATCHREMOVE 属性指定要在安装期间移除的修补程序的列表。 列表中的单个修补程序由分号分隔,可由修补程序代码 GUID 或修补程序的完整路径表示。 MsiRemovePatches 函数以及 Installer 对象的 RemovePatches 方法可设置 MSIPATCHREMOVE 属性。

可以在命令行上设置 MSIPATCHREMOVE 属性以移除修补程序,如下所示。

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

要求

要求
版本
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer 3.0 或更高版本。 若要了解 Windows Installer 版本所需的最低 Windows Service Pack,请参阅 Windows Installer 运行时要求

请参阅

属性

在 Windows Installer 2.0 及更低版本中不受支持