Building the Installer

InstallAnywhere 2024 R2

The Build Installers view on the Build page contains the settings that InstallAnywhere uses to build the installers. This view is also where you specify information such as which platforms your installers are targeting, configuration options for bundled virtual machines, and platform optimization and installer type.

Tip:For early testing, build only for the development platform. Each additional platform adds to the time that is required to build, cycling through run-rebuild-run-rebuild stages. A faster build makes the development process easier.

To build the installer:

1. Perform the steps in Adding Post-Install Actions.
2. On the Build page, click Build Installers. The Build Installers view opens.
3. In the Select Build Configuration list, select Default Configuration.

Each InstallAnywhere project can have multiple build configurations, each representing how InstallAnywhere builds the installer for a particular set of platforms, files, build distributions, JVMs, and other settings. You can create and modify build configurations on the Build Configurations tab. For more information on build configurations, see Working with Build Configurations.

4. On the Build Targets tab, click the plus sign next to Windows. InstallAnywhere displays the Windows platform customizer.
5. Select the Without VM check box, and under it select the Search for VM; if not found exit check box.
6. Select the With VM check box, and under it select Don’t search for VM; use bundled VM. Because you selected With VM, InstallAnywhere will bundle the installer with a VM.
With VM is selectable only for platforms that have a VM pack.
VM packs should be placed in the [InstallAnywhere]/resource/installer_vms folder, and then InstallAnywhere should be restarted to refresh the available VM packs.

The Build Configurations tab in the Build Installers view also includes three additional subtabs:

Distribution—Configure options for the types of installers to build, and specify the optimization options for each installer. If the installer include platform-specific files, these files would be optimized based on the application of the Check Platform rules. For more information, see Distribution Subtab.
Tags—You can use tags to bundle different sets of actions, panels, features, and components into build configurations. After you define a set of tags for a project, you then assign an appropriate tag to all of those project elements that you want to include in some build configurations but exclude from others. Then, on the Tags subtab of the Build Configurations tab, you specify which tags you want to include in the selected build configuration and which tags you want to exclude from it. For more information, see Tags Subtab.
Locales—Use the Locales subtab to define the languages to include in each build configuration. For more information, see Locales Subtab.

Note:The Build Log tab of the Build Installers view displays the XML log of previous builds.

7. Click Build Project. The Building information dialog opens displays the progress of the build.

When the build is complete, the dialog box displays the message Build successful.

8. Click OK.
9. Proceed with the steps in Testing the Installer