PreviousNext
Macrovision

Targeting 64-Bit Operating Systems

InstallShield 2008

Project-Specific

Project

This information applies to the following project types:

If you are writing applications for 64-bit Windows operating systems, you will need a way to install your 64-bit files. Although 32-bit installations run on 64-bit machines, they cannot install 64-bit files and applications. The Windows Installer service provides support for 64-bit installations. These installations can be designed and compiled on 32-bit machines, but they can run only on 64-bit machines. Through the use of release flags, you can create one installation project for both 32-bit and 64-bit machines.

Configuring the Template Summary Property

If your installation targets 64-bit systems, configure the Template Summary property with the appropriate 64-bit value (x64 or Intel64). This allows end users to install your product on 64-bit systems; it also prevents end users from installing your product on 32-bit systems.

To learn more, see Using the Template Summary Property.

Creating 64-Bit Components

To specify that a component is 64 bit, select Yes for the component’s 64-Bit Component setting. If you build a release that has at least one 64-bit component, the result is a 64-bit package.

For more information about the 64-Bit Component setting, as well as additional component settings, see Component Properties.

Self-Registering 64-Bit COM Servers

InstallShield supports 64-bit self-registration of COM servers. If you mark a component as 64 bit and then add a file to that component, you can select the file’s Self Register check box to enable 64-bit self-registration of that file during installation. The Self Register check box is on the file’s Properties dialog box.

InstallShield also supports 64-bit self-registration of dynamically linked COM servers. To enable this, select the Self-Register all files check box on the Dynamic File Link Settings dialog box when you add the files dynamically to a 64-bit component. For more information, see Adding Dynamic File Links to Components.

Enabling or Disabling Registry Reflection

InstallShield includes support for the Windows Installer 4.0 attribute msidbComponentAttributesDisableRegistryReflection in the Component table. To use this attribute, set the Disable Registry Reflection setting for a selected component in the Components view to Yes. Registry reflection keeps the 32-bit registry view and the 64-bit registry view in sync on a target machine. Only 64-bit systems with Windows Installer 4.0 support this setting. Other systems ignore it. For more specific information, see Enabling and Disabling Registry Reflection.

Adding Other 64-Bit Elements

InstallShield includes support for additional 64-bit elements. For example, InstallShield includes 64-bit .NET Framework redistributables that you can add to your project. Custom actions can include 64-bit JScript or VBScript code, and 64-bit folder properties give you access to essential operating system folders such as the 64-bit Program Files folder. In addition, you can use the Setup Prerequisite Editor to configure setup prerequisites that have conditions that check for 64-bit requirements on the target system.

Note

Note

64-bit support requires Windows Installer version 2.0 or later.

See Also




Copyright Information | Contact Macrovision