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 Packages from Suite
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
‎Jul 09, 2014
11:39 AM
Upgrade Packages from Suite
I am having trouble upgrading Basic MSI packages from a Suite. The packages upgrade fine if run individually, but I don’t find much info on how to upgrade them from a Suite project. What I have done so far is:
1. Unique Suite Guid for both old and new version (otherwise it assumes Install)
2. Changed the ‘MaintenanceWelcome’ wizard page to replace ‘Modify’ with ‘Upgrade’.
3. When the user clicks on Upgrade I:
a. Set IsInstallMode to upgrade or install (neither works)
b. Set the Active Page to a new one I created that basically just prompts the user for verification (that works)
c. When the user clicks on ‘Next’ I:
- Set FEATURE[MyFeatureName].actionState to upgrade or install (neither works)
- Install Page = InstallationProgress
4. None of the feature/packages get upgraded, but the Suite gets installed (now I have 2 suites; the old and the new)
Do I need to NOT change the Suite Guid, let it go to ‘InstallationType’ page and upgrade from there? I started down that path and still end up with 2 suites; the old and the new.
Thanks for any advice!
1. Unique Suite Guid for both old and new version (otherwise it assumes Install)
2. Changed the ‘MaintenanceWelcome’ wizard page to replace ‘Modify’ with ‘Upgrade’.
3. When the user clicks on Upgrade I:
a. Set IsInstallMode to upgrade or install (neither works)
b. Set the Active Page to a new one I created that basically just prompts the user for verification (that works)
c. When the user clicks on ‘Next’ I:
- Set FEATURE[MyFeatureName].actionState to upgrade or install (neither works)
- Install Page = InstallationProgress
4. None of the feature/packages get upgraded, but the Suite gets installed (now I have 2 suites; the old and the new)
Do I need to NOT change the Suite Guid, let it go to ‘InstallationType’ page and upgrade from there? I started down that path and still end up with 2 suites; the old and the new.
Thanks for any advice!
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2014
12:04 PM
It sounds like this is covered by the information we've released in a white paper: Managing the Life Cycle of a Suite/Advanced UI Installation. This is available as a link from the front page of HelpNet.
I think you're missing a few steps, as I would typically craft an upgrade scenario as part of a higher versioned suite that shares the same Suite ID. Then the end user encounters first-time installation UI instead of maintenance UI, and things should go smoothly from there. But if you haven't already checked out the white paper, give it a look and see if it helps!
I think you're missing a few steps, as I would typically craft an upgrade scenario as part of a higher versioned suite that shares the same Suite ID. Then the end user encounters first-time installation UI instead of maintenance UI, and things should go smoothly from there. But if you haven't already checked out the white paper, give it a look and see if it helps!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2014
03:25 PM
Thanks Michael... that got me going. That certainly is a comprehensive document!
Is there a good way to tell if this is an upgrade? I want to put that condition on some text fields.
Thanks Again
Is there a good way to tell if this is an upgrade? I want to put that condition on some text fields.
Thanks Again
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2014
07:55 AM
You can use the Suite Installed condition to check for the presence of another suite with the same SuiteId and different (or lesser) version. See the example usage in the default Exit Condition, but remember you may have to fill in the Suite GUID explicitly, depending on where you use the condition.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2014
01:38 PM
Hmmm.... haven't got that figured out yet.
Also would like to ONLY make the features (packages) that are currently installed be available for upgrade. Haven't got those conditions right yet either. Checking for
FEATURE[xyz].installState=0
does not work
Also would like to ONLY make the features (packages) that are currently installed be available for upgrade. Haven't got those conditions right yet either. Checking for
FEATURE[xyz].installState=0
does not work
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2014
09:01 PM
Michael,
I want to put a 'Visible' condition on a control. The only choices there are 'Property Comparison' and 'Mode'. Can I do anything with a property comparison?
Thanks
I want to put a 'Visible' condition on a control. The only choices there are 'Property Comparison' and 'Mode'. Can I do anything with a property comparison?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2014
04:16 PM
Sorry for not getting back to this earlier; I'm sure you can imagine why.
Decompressing what I should have said earlier, the UI is indeed limited to those types of comparisons. However you can add a Set Property action in the Events view and condition it using the fuller set of conditions available to the suite engine. You can then reference that property with a Property Comparison condition in the wizard.
Decompressing what I should have said earlier, the UI is indeed limited to those types of comparisons. However you can add a Set Property action in the Events view and condition it using the fuller set of conditions available to the suite engine. You can then reference that property with a Property Comparison condition in the wizard.