To answer my own question: NO -- the CLR loaded will be 32-bit and all "downstream" calls into .NET custom actions will run as 32-bit and be victims of registry redirection.
Sanin wrote: > > Bob, thanks for your reply. > > To make sure let me summarize: > > Although my CLR loader, which is actually a C++ custom action for WiX, is > 32-bit IT WILL be able to load the 64-bit CLR into the installer process > and kick off .NET custom actions, which in turn may write files and > registry keys without redirection, right? > > > Bob Arnson-6 wrote: >> >> Sanin wrote: >>> 1. Do I have to recompile my shim (i.e. C++ custom action) to 64-bit? >>> >> >> Probably not. The WiX custom actions are currently 32-bit because we >> were able to work on 64-bit portions of the file system by disabling >> file-system redirection when necessary. It's available in wcautil.lib; >> see the source code in src/ca/wcautil/wcawow64.cpp. >> >>> 2. If so, here is the problem: >>> - existing WiX C++ libraries (wcautil.lib and dutil.lib) are 32-bit. >>> >> >> That will be changing soon. The file-system redirection API doesn't >> solve problems with the registry, so we're adding support for 64-bit >> custom action builds. That will probably appear in the next couple of >> weeks. >> >> -- >> sig://boB >> http://joyofsetup.com/ >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > -- View this message in context: http://www.nabble.com/Recompiling-WiX-C%2B%2B-libs-for-64-bit-tp16261155p16330134.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users