This folder contains:
Classname: com.zerog.ia.customcode.action.PropertiesFileReader
Description: This action will allow you to turn properties from a properties file into InstallAnywhere variables.
Input InstallAnywhere Variables:
$PROPERTIES_FILE_LOCATION$: the location of the properties file.
$SUBSTITUTE_VARIABLES$ (optional):(true/false) Set
to true if you want to substitute IA variables found in values [true by
default].
$PROPERTIES_TO_IGNORE$ (optional): comma separated list of properties in
properties file to ignore. Example: USER_INSTALL_DIR,MY_PROP_1
$OVERRIDE_EXISTING_VARIABLES$ (optional):
(true/false) Set to true if you want to override existing variables with
properties from properties file.
Output InstallAnywhere Variables
N/A
General Instructions:
This README explains how to set up and take advantage of the PropertiesFileReader 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 PropertiesFileReader.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.PropertiesFileReader" (no quotes).
For IA 6.0:
To effectively use this action, you will want to add PropertiesFileReader.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 PropertiesFileReader.jar.
Thank you,
Zero G Developer Technical Services.
26 November 2003