Enhancements in InstallAnywhere 2024 R2

This section lists enhancements that were included in InstallAnywhere 2024 R2:

Custom Code API Methods to Retrieve Font and Foreground Color Used in Standard Panel
Ability to Restrict Non-Platform-Specific Service Support Files Build into Installers

Custom Code API Methods to Retrieve Font and Foreground Color Used in Standard Panel

In previous releases, users were unable to retrieve the font and foreground color used in the standard InstallAnywhere panel from within a custom code panel.

InstallAnywhere 2024 R2 enables you to retrieve the font and foreground color used in the standard InstallAnywhere panel from within the custom code panel by introducing the following custom code API methods:

public Font getInstallerFont()—Use this API method to retrieve the font used in the standard InstallAnywhere panel from within the custom code panel.
public Color getInstallerFontColor()—Use this API method to retrieve the foreground color used in the standard InstallAnywhere panel from within the custom code panel.

You can use these methods on Java Swing components, which is used in the custom code panel, through the GUIAccess service as follows:

GUIAccess gui = (GUIAccess) proxy.getService(GUIAccess.class);

<swing component>.setFont(gui.getInstallerFont());

<swing component>.setForeground(gui.getInstallerFontColor());

Note:This change was tracked in IA-19831.

Ability to Restrict Non-Platform-Specific Service Support Files Build into Installers

Previously, when attempting to include support for the custom code services layer, both platform-specific and non-platform-specific service support files were built into each target installer and uninstaller archive.

In InstallAnywhere 2024 R2, a new check box, Restrict Non-platform files, has been introduced on the General Settings tab in the JVM Settings view of the Project page. This check box allows you to build only the platform-specific service support files into the installer and uninstaller archives, and restrict the non-platform-specific service support files, when including support for the custom code services layer. You can use this check box to control the build of service support files in the installer and uninstaller archives as follows:

Selecting this check box allows only the platform-specific service support files from the <IA_HOME>/resource/services/ppk directory to build into the installer and uninstaller archives for each target platform.
Clearing this check box allows both platform-specific and non-platform-specific service support files from the <IA_HOME>/resource/services/ppk directory to build into the installer and uninstaller archives.

By default, this check box is cleared.

The following shows the selected Restrict Non-platform files check box on the General Settings tab in the JVM Settings view:

Selected Restrict Non-platform files Check Box

Note:This change was tracked in IA-21488.