Marco, What you have done sounds okay. We use a vbscript to call heat for ANYCPU targets. What it does is extract the 32 bit information into one wxs file, then copies that file for the 64 bit msi, stripping out the common registration information and the file delivery information, leaving only the registry keys which would be created in the 64 bit registry hive. We did it this way because the 64 bit install is optional on top of the 32 bit, meaning the 64 bit could be installed, then removed and the product would have to still work; so I have to remove any common registry keys to prevent the clash. Brian
________________________________ From: Marco Tognacci <[email protected]> To: General discussion for Windows Installer XML toolset. <[email protected]> Sent: Saturday, August 10, 2013 3:38 AM Subject: Re: [WiX-users] [WiX-devs] How can I Register a Component in Both 32 and 64 Bit Using a Single MSI For doing this I have used Heat for harvesting the registration keys, but for registering for 32 and 64 bit OS the same dll installed in the 32 bit Program FIles folder I had created 2 msi package one compiled in 32bit mode with the installation of the main program and the registration for the 32 bit OS and the a 64 bit msi with the only registration of the dll for the 64 bit OS passing to it the path of the installed 32 bit dll to register. > From: [email protected] > To: [email protected] > Date: Fri, 9 Aug 2013 11:35:21 -0700 > Subject: Re: [WiX-users] [WiX-devs] How can I Register a Component in Both 32 > and 64 Bit Using a Single MSI > > Duplicate the registration code in parallel 32-bit component(s). > > > From: [email protected] > > To: [email protected] > > Date: Fri, 9 Aug 2013 14:21:21 +0000 > > Subject: Re: [WiX-users] [WiX-devs] How can I Register a Component in Both > > 32 and 64 Bit Using a Single MSI > > > > Hi Wix Gurus, > > > > I have a .Net Assembly that is exposed to COM, and is compiled as ANYCPU. I > > would like to register it in both 32 and 64 bit registry views so that it > > can be consumed by both 32 and 64 bit applications. > > > > Is there a way I can create one single MSI using Wix to install the > > binaries in one directory, for example C:\Program > > Files\MySuperComAssembly\, and then register in 64 bit and 32 bit views? > > > > Thank you all for your help. > > Andrew > > > > > > =============================================================================== > > > > Please access the attached hyperlink for an important electronic > > communications disclaimer: > > http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html > > =============================================================================== > > > > > > > > ------------------------------------------------------------------------------ > > Get 100% visibility into Java/.NET code with AppDynamics Lite! > > It's a free troubleshooting tool designed for production. > > Get down to code-level detail for bottlenecks, with <2% overhead. > > Download for free and get started troubleshooting in minutes. > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > _______________________________________________ > > WiX-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

