cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dogstar
Level 3

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.
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

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.
0 Kudos
dogstar
Level 3

Thanks a lot Robert. I will have a try.
0 Kudos