Install Actions

InstallAnywhere 2023 R2

Available only in the Install sequence, Install actions deploy the installer payload to the target machine. The following table lists the Install actions available in InstallAnywhere.

Install Actions

Action

Description

Create Alias, Link, Shortcut Action

Create an alias (OS or OS X), symbolic link (UNIX and Linux), or shortcut (Windows).

Create Folder Action

Create a new folder on the end user's system.

Create LaunchAnywhere for Java Application Action

Create a launcher to start the installed Java application.

Create Uninstaller Action

Create the uninstaller and several additional files needed by the uninstaller.

Deploy WAR/EAR Archive Action

Deploy a WAR or EAR archive to an application server.

Download File Action

Download a file during installation using FTP, HTTP, HTTPS, SFTP, or Anonymous FTP protocol.

Enable Update Notifications Action

Include the FlexNet Connect Java agent in installers built from this project.

Expand Archive Action

Expand an archive file (.zip, .jar, .sit, .war, or .ear) or decode a Binary file (.bin) on target systems.

Important:.zip files must be zipped with the DEFLATE compression method. No other compression method is supported.

Expand Archive (7-zip) Action

Expand a 7-ZIP archive file (*.7z or *.xz) with the LZMA and LZMA2 compression methods on target systems.

Expand Archive (TAR) Action

Expand a TAR file (.tar) on target systems.

Install Archive Action

Install a ZIP file (.zip, .jar) on target systems.

Install File Action

Install a file from the installer onto target systems.

Install from Manifest Action

Install all of the files and folders specified in the manifest file on the end user's system. See Manifest Files for more information.

Install HP-UX Depot Action

Install and uninstall HP-UX depot files. You must specify the package name within the depot file, since it may contain multiple packages. In order to install multiple packages in the same depot, add one action for every package that you want to install (This method does not increase the size of the installer).

Install Linux Package Action

Install and uninstall Linux RPM Package Manager (.rpm) files, Debian (.deb) packages, or a file you want to install from a default or a custom repository. The package files can either be bundled with the installer or pre-existing on the system.

If you choose to install from a repository, there are two options:

Install from Repository—Install from the default distribution repository on the machine you are targeting
Install from Repository / Custom Repository—Install from a specified location of a custom repository. When you click the Custom Repository check box, the Choose Repository button is enabled, allowing you to search for the custom repository location, choosing either a *.list file for Debian file distributions or *.repo for Linux.

If the RPM or DEB is relocatable, and the Relocatable check box is selected in the action customizer, the file is installed to its location in the file tree.

Additionally, the RPM or DEB can be set to Ignore Dependencies (similar to the --nodeps option for the command-line RPM tool) and to Force Installation (--force).

You can also choose Do Not Uninstall. For custom repositories, the only check box that is available is to Do Not Uninstall.

The Install Linux Package action allows you to add only one package at a time. If you want to add additional packages, click Add Action again.

Install Merge Module Action

Install a merge module as if the merge module were run as a separate silent installer.

Install Solaris Package Action

Install and uninstall Solaris package files. These packages can either be bundled with the installer or pre-existing on the system. You must enter the name of the package. Additionally, InstallAnywhere supports bundling admin and response files for the package with the installer. For more information on these files, consult the man pages for pkgadd(1), pkgask(1), and admin(4).

Install SpeedFolder Action

Dynamically pick up files at build-time from a folder. All files are installed in one fast operation.

SpeedFolders are especially useful for large installations with many files or builds that occur automatically.

Move File Action

Move or rename a file from one location to another location on the end user's system.

Move Folder Action

Move or rename a folder from one location to another location on the end user's system.

Set System Environment Variable Action

Set environment variables on the end user’s system. Compatible with Windows and UNIX only. UNIX Bash, sh, ksh, zsh, csh, and tcsh shells are supported.

Run SQL Script Action

Run a SQL script on a database server.

Trigger Rollback Action

Add to the Install sequence to specifically initiate a rollback if a certain rule or condition is met.

See Also