ExtractToFile Action

InstallAnywhere 2018

The ExtractToFile custom code plug-in action enables you to open 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 on a network location. This plug-in is useful for installing files from a remote or Internet location or for extracting files from the installer archive for special processing.

Classname

com.zerog.ia.customcode.util.fileutils.ExtractToFile

Instructions

For the ExtractToFile plug-in action to work correctly, you need to set the ExtractToFile_Source and ExtractToFile_Destination variables to the expression you want to evaluate.

InstallAnywhere Input Variables

The following input variables are used with the ExtractToFile plugin action:

InstallAnywhere Input Variables Used with the ExtractToFile Plug-In

Variable

Description

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

InstallAnywhere Output Variables

None.