cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chriscw
Level 6

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

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?
Labels (1)
0 Kudos
(1) Reply
chriscw
Level 6

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.
0 Kudos