Not quite. It has to be a static class with a static method that takes the Session class as an argument. The blog post I mentioned explains how it all works but there is an update. Since then WiX added a C# Custom Action project type to Visual Studio under WiX. Use that to generate your project and you'll see how it all comes together. And yes, Binary, CustomAction, Sequence and so on.... as shown here: http://blog.deploymentengineering.com/2009/02/msi-tip-how-to-reuse-customaction-for.html
--- Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Tue, 5/10/11, vatson <srivatson.tiruma...@citrix.com> wrote: From: vatson <srivatson.tiruma...@citrix.com> Subject: Re: [WiX-users] InstallUtil.exe alternatives To: wix-users@lists.sourceforge.net Date: Tuesday, May 10, 2011, 3:26 PM Hi, Thanks for your response. The DTF option looks pretty interesting, based on your blog post. If my understanding is correct, can i simply replace the RunInstaller attribute that I currently have in my assemblies with the CustomAction attribute, and then use DTF to convert it into CA's the MSI can use? Also I'm not quite clear as to how to integrate this with the MSI. Do I have to follow the regular way and add the DLL (after MakeSfxCa has been run) to the binary table and then add CA entries in the CA table to execute the custom actions? Is there an example you could add in the post? Thanks, -Srivatson -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/InstallUtil-exe-alternatives-tp6349071p6349406.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users