The InstallUtilLib infrastructure for calling managed code has no functionality that cannot be handled by running your managed code as an executable. Properties pass one way into the managed code whether into installer classes or executables. In the vast majority of cases there's simply no point calling a managed code custom action assembly via InstallUtilLib. You can achieve the same result by running an executable, passing the parameters via the command line, and waiting for the executable to complete. If you've already got code in installer classes in assemblies, just get a managed code executable to call them. This eliminates the issues relating to frameworks in the process and running in the context of the MSI process (instead of your application).
Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frederic Mokren Sent: Tuesday, August 14, 2007 4:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Managed Custom Action I've been attempting to add a managed custom action following instructions that I found on various blogs and by using dark on Visual Studio created MSI. The gist of it is I use installutillib.dll using ManagedInstall as the DLLEntry. I also created custom action that sets a property for the managed custom action. Anyhow I followed the guides on various blogs and rechecked my WiX many times over. Each time I run the install I get a '1001' error from the Custom Action (presumably from installutillib.dll). Does anyone have any more information on this error? Sincerely, Frederic Mokren /* No Comment */ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users