cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yogi1410
Level 4

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
Labels (1)
0 Kudos
(5) Replies
pv7721
Level 20

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!
0 Kudos
yogi1410
Level 4

Is there any other way to abort installation in pre install section...
0 Kudos
yogi1410
Level 4

Sorry
i mean to say in pre uninstall section.
0 Kudos
pv7721
Level 20

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...
0 Kudos
jerome_IA
Level 9

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
0 Kudos