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
- :
- Re: Abort Uninstalllation
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
‎Mar 30, 2010
08:10 AM
Abort Uninstalllation
Hi
I have a scenario where i have to abort Uninstallation.
Have a written custom code for it where InstallerProxy.abortInstallation(-1);
works with installation abort.
But doesn't work with uninstallation.
Can anyone help me to find method for UninstallerProxy to abort uninstallation.
Regards
Yogi
I have a scenario where i have to abort Uninstallation.
Have a written custom code for it where InstallerProxy.abortInstallation(-1);
works with installation abort.
But doesn't work with uninstallation.
Can anyone help me to find method for UninstallerProxy to abort uninstallation.
Regards
Yogi
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2010
08:36 AM
Well, the name method is pretty clear: it is supposed to work at install time only! There might not be any method to abort uninstallation!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2010
09:26 AM
Is there any other way to abort installation in pre install section...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2010
09:27 AM
Sorry
i mean to say in pre uninstall section.
i mean to say in pre uninstall section.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2010
10:58 AM
What you can try to do as a workaround is to try and prompt the user if a certain condition is true that they should abort the uninstall... but it seems to me that the uninstall cannot be cancelled no matter what...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 02, 2010
05:15 AM
I am aborting uninstaller simply with a "show message dialog" pop up which cancel and exits the uninstaller.
Due to an issue in Pre-Uninstall phase with "show message dialog" on Unixes platform, I have to launch it in Post-Uninstall. In order to not execute uninstaller, I first set "SKIP_UNINSTALL=true" in Pre-Uninstall.
Does it help ?
--Jerome
Due to an issue in Pre-Uninstall phase with "show message dialog" on Unixes platform, I have to launch it in Post-Uninstall. In order to not execute uninstaller, I first set "SKIP_UNINSTALL=true" in Pre-Uninstall.
Does it help ?
--Jerome
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)