Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

x64 Install to Program Files folder

Created: 22 Mar 2010 • Updated: 21 May 2010 | 2 comments
This issue has been solved. See solution.
I feel like I have officially lost it. I am trying to install some files to 'c:\program files' regardless of whether it is a 32-bit or 64-bit PC and the 64-bit environments keep going to Program Files (x86). There's a custom script that looks only in 'c:\program files' so the (x86) is throwing it off. I thought maybe I would need to create 2 separate installs so I changed the Template Summary to specify Intel64;1033,2046 or  just x64 - recompiled but the files and folders always get built under the Program Files (x86) folder. What am I missing?

Comments 2 CommentsJump to latest comment

EdT's picture

Any application detected as a 32 bit application, either by virtue of having a 32 bit installer, or by virtue of its content, will be installed to the (x86) folder by the operating system regardless of what you ask it to do.
You cannot mix 32 bit and 64 bit installs into one MSI either.
If you start with a 64 bit template and install 64 bit files then they should correctly go into the Program Files folder.
The simplest solution may be to have two versions of your custom script, one of which works with Program Files (x86) and one which works with Program Files. Or have one version that reads the correct path from the shell folder lists in the registry.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

SOLUTION