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
- :
- Major Upgrade and Warning message box
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
‎Feb 02, 2010
02:09 AM
Major Upgrade and Warning message box
Hello there,
I've added a major upgrade in my project and it worked well: uninstall the old version and then install the new version.
But I'd like to add a warning message box before uninstalling the old version to notify the user that the installer will start to uninstall.
How do I add the message box? My project is an Installscript MSI project but I did not find where I can add the script.
Thanks in advance.
I've added a major upgrade in my project and it worked well: uninstall the old version and then install the new version.
But I'd like to add a warning message box before uninstalling the old version to notify the user that the installer will start to uninstall.
How do I add the message box? My project is an Installscript MSI project but I did not find where I can add the script.
Thanks in advance.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 03, 2010
01:38 PM
Perhaps look at this old newsletter tip for one approach (PDF): http://www.flexerasoftware.com/webdocuments/PDF/nl_article_DEV_MajorUpgradeUI.pdf.
For InstallScript MSI, the idea is the same: in an early event handler (OnBegin?) you can test the major-upgrade condition with MsiEvaluateCondition or MsiGetProperty, and then conditionally display a message with MessageBox or AskYesNo.
For InstallScript MSI, the idea is the same: in an early event handler (OnBegin?) you can test the major-upgrade condition with MsiEvaluateCondition or MsiGetProperty, and then conditionally display a message with MessageBox or AskYesNo.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 03, 2010
09:09 PM
Thanks a lot Robert. I will have a try.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)