I have a Wix project from which I would like to install 32-bit drivers when built with the x86 release configuration and 64-bit drivers when built with x64.
The way I am doing this just now is with two identical projects but one referencing difxapp_x86 and the other referencing difxapp_x64. Can I improve on this?
Also, if I reference difxapp_x86 and build the 64 bit version, then unsurprisingly I get the msi error:
"DIFXAPP: ERROR - You need to use the 64-bit version of DIFXAPP.DLL to install drivers on this machine."
Is it possible to reference these conditionally based on the selected build configuration?
Thanks, Alan