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

How to check if the target system is a WIn7 32-bit or 64-bit?

Hi,

I have a config files which needs to be installed in different locations for Win7 32-bit and 64-bit. In InstallScript, how to check if the target system is a 32-bit or 64-bit?

Thanks!
Labels (1)
0 Kudos
(2) Replies
enanrum
Level 9

You can change the Directory of the Component using a Set Directory Custom action with condition VersionNT64.

http://msdn.microsoft.com/en-us/library/windows/desktop/aa372497(v=vs.85).aspx
0 Kudos
happyc
Level 3

Thank you!

I also need to update a config file at install. But I am unable to use INSTALLDIR. How to use this VersionNT64 property in my InstallScript?

Thanks!
0 Kudos