I have a product called MyApp. This product comes with different editions, like BASIC and PRO. Both editions have their own installer with the same version.
When I have installed the BASIC edition and run the PRO installer, I want InstallShield to detect this. The overall constellation is illustrated in the following image.
- UpCo = Upgrade Code
- PrCo = Product Code
- PaCo = Package Code
The black arrows are handled as Major Upgrades without a problem. The red arrows illustrate the issue.
Too detect this scenario I thought about checking for the changed package code. By the following link this scenario is defined as Small Update.
- Is there a property like, IS_MINOR_UPGRADE or IS_MAJOR_UPGRADE, which I can use?
- Is it possible to find out the Package Code, Product code and Upgrade code of the previous and current installation? Then I could compare those values and respond to this scenario in InstallScript.