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 Knowledge Base
- :
- Provide Notification of a Major Upgrade
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Provide Notification of a Major Upgrade
Provide Notification of a Major Upgrade
Summary
How to notify users when a major upgrade is being runSynopsis
Windows Installer Major Upgrades silently uninstall the previous version(s) by default. This article describes how to notify customers when a major upgrade is being run and an older version is being removed. By default, a major upgrade looks identical to a first-time installation, displaying the default InstallWelcome dialog box.Discussion
To inform the user that a major upgrade is about to take place, you can add a text control to the InstallWelcome dialog box, and conditionally display the control only if the FindRelatedProducts action places any old product codes in the action property. Because the FindRelatedProducts action runs before InstallWelcome is displayed, you can safely use the action property from the Upgrade table in conditions.
The following steps create an installation that provides notification of a major upgrade:
- Select the major upgrade item from the Upgrades view.
- Click the Advanced tab and take note of the Detect Property listed in the Additional Settings section. This property is set if a previous version targeted by a major upgrade is found and remains null if no such version is found. By default, this property is called ISACTIONPROP1.
- In the Dialogs view, modify the InstallWelcome dialog to add a new Text Area control that will display when your install is running as a major upgrade.
- On the Behavior section of the dialog, select the control you have just added and add the following conditions (replace ISACTIONPROP1 with the property found in step 2):
- Action: Hide; Condition: Not ISACTIONPROP1
- Action: Show; Condition: ISACTIONPROP1
Additional Information
For more information on major upgrades, see the Help Library topic Create a Major Upgrade.
For more information on the custom action wizard, see the InstallShield Help article entitled Custom Action Wizard.
No ratings