This package contains classes that allow you to interact with the installer and its environment.
See the API overview for general remarks on how to use the install4j API.
Context objects are available as parameters in all script/expression properties in the install4j GUI.
Interface Summary Interface Description ContextBase class for installation and uninstallation context. FileInfoProvides information about a file in the distribution tree. FileSetSetupThis interface provides information about file sets. InstallationComponentSetupThis interface provides information about installation components. InstallerContextThe context provided by the installer. LauncherSetupThis interface provides information about launchers. ProgressInterfaceThe user notification interface during installation. RemoteCallableOn macOS and Windows Vista and higher, the 'require admin user' action can spawn additional installation processes that have full admin rights. UnattendedProgressInterfaceThe user notification interface during unattended installations. UninstallerContextThe context provided by the uninstaller. WizardContextThe wizard context allows you to modify the GUI installer or uninstaller.
Class Summary Class Description DefaultUnattendedProgressInterfaceDefault implementation of
FileOptionsAn object that contains options for the installation and uninstallation of a file. WizardIndexA wizard index is used to configure a display of overall installation progress on the left side of the wizard.
Enum Summary Enum Description ControlButtonTypeTypes of navigations buttons in the user interface. LauncherTypeEnumeration class that represents the different types of launchers. OverwriteModeEnumeration class that represents the different ways how install4j can react if asked to install a file over an already existing file. UninstallModeEnumeration class that represents the different ways how install4j can handle the uninstallation of a file.
Exception Summary Exception Description NotSupportedInElevationExceptionException that is thrown if a method is called that is not supported for elevated actions. UserCanceledExceptionInstallation methods throw this exception if the user cancels an operation.