Adding Pre-Install Actions

InstallAnywhere 2018

The next step in creating an installer using the Advanced Designer is to review and edit the Pre-Install actions in your project. In this tutorial, you will add a choice to download a Java virtual machine.

To add pre-install actions:

1. Perform the steps in Creating a New Project. The Pre-Install view opens.

The Pre-Install view is where you schedule the panels and actions that occur prior to the installation of files. By default, a new InstallAnywhere project contains the following panels:

Panel

Description

Introduction

This panel introduces the product or installation process.

Choose Install Folder

This panel allows end users to choose the installation location for the product.

Choose Alias, Link Shortcut Folder

This panel allows end users to specify the location for any macOS or OS X aliases, Windows shortcuts, and UNIX symbolic links (used as shortcuts) that will be installed.

Pre-Install Summary

This panel provides end users with a summary of various installation settings prior to the installation of files.

Note the following regarding the Pre-Install view:

Order of actions—Actions in the Pre-Install view occur in the order in which they are listed in this view, from top to bottom. To modify the order of panels and actions, use the arrow buttons in the middle right of the Advanced Designer.
Customizers—To modify the behavior and content of a panel, select it. The area at the bottom of the view displays the settings for the selected panel. In InstallAnywhere’s vocabulary, this is known as a customizer, and is available for each action and panel in the installer.
2. In the Pre-Install Action List, select Panel: Choose Alias, Link, Shortcut Folder and then click the Add Action button. The Choose an Action dialog box opens.
3. Click the Panels tab.
4. Click the Panel: Choose Java VM action and then click the Add button. InstallAnywhere adds the new action to the Pre-Install Action list and displays Choose Java VM customizer at the bottom of the view.
5. Click the Close button. The Choose an Action dialog box closes.
6. Click the link for the Install view and proceed with the steps in Defining the Install Sequence.