大网数据广告活动
安装更新与部署

Patch Optimization

· 52CE 我爱测

Windows Installer can optimize patching to reduce the time that is required to apply patches to installed applications.

Windows Installer can optimize patching to reduce the time that is required to apply patches to installed applications.

Windows Installer 2.0: Not supported. For versions of Windows Installer released before Windows Installer 3.0, patching runs a complete repair installation of the application, which can take significantly more time.

Windows Installer 3.0 and later: The patching process only changes the parts of an application that are modified by a patch.

Windows Installer 3.1 and later: Beginning with Windows Installer 3.1, patch optimization requires that all patches in the transaction have the OptimizedInstallMode property set to 1 (one) in the MsiPatchMetadata Table.

If a patch only modifies the following tables, Windows Installer 3.0 or later skips the actions that are associated with all the other tables, even if those actions are listed in the sequence tables of the original application installation package (.msi file).

To turn off the patch optimization option, use the DisableFlyWeightPatching policy.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。