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: Pause after uninstall for a major upgrade
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
‎Jun 24, 2008
01:42 PM
Pause after uninstall for a major upgrade
Given: InstallScript MSI project, InstallShield 2008 version, doing a major upgrade.
Question: How and where may I program a pause AFTER InstallShield automatically uninstalls the old version of my product, but BEFORE it begins to install the new version?
I'd like to use this pause (maybe a temporary MessageBox) to examine the old product directories to make sure all old files were uninstalled by the major upgrade process. Is there some event I can catch, similar to OnFirstUIBefore ... something like OnUninstallOldVersion or OnMajorUpgrade ??
Thanks for any ideas.
Question: How and where may I program a pause AFTER InstallShield automatically uninstalls the old version of my product, but BEFORE it begins to install the new version?
I'd like to use this pause (maybe a temporary MessageBox) to examine the old product directories to make sure all old files were uninstalled by the major upgrade process. Is there some event I can catch, similar to OnFirstUIBefore ... something like OnUninstallOldVersion or OnMajorUpgrade ??
Thanks for any ideas.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2008
04:28 PM
Major upgrade removal is part of the RemoveExistingProducts action. If you schedule your own custom action after that, you can do whatever you'd like.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2008
10:14 AM
Thanks, but I'm not using custom actions -- just InstallScript. Call me old-fashioned.:o
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2008
08:36 AM
InstallScript MSI projects do use sequences and actions to get your product installed. If you want to put in the kind of a breakpoint you are asking about, look at Michael's suggestion of creating a Custom Action (easiest in vbscript or InstallScript) after RemoveExistingProducts, to, say, put up a Message Box and that would give you the opportunity to look around to verify the uninstallation (until you dismiss the Message Box).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2008
12:40 PM
Will do ... thanks for the clarification!:)