Hi again, I am at a loss for how to get this done the suggested way. I found some info on stackoverflow referencing exactly what I want to do.
Simmen: "I have developed a WMI provider in C# using the System.Management.Instrumentation namespace. I need to install the provider into the GAC and register it with the WMI repository using MSI. How might I accomplish this with WIX?" Rob Mensching: "You'll need a CustomAction to register the WMI provider. We've thought about adding a standard CustomAction to the WiX toolset to support this but haven't had the time to do so yet. Probably quite a bit of work." Simmen: "Is it possible to do this without invoking InstallUtil.exe? We want to refrain from using InstallUtil because it lacks support for rollback scenarios." Rob Mensching: "Yeah, InstallUtil.exe should never be used for CustomActions. Using DLLs that read tables from the MSI are the way that all the WiX toolset CustomActions are implemented. You might check them out." So now I am very lost. Using installutil is not the way to go...so what is the way to achieve this. I am not well versed in windows installer lingo so I have no clue what " Using DLLs that read tables from the MSI are the way that all the WiX toolset CustomActions are implemented." means. Is it possible for someone to point me in the right direction on this, please. I have a customaction being called in my installer which just prints a log entry. I have no clue what I need to do in my customaction to get the dll registered. Any help is greatly appreciated. Glenn -----Original Message----- From: Glenn Macgregor [mailto:gmacgre...@pocketkings.ie] Sent: 26 May 2009 14:17 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] DTF and selfreg dll Hi All, I have created a custom action in C# I want this CA to "install" the selfreg information from a dll I have created. Does anyone know what classes I need to use in the DTF to make this happen. Thanks 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