views:

249

answers:

1

Is it possible to include difxapp_x86.wixlib or difxapp_x64.wixlib in same WiX setup to install a driver in both 32-bit and 64-bit machines?

Background is that we have a setup which needs to be 32-bit regardless of the target platform (it's a .NET application which uses 32-bit COM components, so we must build .Net assemblies as x86).

So at the end there is no difference in the MSI source files, except that 64-bit machines require difxapp_x64.wixlib to install the driver properly, and it seems like I still need to create two separate 32-bit MSI files for 32/64-bit platforms. Does that seem ok?

+2  A: 

No, it's not possible: If all your components were 32-bit, you could use a single .msi but you have x64 components (the drivers) and DifxApp uses the same ids for their 32-bit and 64-bit custom actions, so they can't both co-exist in the same .msi package.

Bob Arnson
Yes, that was the exact problem during MSI build; DifxApp actions were duplicated. I hoped that it would still be possible to do it somehow.
Groo