This custom code is provided “as is” and can be used only to extend the built-in functionality of InstallAnywhere.

Please note that  Acresso does not support this extension.


This folder contains:


Custom Code Action: WaitFor Process Exit

Classname: com.zerog.ia.customcode.action.WaitForProcessExit

Description: This action waits for a certain process to exit. It is supported by any operating system that has “tasklist” process which outputs list of running tasks.  

Input InstallAnywhere Variables:

$WFPE_NAME$: InstallAnywhere variable that contains the name of process this action is waiting to end.

$WFPE_TIMEOUT$: InstallAnywhere variable that contains the length of time (milliseconds) to wait to see if the process ends before throwing an exception.

Output InstallAnywhere Variables

N/A

General Instructions:

This README explains how to set up and take advantage of the WaitFor Process Exit 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 WaitForProcessExit.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.WaitForProcessExit" (no quotes).

For IA 6.0 and above:

To effectively use this action, you will want to add WaitForProcessExit.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 WaitForProcessExit.jar.

Thank you,

Acresso Technical Support.


28 March 2007