This folder contains:
Classname: com.zerog.ia.customcode.actions.EnhancedExecuteCommand
Description: This custom code action execute a command, and then captures it's output and return code. It also sets the captured output and return code from the command, and sets InstallAnywhere Variables
Input InstallAnywhere Variables:
$COMMAND_TO_EXECUTE$: This variable should contain the command that you want to run.
Output InstallAnywhere Variables:
$CC_STD_ERR$: Contains the Standard
Error Output of the Command
$CC_STD_OUT$: Contains the Standard Output of the Command
$CC_EXIT_CODE$: Contains the exit code (i.e. error cod/return code) of the
command
General Instructions:
This README explains how to set up and take
advantage of the FileInfo custom code action.
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 $COMMAND_TO_EXECUTE$ to the
command that you want to run.
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 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.actions.EnhancedExecuteCommand" (no quotes).
Thank you,
Zero G Developer Solutions.
13 November 2002