Loading
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

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

Loading
64-bit component in a 32-bit install