This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Upgrade only release configuration
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 06, 2008
07:00 AM
Upgrade only release configuration
We're trying to produce a release of our software that will only work as an upgrade. For various reasons, it doesn't work as a patch, so we've created a minimal release configuration that doesn't include prerequisites, .NET installer etc.
We'd like to be able to put that on our website so existing users can download it, but we want to restrict that version to only work if an existing version (bought from us on CD) has already been installed. I haven't found a way to do this, but I suspect it has something to do with detect properties on the upgrade table.
It would be nice if this behaviour could be controlled just by which release configuration was built, but I'll manage if not.
The installer is a Basic MSI project with a generous helping of SQL scripts, installscript custom actions and support dlls. Any suggestions?
We'd like to be able to put that on our website so existing users can download it, but we want to restrict that version to only work if an existing version (bought from us on CD) has already been installed. I haven't found a way to do this, but I suspect it has something to do with detect properties on the upgrade table.
It would be nice if this behaviour could be controlled just by which release configuration was built, but I'll manage if not.
The installer is a Basic MSI project with a generous helping of SQL scripts, installscript custom actions and support dlls. Any suggestions?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 07, 2008
06:07 AM
Worked it out myself, with inspiration from the documentation on downgrade prevention.
Now I can only use the installation kit generated by that Product Configuration to do upgrades, or the installation kit from the other Product Configuration for upgrades and clean installs.
- Created a new Product Configuration, with a Product Configuration Flag of UPGRADEONLY, and put my minimal release in there.
- Set the Detect Property for my major Upgrade Item to DS5UPGRADE
- Added a Type 19 custom action (error message) just after FindRelatedProducts with the condition ISReleaseFlags><"UPGRADEONLY" AND NOT DS5UPGRADE
Now I can only use the installation kit generated by that Product Configuration to do upgrades, or the installation kit from the other Product Configuration for upgrades and clean installs.