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: How do I insert a dialog during uninstall in Basic MSI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jul 18, 2012
12:34 PM
How do I insert a dialog during uninstall in Basic MSI
I need to display a dialog during uninstall and cannot figure out how to do it.
I need to display this dialog if they select uninstall from control panel or from the maintenance dialog.
Any help would be great.
Thanks
Brandon
I need to display this dialog if they select uninstall from control panel or from the maintenance dialog.
Any help would be great.
Thanks
Brandon
(1) Reply
Jul 18, 2012
05:53 PM
For uninstallation through maintenance mode, you can add a dialog box the same way as you do for installation, by hooking up the Next button of the previous dialog box to whatever you want to display (also the Back button of your new dialog to the previous, etc.). You can look at MaintenanceWelcome's conditions and control events to see what's going on.
For uninstallation through the Remove button of Add or Remove Programs, though, you can't, really. Only the Execute sequence runs in that case, and you shouldn't put a dialog in the Execute sequence, at least if you believe ICE13. You could disable the ARP Remove button to force the maintenance UI dialogs, but this wouldn't affect things like someone right-clicking the MSI file and choosing Uninstall.
For uninstallation through the Remove button of Add or Remove Programs, though, you can't, really. Only the Execute sequence runs in that case, and you shouldn't put a dialog in the Execute sequence, at least if you believe ICE13. You could disable the ARP Remove button to force the maintenance UI dialogs, but this wouldn't affect things like someone right-clicking the MSI file and choosing Uninstall.