Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Development
Windows Installer
An Upgrade Example
 Updating Upgrade Table for an Upgra...
Updating Upgrade Table for an Upgrade

To apply a major upgrade using Windows Installer, the original product installation package must specify an UpgradeCode Property, described in Preparing an Application for Future Major Upgrades, and the upgrade package must have an Upgrade table.

For more information about major upgrades, see Major Upgrades in Patching and Upgrades.

The installation package of MNP2000.msi was assigned an UpgradeCode property, as described in the section Specifying Properties.

Windows Installer applies the upgrade if the user has already installed the 1.0 to 1.4 versions (inclusive) of English language MNP2000. Windows Installer migrates all of the original product's feature settings to the upgraded product. The installer removes the files belonging to the original products not being used by the product's upgrade.

If your copy of MNP2001.msi does not include an Upgrade table, use Orca, or another table editor, to import an empty Upgrade table into the database from Schema.msi. The SDK provides a copy of Schema.msi. Use your database editor to open MNP2001.msi and enter the following data into the empty Upgrade table.

UpgradeCodeVersionMinVersionMaxLanguageAttributesRemoveActionProperty
{908E378A-9551-4772-BF1D-5CFAF6FD9CB4}01.00.000001.40.00001033769 OLDAPPFOUND

 

Continue

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker