/build/static/layout/Breadcrumb_cap_w.png

Property for conditional install of component on Major not Minor Upgrade

Hello -

I have an MSI that is designed to install deltas as a Minor Update on systems with pre-existing identical upgradecode & productcode. On other machines it will run as a Major Upgrade.

I want a component to be set for conditional install as to be determined at install time on the basis of whether it is a Major Upgrade as opposed to Minor Update. In other words, I want the component to install only if it is a Major not a Minor.

Is there a property that Windows Installer sets (or uses) at run time that identifies the context as Major versus Minor which I can then use as a conditional flag?

If I examine the msi log for a minor update I see a reference to "IS_MINOR_UPGRADE", but I can't find that property listed anywhere at MSDN, so I wonder whether it is strictly an Install Shield property and therefore not universal.

My environment is W2K SP4 w/ Windows Installer 3.0 or 3.1, and using IS 10.5

Thanks for any comments.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: ab2cv 18 years ago
Orange Senior Belt
0
When an MSI performs a major upgrade, it uses the information in the Upgrade table to ascertain what it is upgrading. When it detects an installed product that qualifies for upgrade, it sets the property that is defined in the ActionProperty column of the Upgrade table. This property is a secure custom property as defined in the property table.

Alan
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ