Rob, Thanks for the info. I have created a sample CA and have it working. I am now looking into actually registering the dll so my WMI instrumentation will work correctly. My CA is set to deferred execution and I am not sure what class(es) give me the info I need to do the registration. I have been over the DTF docs and not found anything that helps.
Thanks Glenn -----Original Message----- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: 26 May 2009 02:12 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix & installutil question If you must use managed code for a CustomAction (native code is better) use DTF instead of InstallUtil. InstallUtil is just a glorified self-reg and self-reg is well known to be bad for installation. DTF is included as part of the WiX toolset. Glenn Macgregor wrote: > Hi All, > > I am new to wix, from what I have seen thus far it is great. I have a windows > service which I install using the ServiceInstall and ServiceControl tags. > That part works fine, the service gets installed as expected. Along with the > service exe file I also install a dll which has WMI instrumented code and the > necessary installers (DefaultManagementInstaller and > DefaultManagementProjectInstaller). > > The only way I can see to get that working is to call installutil dllname, > that handles installing the necessary instrumentation into the system. Do I > need to use installutil inside a wix installer or is there a builtin > mechanism to do this? If not how can I add the necessary installutil calls to > the wix project? > > Thanks for you help. > > Glenn > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users