Writing Custom Code

Custom Code Actions

Custom code actions allow you to create nongraphical actions that can manipulate data on your target system, affect InstallAnywhere variables, prepopulate various install options, or even execute native code (via JNI or native executions). In fact, custom code actions allow you to perform nearly any action possible with Java.

A Custom Code Action Example

This section describes how to write your own custom code action and leads you through an example (called com.zerog.ia.customcode.samples. SampleAction). This section doesn't explain how to make your code work with InstallAnywhere's advanced designer or the Execute Custom Code action.

NOTE

We assume that you know the goals of your action, but have not yet ...

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.