Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows Applications


This document describes how to create InstallAnywhere™ installations for hybrid applications, which include both 32-bit and 64-bit native Windows code. These applications typically require installing files to both 32-bit and 64-bit specific locations on the target system. In addition, this may require you to install both a 32-bit and 64-bit virtual machine within a single installation. InstallAnywhere allows you to accomplish both of these tasks with a few simple steps, described below.

Use Cases

64-bit Windows allows for applications that are a mix of 32-bit and 64-bit native code. This scenario is fairly common, as application developers often port processor-intensive code to 64-bit before porting other code. Application elements that require only “keyboard performance” may remain as 32-bit code. The result is a hybrid application with components that need to be installed to both the 32-bit and 64-bit areas of the file system and registry.


An enterprise database server:

  • 32-bit tools
    • Management tools
    • Analysis tools
  • 64-bit tools
    • The core database server
    • Service Manager
    • Command line utilities

Installing Hybrid Applications with InstallAnywhere

With InstallAnywhere, it is possible to create a single installation to install both 32-bit and 64-bit components to a single 64-bit system. The same installation could also be used to install 32-bit components to a 32-bit system. Furthermore, the same installation can install a 32-bit JVM for the 32-bit components, and a 64-bit Java VM for the 64-bit components. It is thus possible to create a single installation for all the Windows systems and variations that your application supports.

Installing Files to Both 64-Bit and 32-Bit Locations

To install files to 32-bit or 64-bit specific locations on a Windows 64-bit system, you’ll need use the new 32- bit and 64-bit specific Magic Folders available in the InstallAnywhere customizer. Magic folders and associated InstallAnywhere variables have been created for the following locations.

Magic Folder InstallAnywhere Variable
Programs Folder (32-bit) $PROGRAMS_DIR_32$
Programs Folder (64-bit) $PROGRAMS_DIR_64$
System Folder (32-bit) $SYSTEM_32$
System Folder (64-bit) $SYSTEM_64$