Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Including 32- and 64-bit merge modules in one WiX installer

I'm writing merge modules for a project I'm working on.

I build two merge modules, one for 32-bit and one for 64-bit. I want to include them in a WiX installer but it tells me I can't: error LGHT0345: 'installer\bin\x64\Release\en-us\myproject.msm' is a 64-bit merge module but the product consuming it is 32-bit. 32-bit products can consume only 32-bit merge modules.

Is there a way to make a dual CPU project so I can include both?

WiX version is 3.6.

like image 980
erik Avatar asked Dec 31 '25 20:12

erik


1 Answers

Windows Installer doesn't support multi-platform packages. If you need to write to the 64-bit portion of the file system or registry, you need a 64-bit package.

like image 93
Bob Arnson Avatar answered Jan 03 '26 22:01

Bob Arnson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!