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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 11/04/2005 by: ab2cv
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity