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.
Related Articles
How to Configure a Major Upgrade 6Number of Views Create a Major Upgrade 5Number of Views Snow License Manager and Snow Inventory: How to set up a SQL trace to provide to Support? 347Number of Views Data appears out of sync between All Inventory view and Device Properties tab 1Number of Views Major upgrade leaves old entry in Add Remove Programs 26Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago