PDA

View Full Version : Processor bitness condition on custom action



marcoden
10-14-2011, 03:42 PM
I would like to create a custom action that launches an device driver installation that has a condition related to the target machines processor's bitness. Example: launch one device driver installer if the the processor is 32-bit and a different one if the processor is 64-bit. Is there anyway to do this?

hidenori
10-26-2011, 05:21 PM
You may want to consider using the VersionNT64 (http://msdn.microsoft.com/en-us/library/aa372497(v=VS.85).aspx) property. For more operating system properties defined by Windows Installer, check out this property reference (http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx#operating_system_properties).