View Full Version : why is TARGETDIR set to "program files (x86)" on 64 bit Windows.

10-24-2011, 07:49 AM
I am creating our first 64 bit windows installation and note that the default install path variable TARGETDIR is being set to "Program Files (x86)" when setup is launched on a 64 bit Windows 7 install not "Program Files" as expected.

Is there a new variable that should be used with 64 bit installs or have I failed to set a variable somewhere?

10-24-2011, 09:23 AM
OK it appears that there is a new constant called PROGRAMFILES64 that can be used to build the correct path for a 64 bit install so I am testing with that now. I note though that for Installscript projects the Template summary property does not exit in General information nor can I find a 64 bit Component setting in any of my components so I suspect I am missing something here.

I understand that unless I want to do things like install COM servers components I can target 64 bit systems with and install built on a 32 bit one but feel I ought to have to specify something to make this happen.