The <?if ... ?> statements are pre-compile statements so you would need to build your project twice to get a x64 MSI and a x86 MSI. You can then chain those platform specific packages in a Bundle.exe.
I recommend that you look at the following example: http://alekdavis.blogspot.com/2011/05/build-32-and-64-bit-installers-using.html And one way to improve that example is to use the following in your wixproj (generally rather than using Component/@Wix64) <InstallerPlatform>x64</InstallerPlatform> There are multiple posts in the forum that provide more details on this. It looks like you are trying to install a driver. The DiffxAppExtension is the thing to use for that. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installer-for-x86-and-x64-tp7598936p7598940.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users