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
- :
- 64-bit component in a 32-bit install
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
‎Nov 17, 2011
02:20 AM
64-bit component in a 32-bit install
I have one file, just one, that I need to substitute for another when my installation is run on a 64-bit system. I don't think I want to have a 64-bit installation when there is just one component that needs to be different. I think that I could do what I want if I can detect a 64-bit system in the script.rul, and enable the 64-bit component and disable the 32-bit component it must replace.
Seems simple, but I have not found an example or suggestion that matches what I want to do. How do I determine if my 32-bit installation is running on a 64-bit system?
- Gordon
Seems simple, but I have not found an example or suggestion that matches what I want to do. How do I determine if my 32-bit installation is running on a 64-bit system?
- Gordon
(3) Replies
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2011
10:57 AM
Check the value of the VersionNT64 property. The installer sets the VersionNT64 property to the version number for the operating system only if the system is running on a 64-bit computer. The property is undefined if the operating system is not 64-bit.
Hope that helps!
Hope that helps!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2011
09:24 AM
Thank you for the suggestion. Since I posted I stumbled on that factoid and it works great for me.
- G
- G
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2011
09:51 AM
No problem. Glad to hear you're in business...
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)