InstallShield setups use it to call Installer classes, and I think
Advanced Installer does too because they support dialog boxes with the
same set of parameters as Visual Studio. Whether these uses are
actually blessed in some way by Microsoft I don't know.
Documentation? You mean the error messages aren't completely clear? ;=)
Phil Wilson
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Vottero
Sent: Friday, April 20, 2007 10:34 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using .NET 2.0 Managed Custom Actions
Have you found documentation for InstallUtilLib.dll? Did Microsoft add
it to the list of redistributable software?
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Friday, April 20, 2007 12:43 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using .NET 2.0 Managed Custom Actions
Congratulations - you reinvented InstallUtilLib.dll...........
Phil Wilson
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mailinglist
Sent: Friday, April 20, 2007 4:52 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using .NET 2.0 Managed Custom Actions
Hello WiX-users,
because we needed to use managed custom actions in our setup, I searched
around the net for a real solution to this.
I found two projects ([1],[2]), that followed quite good ideas, but
both did not work out of the box or only under special circumstances. So
I combined them both to something working.
Simply, we now use a custom action to start a C++ library, that hosts
the CLR, loads a specified assembly and calls a class that needs to
implement a small interface. From inside that class the installer
context can be used to fill properties, etc.
Since the demo code package is 3 MB, I uploaded it to Rapidshare [3] as
well as to my blog [4].
Greetings,
Oliver Friedrich
Consultant - Software Solutions
[1] "Hosting the CLR within a custom action" - Pablo M. Cibaro -
http://weblogs.asp.net/cibrax/archive/2005/04/11/399839.aspx
[2] "Wrapping the Windows Installer 2.0 API" -
http://www.codeproject.com/csharp/msiinterop.asp
[3] Rapidshare Download Link:
http://rapidshare.com/files/26953203/ManagedCustomActions.zip.html
[4] Blogentry: http://www.forestwalk.de/?p=31
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users