Single 32-bit MSI with 32/64-bit drivers

Is it possible to enable diffxapp_ x86 .wixlib or difxapp_ x64 .wixlib in the same WiX to install the driver on both 32-bit and 64-bit machines?

It is assumed that we have a setting that should be 32-bit regardless of the target platform (this is a .NET application that uses 32-bit COM components, therefore it should build .Net assemblies as x86 ).

So in the end there is no difference in the MSI source files, except that for 64-bit machines diffxapp_x64.wixlib is required to install the driver correctly, and it seems that I still need to create two separate 32-bit MSI files for 32 / 64-bit platforms. Does that seem okay?

+7
64bit com wix driver
source share
1 answer

No, this is not possible: if all your components were 32-bit, you could use one MSI. But you have x64 components (drivers), and DifxApp uses the same identifiers for its 32-bit and 64-bit user actions, so they cannot both coexist in the same .msi package.

+5
source share

All Articles