Muokkaa

Jaa


Applying Major Upgrades by Installing the Product

A major upgrade can be applied by installing the new installation package for the upgraded product. Because major upgrades get a different product code than the original product, installing the upgrade must be treated as an installation of a new product. The upgrade can simply be installed like another product. You can have the new installation package handle the removal of the old product by including the Upgrade table and the FindRelatedProducts action and RemoveExistingProducts action.

To propagate a major upgrade to current users from the command line

  • From the command line, use: msiexec /i [path to updated msi file]

To propagate a major upgrade to current users from a program

  • From a program, call MsiInstallProduct and specify the path to the updated msi file.