As said here and here, doing an upgrade with Install Shield is easy. Did it, but I need something more - I need to change the Upgrade Code, of an upgrade, dynamically. I have TeamCity, which builds my product with different Upgrade codes - this way I have different products, that I can install on same machine. I am doing it using InstallShieldPropertyOverrides in **.isproj* file. It works, but I want every single of those products to be upgradeable, so I need to change the Upgrade Code in Upgrades section (Orginize Your Setup > Upgrade Paths). I need it to be done dynamically, during build on TeamCity, but I found no InstallShield property in InstallShieldPropertyOverrides to be configured with MSBuild. Does anyone have an idea or solution?
Asked
Active
Viewed 258 times
0

Community
- 1
- 1

Jonatan Dragon
- 4,675
- 3
- 30
- 38
-
Matching UpgradeCode doesn't prevent side-by-side installations, only ProductCode does that. Could you edit your question clarify what scenarios you are trying to support (perhaps provide a couple examples)? Note that the limited edition may not be well suited towards the level of configuration you desire. – Michael Urman Feb 09 '16 at 13:01
-
No experience with .isproj files, but the ISWiProject script object (http://helpnet.installshield.com/installshield21helplib/helplibrary/IHelpAutoISWiProject.htm) can be used to set the upgradecode (or productcode as Michael says) – stijn Feb 09 '16 at 19:58
-
I need to set the upgrade code in Orginize Your Setup > Upgrade Paths section. Would it be that method: AddAutomaticUpgradeEntry? Can I use it with IS Limited Edition? – Jonatan Dragon Feb 11 '16 at 17:39