public interface Context
The basic installation and uninstallation context. This is the base class of all context classes that are provided to your custom actions and screens. To uninstallation actions, an object of this class is passed. Installation actions and custom screens receive context objects with extended information and interaction facilities (please see the derived classes).
| Method Summary | |
|---|---|
java.lang.String |
getAddOnApplicationId()
Returns the add on application id. |
java.lang.String |
getApplicationId()
Returns the application id. |
java.io.File |
getInstallationDirectory()
Retrieves the installation directory selected by the user, or the default installation directory if the user has not yet made a selection. |
java.lang.String |
getUserVariableValue(java.lang.String variableName)
Gets the value of a user variable as it was defined for this media file at the compile time. |
boolean |
isAdminUser()
Checks whether the current user has administration privileges. |
boolean |
isUnattended()
Returns whether the installer or uninstaller is running unattended or if it displays a graphical wizard. |
void |
rebootAfterFinish()
Microsoft Windows only: if your custom code makes changes that requires a reboot after the wizard has finished, you can invoke this method. |
| Method Detail |
|---|
java.io.File getInstallationDirectory()
boolean isAdminUser()
java.lang.String getUserVariableValue(java.lang.String variableName)
variableName -
void rebootAfterFinish()
boolean isUnattended()
java.lang.String getApplicationId()
java.lang.String getAddOnApplicationId()