Expand Archive Action

InstallAnywhere 2013

You can use the Expand Archive action to expand a ZIP file (.zip, .jar, .war, .ear) or decode a Mac Binary file (.bin) on the end user's system.

Properties Tab

The Properties tab of the Expand Archive action customizer includes the following properties:

Expand Archive Action Customizer

Property

Description

Source

Specify the archive file you want to expand by choosing one of the following options:

Selected Archive—Select this option and click Choose Archive to select the archive you want to expand.
Existing Archive—Select this option and enter a path and file name for the archive on the target system.

The supported archive file formats are:

ZIP files (.zip)
Java archives (.jar)
WAR files (.war)
Enterprise archives (.ear)

Destination

Specify Path information to identify the destination information for the archive, the location on the target machine where the archive will be expanded.

Choose a platform-specific directory or location from the list, and then enter subdirectory information in the box.

Expand Archive Actions and Extracted File Permissions

InstallAnywhere includes three expand archive actions: Expand Archive Action, Expand Archive (7-zip) Action, and Expand Archive (TAR) Action. The permissions assigned to files that are extracted from an archive file during installation vary between the three types of expand archive actions. In some cases, the original permissions of the file are retained. In others, the settings that are made in the Default Permissions setting (Project page > Platforms view > UNIX or Mac OS X areas) are applied to the extracted files. The following table lists how permissions are applied for these three expand archive actions.

Expand Archive Actions and Extracted File Permissions Comparison

Action

Original File Permissions Preserved?

Apply Permissions that Are Set in the Platforms View?

Expand Archive Action

Not guaranteed to preserve

Yes

Expand Archive (7-zip) Action

No

Not guaranteed to apply

Expand Archive (TAR) Action

Yes

No

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.