Did you run the extension in the debugger and verify that it was really returning an object (and not null)?
-----Original Message----- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: Thursday, July 08, 2010 10:13 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Compiler extension - how to include a custom action? Oops. Sorry. I posted the wrong part of the code. Here's the part that I use to register the .wixlib: public override Library GetLibrary(TableDefinitionCollection tableDefinitions) { if (this.library == null) { this.library = LoadLibraryHelper( Assembly.GetExecutingAssembly(), "SuperWixExtension.SuperWixExtensionLibrary.wixlib", tableDefinitions); } return this.library; } Thank, Nick -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Compiler-exten sion-how-to-include-a-custom-action-tp5271086p5271098.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 ------------------------------------------------------------------------------ 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