Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 792
Groo Avatar asked Feb 24 '10 13:02

Groo


1 Answers

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.

like image 157
Bob Arnson Avatar answered Sep 24 '22 10:09

Bob Arnson