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: ChooseInstallDrive

Classname: com.zerog.ia.customcode.panels.ChooseInstallDrive

Description: This plugin prompts the user for the drive they would like to install to. The default Choose Install Folder panel allows the user to change the install folder, but does not provide an option to change the drive only (without altering the install path). 

Input InstallAnywhere Variables:

$SELECTED_DRIVE_VARIABLE$: The InstallAnywhere variable that contains the drive the user chose.

Output InstallAnywhere Variables

The variable the user chose to pass into $SELECTED_DRIVE_VARIABLE$ will contain the drive selected.

General Instructions:

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

For IA 6.0 and above:

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

Thank you,

Acresso Technical Support.


02 December 2006