This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- why is TARGETDIR set to "program files (x86)" on 64 bit Windows.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 24, 2011
07:49 AM
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?
Is there a new variable that should be used with 64 bit installs or have I failed to set a variable somewhere?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 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.
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.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)