Install File Action

InstallAnywhere 2021

The Install File action installs a file onto target systems. The Install File customizer includes the following options:

Install File Customizer

Option

Description

Source Path

Location of this file on the current system or in relationship to the InstallAnywhere project.

Destination Path

Specify the directory on the target machine where the file will be installed.

Destination Name

Specify the name that you want the selected file to be named on the target system.

Do not uninstall

Select this option to prevent the uninstaller from removing the file from the target system.

Override default UNIX / OS X permissions

Select this option to provide pre-determined permissions for a launcher. Enter the numeric permissions value in the text box. For example, for the octal number mode, you could enter 755.

If the file already exists on the end user’s system

Select one of the following options to define installer behavior when it attempts to install a file that already exists on the target system:

Use project default
Always overwrite
Never overwrite
Overwrite if older, do not install if newer
Overwrite if older, prompt if newer
Prompt if older, do not install if newer
Always prompt user

Note:If you select Always prompt user and you also choose to generate a response file, the overwrite choice that the user makes is recorded in the response file using the ‑fileOverwrite command. See Recording User Response to File Overwrite Prompts in Response File for more information.

Note:This action is not available from the Choose an Action dialog box, but its customizer appears automatically when files are added.

Rules, Tags, and Rollback Tabs

For information on the other tabs on this customizer, see the following:

Rules—Use this tab to add rules to the selected action. For more information, see Assigning a Rule to an Action and Rules Reference.
Tags—Use this tab to add build configuration tags to the selected action. For more information, see Assigning Tags to Project Elements.
Rollback—Use this tab to specify rollback behavior for the selected action. For more information, see Configuring Installation Rollback Behavior.