install4j API

com.install4j.api
Class UninstallAction

java.lang.Object
  extended by com.install4j.api.CustomAction
      extended by com.install4j.api.UninstallAction

public abstract class UninstallAction
extends CustomAction

All uninstall actions must be derived from this class. You have to implement all abstract methods and provide a public constructor with no arguments.

Author:
ej-technologies GmbH

Constructor Summary
UninstallAction()
           
 
Method Summary
 boolean performAction(Context context, ProgressInterface progressInterface)
          Override this method to perform the custom action in the uninstallation wizard.
 
Methods inherited from class com.install4j.api.CustomAction
getPercentOfTotalInstallation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UninstallAction

public UninstallAction()
Method Detail

performAction

public boolean performAction(Context context,
                             ProgressInterface progressInterface)
Override this method to perform the custom action in the uninstallation wizard.

Note: For unattended installations, the performUnattendedAction method is called instead.

Parameters:
context - the context of the uninstallation process.
progressInterface - an interface to display progress and messages.
Returns:
should return true, if successful. If it returns false, the uninstallation process will be aborted.

install4j API