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
‎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
‎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!
‎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