I read through that blog entry but I saw the comment about "a cleaner approach is to call the custom action in a separate process". I didn't look at the code but everything described in the blog entry talks about using a DLL hosted in the Custom Action Server to create an AppDomain and load the managed code. That will end up "tattooing" the Windows Installer Custom Action Server with the version of the .NET Framework your AppDomain was hosted by. Then you can hit the GAC and load issues mentioned in my blog entry.
That's a partial solution. It may work for your particular scenario but isn't something that should be considered applicable for general use. The Windows Installer team has to look at the general use case and we try to do the same here on WiX. Adding an extension was a very nice touch to make it easier to adopt though. It is very high on my list of things to complete, to make it that extensions don't have to always be recompiled to work with the latest WiX toolset (which hopefully would take care of that problem). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krause, Henning Sent: Tuesday, April 29, 2008 23:55 To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Managed custom actions in Wix 3 Hi, > I think there may be differences between having managed custom action > support in Wix versus inventing your own way to launch a managed > assembly. Wix doesn't have to support managed CA's, you can do that > yourself. One could also write an extension for Wix (I would if I had > the time). Been there, done that: http://www.infinitec.de/articles/development/wixmanagedcustomactionextension .aspx Needs to be recompiled to get it working with the latest WiX version. Kind regards, Henning Krause ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users