Contents:
compiled classes, and resources
help.htm: this file
customcode.properties: properties file
Custom Code Action: ExtractToFile
Classname: com.zerog.ia.customcode.util.fileutils.ExtractToFile
Description: This class opens a URL resource and save the content to a
new file. The URL resource can be inside the installer archive, on the user's
hard drive, or from a network location. This is useful for installing files
from a remote or Internet location, or for extracting files from the installer
archive for special processing.
Input InstallAnywhere Variables:
ExtractToFile_Source: Path and name of the file as
stored in "ExtractToFileCustomCode.jar".
For example, com/acme/myfile.txt
ExtractToFile_Destination: Path and name of new file
to create. For example, $USER_INSTALL_DIR$/myfile.txt
Output InstallAnywhere Variables:
None
General Instructions:
This README explains how to set up and take advantage of the ExtractToFile 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.
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 file "ExtractToFileCustomCode.jar"
in the "Choose Code Archive" dialog tht
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.util.fileutils.ExtractToFile"
(no quotes).
For IA 6.0:
To effectively use this action, you will want to add ExtractToFileCustomCode.jar
in [InstallAnywhere Folder]\plugins . Then, add the action located in the plugins
tab to InstallAnywhere in the IA Advanced designer. Remember that for the
action to work correctly you need to set ExtractToFile_Source
and ExtractToFile_Destination to the expression you
want to evaluate.
Please see the user guide for more information on adding additional properties
to the customcode.properties file found in ExtractToFileCustomCode.jar.
Thank you,
Zero G Developer Technical Services.
20 November 2003