cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
GordonWeil
Level 3

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
Labels (1)
0 Kudos
(3) Replies
Not applicable

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!
0 Kudos
GordonWeil
Level 3

Thank you for the suggestion. Since I posted I stumbled on that factoid and it works great for me.

- G
0 Kudos
Not applicable

No problem. Glad to hear you're in business...
0 Kudos