How to Package and Execute Custom Code with an Installer

To create and use custom code in an installer, do the following:

1.
Add IAClasses.zip to the classpath. The Java compiler will need to reference the classes in this file when compiling the code. IAClasses.zip is located in the root installation directory of InstallAnywhere.
3.
Create the action, panel, console, or rule. A good starting point is to use the Java source file templates found in the CustomCode/Templates folder inside the InstallAnywhere installation directory.
4.
Compile the source files.
5.
Decide which additional files and resources will be needed. For example, images, text files, or other resources may be required.
6.
Create an unsigned JAR file that contains the compiled class ...

Get InstallAnywhere Tutorial and Reference Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.