I would recommend using the DTF "wrapper" for C# (or any other .net) custom actions. If your C# code is AnyCPU you won't need to worry about bitness for the CA code itself using DTF.
Otherwise, 32-bit CAs work in all 64-bit systems that have WoW64 present (see http://blogs.msdn.com/heaths/archive/2009/11/06/wow64-is-optional-in-windows -server-2008-r2-server-core.aspx). Know that 32-bit code in a 64-bit system may have to use WoW64 APIs to "see" some things you may wish to access when it runs. -----Original Message----- From: Sagar1111 [mailto:sagarkavitak...@gmail.com] Sent: Tuesday, December 29, 2009 11:16 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Creating MSI for 64bit machine Thank you very for the quick reply Rob and Michael. I have a custom Action written in C# which is being used in the MSI. So do i need to build that custom action separately for 32 bit and 64 bit and then use those specific "CA.dll" files for respective MSI -Sagar1111 Rob Mensching-7 wrote: > > candle -arch will switch the Package/@Platform to 64-bit. That's about all > you need to do. Then you can mark Components/@Win64 as necessary. > File/@ProcessorArchitecture probably won't be needed. > > Play with it a little bit, that tends to help a lot. > > On Tue, Dec 29, 2009 at 6:24 AM, Sagar1111 > <sagarkavitak...@gmail.com>wrote: > >> >> Hi >> I want to develop a 64 bit MSI. >> I have already developed 32 bit MSI. But now if i had to modify it for 64 >> bit machine, what changes do i need to make? >> For eg:Package/@Platform , Component/@Win64, file/@ProcessorArchitecture >> >> or will candle -arch command build 64 bit MSI for me? >> >> I am pretty much confused! >> Please help ASAP >> -- >> View this message in context: >> http://n2.nabble.com/Creating-MSI-for-64bit-machine-tp4227783p4227783.html >> Sent from the wix-users mailing list archive at Nabble.com. >> >> >> ---------------------------------------------------------------------------- -- >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > ---------------------------------------------------------------------------- -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Creating-MSI-for-64-bit-machine-tp4227783p4231246.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-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 the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users