When Are VM Packs Installed?

InstallAnywhere 2024 R2

Whether or not a VM Pack is installed along with your installer depends on several conditions.

VM Pack Will Be Installed

A VM will be installed under the following conditions:

You bundle a VM with the installer and set the Install Bundled/Downloaded Virtual Machine option without setting the Only When Installing a LaunchAnywhere and Only When a Compatible VM Is Not Found in the System options.
You bundle a VM with the installer, and set the Install Bundled/Downloaded Virtual Machine and Only When Installing a LaunchAnywhere options, and LaunchAnywhere executable files are installed on the target system.
You bundle a VM with the installer, and set the Install Bundled/Downloaded Virtual Machine and Only When a Compatible VM Is Not Found in the System options, and no compatible VM is found on the target system.
You bundle a VM with the installer, set the Install Bundled/Downloaded Virtual Machine option, and include a Choose Java VM panel in which the end user chooses the bundled VM at install time.

VM Pack Will Not Be Installed

A VM pack will not be installed under the following conditions:

The installer is built without a bundled VM.
You bundle a VM with the installer, but you deselect the Install Bundled/Downloaded Virtual Machine option on the Installer Settings tab (Project page > JVM Settings view).
You bundle a VM with the installer, but you set the Only When a Compatible VM Is Not Found in the System option and a compatible VM is found during the installer’s VM search.
You bundle a VM with the installer, but you set the Only When Installing a LaunchAnywhere option and LaunchAnywhere executable files were not installed (including the Uninstaller’s LaunchAnywhere executable file).

Note:For more information about VM packs, see Working with JRE VM Packs.

See Also