I think I found a solution that works. For both MSIs I split the files into 2 media elements - one embedded and one external (for the shared files). Then I build both MSIs and compare the external CABs to verify they are identical.
When the installer runs it extracts one of the MSIs and the shared cab. Then with some database voodoo from msi.dll I embed the shared cab into the MSI and change the Cabinet field in the Media table to start with #. This marks it as internal. Thanks for your help Ivo -----Original Message----- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Sunday, June 23, 2013 7:59 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Multi-platform installer with WiX On 23-Jun-13 15:13, Ivo Beltchev wrote: > I need an installer that can work for both 32-bit and 64-bit OS. > Currently I build 2 separate MSIs and bundle them together in a > bootstrapper EXE. The problem is that 90% of the files are common > between the two platforms and my installer is almost double of what it can be. Build your packages so that the 32-bit package installs on both x86 and x64 OSes and the 64-bit package installs only necessary 64-bit components. > Another solution I'm looking at is to create 2 MSI files with a shared CAB. > I can't find any instructions how to create such CAB though. If the > 32-bit and the 64-bit MSIs produce their own CABs, how do I combine > them into one file that has no duplicate resources? Use multiple Media elements to create multiple .cabs. -- sig://boB http://joyofsetup.com/ ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users