public interface UninstallAction extends Action
Modifier and Type | Method and Description |
---|---|
boolean |
uninstall(UninstallerContext context)
This method is called by the framework to perform the action during uninstallation.
|
boolean uninstall(UninstallerContext context) throws UserCanceledException
ProgressInterface
available from context.getProgressInterface()
in order to display messages to the user or ask simple questions.context
- the context of the uninstallation.true
if successful. If it returns false
, the error message and the
failure strategy for the action configured in the install4j GUI will be used by the uninstaller.UserCanceledException
- You can let
these exceptions pass through, they will be handled by the framework.