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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Aborting Uninstall
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:50 AM
Aborting Uninstall
My Uninstall runs a custom code that can fail.
In case of a failure I would like to leave and not remove all the files + uninstall file and to show a message to the user.
In the current state even if the custom code fails all files are still removed so the systm is inconsistent .
Do I have a way to indicate the uninstaller to not remove the files?
In case of a failure I would like to leave and not remove all the files + uninstall file and to show a message to the user.
In the current state even if the custom code fails all files are still removed so the systm is inconsistent .
Do I have a way to indicate the uninstaller to not remove the files?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2008
05:38 PM
If you can run your code early enough (Pre-Uninstall task?), you can abort the uninstaller there; if your code can set a property, for example, you can add a conditional Show Message Dialog action that exits the installer...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 21, 2010
05:10 PM
How to abort Uninstaller in Pre-Uninstall task?