Applying Small Updates by Reinstalling the Product
Applying Small Updates by Reinstalling the Product

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

Aa367575.wedge(en-us,VS.85).gifTo 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.

Aa367575.wedge(en-us,VS.85).gifTo 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.

Aa367575.wedge(en-us,VS.85).gifTo 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.

Send comments about this topic to Microsoft

Build date: 11/12/2009

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View