I don't know if I am getting this wrong, but can't you simply check for the 
existance of the VersionNT64 Property?
It is set by the windows installer only on 64 bit systems.

Look here: http://msdn.microsoft.com/en-us/library/aa372497(VS.85).aspx


-----Ursprüngliche Nachricht-----
Von: akash bhatia [mailto:911ak...@gmail.com] 
Gesendet: Mittwoch, 25. Februar 2009 06:58
An: General discussion for Windows Installer XML toolset.
Betreff: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

Hi,

How can we find for the type of target machine (32 bit or 64 bit)?

Right now am checking for the existence of the folder * [WINDIR]\SysWOW64* ?

Is this the right way to check for type of target machine ?



Thanks,

Akash
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to