Good information thanks! -----Original Message----- From: Blair [mailto:os...@live.com] Sent: Sunday, October 11, 2009 3:01 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Which way to install a Windows service is best?
1. There are several issues that are resolved by using DTF to run managed code custom actions, among which is a problem whereby if a custom action instance of msiexec loads the managed runtime and is reused for a different action, it can't load a different version of the runtime (if needed). By calling out to an out-of-process and using a pipe to provide all the advantages of in-process you prevent that problem while also preventing the issues with out-of-process (aka EXE) CAs. It is the current recommended best practice. 2. Yes, you should put your CA in the binary table. Using assemblies you install leads to several of the evils of self-registration. If you use DTF, you can package multiple assemblies in the same CA "DLL", so you should be able to design a system whereby you don't have to ever depend on anything except the .NET framework you built against. 3. See the DTF.chm file in your WiX installation's doc folder. [CustomAction] public static ActionResult SampleCustomAction1(Session session) { session.Log("Hello from SampleCA1"); session["PROPERTYINEED"] = "My property's value"; if(1 == 1) { return ActionResult.Success; } else return ActionResult.Failure; } ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users