Accessing InstallAnywhere Variables via Custom Code

Each of the four custom code types has a proxy class that provides methods extending the custom code classes to access information in an InstallAnywhere installer and locate and access resources. Each of these proxy classes provides a method called getVariable() and substitute(). Both of these methods can be used to access InstallAnywhere variables from within your custom code.

  • substitute public java.lang.String substitute(java.lang.String var)

    This method fully resolves a string that may contain embedded InstallAnywhere variables.

    The string returned is guaranteed to resolve all InstallAnywhere variables embedded in the parameter passed to this method. Variables contained (embedded) within the ...

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.