You create a MessageEventArgs and send it to the OnMessage() call. Now, as I've been playing with it myself, MessageEventArgs is kinda' difficult to use because we designed it to work with resources in your assembly (so that messages could be localized).
I'm looking at simplifying some of this in the next few weeks. On Wed, Mar 16, 2011 at 12:42 AM, Dennis Reil <dr...@opentext.com> wrote: > Yeah, it get's loaded. I see this from an error that occurs while running > my extension. I now temporarily use log4net to put out my messages, but I > guess this is not the intended way to do so ;-) > > How would I put out messages using the Core object? I had a look at the > OnMessage() method, but couldn't really figure out how to use it. > > Regards, > Dennis > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: Dienstag, 15. März 2011 14:07 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Custom Wix 3.5 PreprocessorExtension and > debugmessages > > Never tried output console messages directly. I always use the core object > to report messages. Are you sure that the extension is getting loaded? Did > you add the appropririate project reference? Need a bit more detail about > what you are doing to really be helpful. > > On Mon, Mar 14, 2011 at 5:27 AM, Dennis Reil <dr...@opentext.com> wrote: > > > Hi, > > > > > > > > I'm currently developing a custom wix 3.5 preprocessor extension. I want > > to put out some debug messages, but cannot get it working. Can anyone > > tell me how to do this? > > > > > > > > Btw, I'm using votive to actually execute the extension when building a > > merge module. Maybe there's just some additional configuration needed to > > put out console messages, etc. > > > > > > > > Regards, > > > > Dennis > > > > > > > > > > > ------------------------------------------------------------------------------ > > Colocation vs. Managed Hosting > > A question and answer guide to determining the best fit > > for your organization - today and in the future. > > http://p.sf.net/sfu/internap-sfd2d > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users