Hello all, I've gotten pretty far (I think) in creating a compiler extension. So far, my extension is a .dll that can be included in my WiX MSI project. After including the extension, I can see my new element in Visual Studio and can add attributes to it. When I use it, a new custom table is created in the MSI.
I've created a .wixlib project and embedded it inside my extension. In that .wixlib, I've defined a C# DTF custom action. It's simple. It just reads my custom table and shows a messagebox with the values from it. However, so far, I can't get my installer to recognize the custom action (or anything else in the .wixlib) when I include my extension and use one of its elements. In my extension, I'm using this code to pull the .wixlib in: public override TableDefinitionCollection TableDefinitions { get { if (this.tableDefinitions == null) { this.tableDefinitions = LoadTableDefinitionHelper( Assembly.GetExecutingAssembly(), "MyWixExtension.Tables.MyWixTable.xml"); } return this.tableDefinitions; } } Do I need to do anything else? Thanks for any help! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Compiler-extension-how-to-include-a-custom-action-tp5271086p5271086.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users