Well, it should be able to load, since the methods exist in WixExtension, I just didn't override any of them to do actual work. Good thought though. I'm setting up to debug through Candle now so I can find where the issue is.
Chris On Fri, Jul 11, 2008 at 3:05 PM, Rob Mensching <[EMAIL PROTECTED]> wrote: > The problem might be that there's no entry point for candle to attach to... > assuming you have a completely empty Extension. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Christopher Karper > Sent: Friday, July 11, 2008 10:36 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Wix Extension Problem > > Yeah, I tried doing that, and it compiled fine, I just got this loading > error every single time, so I figured I was messing something up in my > complication. > > But, even my simple one seems to fail, and I don't understand it. The > assembly is valid, I can look at it in .NET Reflector, and it has all the > proper attributes, etc.. so I'm not real sure how Candle is validating it, > but it fails there. > > Chris > > On Fri, Jul 11, 2008 at 1:27 PM, Neil Enns <[EMAIL PROTECTED]> > wrote: > > > For what it's worth I got going simply by duplicating what the > > WixUtilExtension does. Similar to your SqlExtension approach I think. I > > trimmed it down to just implementing a stub compiler object and extension > > object. > > > > My biggest problem was figuring out the appropriate string to pass in to > > load the .xsd and .wixlib. > > > > Neil > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] On Behalf Of Christopher Karper > > Sent: Friday, July 11, 2008 10:22 AM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Wix Extension Problem > > > > That would be excellent. I can't really wait, but I fear I will not > make > > substantial progress today, so it would probably be wonderful to have > this > > anyway. :-) > > > > Chris > > > > On Fri, Jul 11, 2008 at 1:17 PM, Neil Enns <[EMAIL PROTECTED]> > > wrote: > > > > > Christopher, > > > > > > Last night in my aborted attempt to automate including files in my > > > installer, I got a basic extension up and running and working. If you > can > > > wait, I can zip it up and send it to you tonight as a starting point. > > > > > > Neil > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto: > > > [EMAIL PROTECTED] On Behalf Of Brian Rogers > > > Sent: Friday, July 11, 2008 10:15 AM > > > To: General discussion for Windows Installer XML toolset. > > > Subject: Re: [WiX-users] Wix Extension Problem > > > > > > Do you have a compiler class specified? It is going to be a bit > difficult > > > to > > > troubleshoot this without some additional information. Have you also > > > specified an XSD? Are you adding the project to the CVS checkout or are > > you > > > building as a stand-alone? > > > -- > > > Brian Rogers > > > "Intelligence removes complexity." - Me > > > http://www.codeplex.com/wixml/ > > > > > > On Fri, Jul 11, 2008 at 10:09 AM, Christopher Karper < > > > [EMAIL PROTECTED]> wrote: > > > > > > > OK, I'm trying to build a Wix extension to handle some tasks for me. > > > > First > > > > I tried basing mine off of the code in SqlExtension from the Wix > > source, > > > > but > > > > that did not work at all. > > > > > > > > Then I tried the dumbest simple sample: > > > > > > > > > > > > > > http://blogs.msdn.com/pmarcu/archive/2007/11/02/wix-writing-your-own-wix-extension-part-1.aspx > > > > > > > > As detailed in that blog post. An extension that does nothing but > > load. > > > > And that doesn't work. > > > > Something is wrong somewhere, and I'm beginning to think it's not me. > > > Can > > > > someone clue me in to what I'm missing, or which piece is broken? > > > > > > > > > > > > I can build the extension with no issues, but: > > > > > > > > > > > > D:\src\SampleWixExtension\SampleWixExtension\bin\Debug>candle > Test.wxs > > > -ext > > > > SampleWixExtension.dll > > > > Microsoft (R) Windows Installer Xml Compiler version 3.0.4207.0 > > > > Copyright (C) Microsoft Corporation. All rights reserved. > > > > > > > > candle.exe : error CNDL0144 : The extension 'SampleWixExtension.dll' > > > could > > > > not be loaded. > > > > > > > > > > > > Every time, I get this error, no matter what changes I make... > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > ------------------------------------------------------------------------- > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users