Trevor
Trevor

Reputation: 13437

How to configure an InstallShield 2009 project to run on 32- and 64-bit systems

I have a 32-bit application that I'm packaging with InstallShield 2009 Premier. I would like to be able to install it on 32- and 64-bit machines, but the InstallShield installer doesn't seem to be able to automatically detect that it's being run on a 64-bit machine and consequently redirect the creation of registry keys to HKLM\Software\Wow6432Node... and the creation of files to C:\Program Files (x86)... Despite my best googling, I can't seem to find out how to configure the InstallShield project to account for this.

Any ideas?

Upvotes: 3

Views: 1832

Answers (1)

Cosmin
Cosmin

Reputation: 21416

Since you have a 32-bit application, you need to leave its installer the way it is.

Wow6432Node and Program Files (x86) were specifically designed for 32-bit applications. On a 64-bit machine Program Files and HKLM\Software are for 64-bit applications only.

A mixed 32/64-bit installer can be used only for an AnyCPU application.

Upvotes: 1

Related Questions