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

Applying Small Updates by Reinstalling the Product

· 52CE 我爱测

A small update can be applied to an application by completely or partially reinstalling the application from the command line or from a program.

A small update can be applied to an application by completely or partially reinstalling the application from the command line or from a program.

To propagate the small update to current users (this is a complete reinstall) from the command line

  1. From the command line use either: msiexec /fvomus [path to updated .msi file] or msiexec /I [path to updated .msi file] REINSTALL=ALL REINSTALLMODE=vomus.
  2. The updated .msi file is cached on the user's computer. Note that it is not possible for the user to reinstall the product using Add/Remove Programs because the updated .msi file is not yet on the user's computer.

To propagate a small update to current users (this is a complete reinstall) from a program

  1. From a program, call MsiReinstallProduct and specify REINSTALLMODE_PACKAGE, REINSTALLMODE_FILEOLDERVERSION, REINSTALLMODE_MACHINEDATA, REINSTALLMODE_USERDATA, and REINSTALLMODE_SHORTCUT
  2. The updated .msi file is cached on the user's computer.

The following method launches a reinstallation of only those features or components that are affected by the small update.

To propagate a small update to current users (this is a partial reinstall)

  1. Obtain a list of the names of features and components that are affected by the small update.
  2. From the command prompt use: **msiexec /I [path to updated .msi file] REINSTALL=[**Feature list] REINSTALLMODE=vomus.
  3. The updated .msi file is cached on the user's computer.

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)

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

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