This folder contains:
Classname: com.zerog.ia.customcode.action.PassByValue
Description: This action very simply sets a variable to the value of another variable. InstallAnywhere sets a variable to a reference, not the actual value of another by default..
Input InstallAnywhere Variables:
$PASSBYVALUE_Variable$: the name of the variable you would like to set.
$PASSBYVALUE_Value$:
the value you would like to set the variable to; for example, $VALUE$.
Output InstallAnywhere Variables
The variable specified in $PASSBYVALUE_Variable$ gets set to the resolved value of the
variable in $PASSBYVALUE_Value$.
General Instructions:
This README explains how to set up and take advantage of the PassByValue custom code action.
For IA 5.5.1 and earlier versions of IA:
To effectively use this action, you
will want to add an "Execute Custom Code" action to anywhere in the
IA Advanced designer. Remember that for the action to work correctly you
need to add a "Set InstallAnywhere Variable" action before the
"Execute Custom Code" action to set the appropriate Input InstallAnywhere Variables.
Once you have added an "Execute Custom Code" action to your project,
you will need to select the JAR or ZIP file that contains the desired action.
To select the JAR or ZIP file, click on the "Choose JAR or ZIP..."
button and select the PassByValue.jar file in the
"Choose Code Archive" dialog the appears.
Next you have to designate the "Class:" that is to be called for the
custom code. In this case, you would enter "com.zerog.ia.customcode.action.PassByValue" (no quotes).
For IA 6.0 and above:
To effectively use this action, you will want to add PassByValue.jar
in [InstallAnywhere Folder]\plugins . Then, add the action located in the plugins
tab to InstallAnywhere in the IA Advanced designer.
Please see the user guide for more information on adding additional properties
to the customcode.properties file found in PassByValue.jar.
Thank you,
Acresso Technical Support.
02 December 2006