Hello Joe, I think you need to have a clarify a little bit here. I am not quite sure what you mean by " I want to log all the events of that service to a custom event channel."? Wouldn't your application do this? ala http://www.nlog-project.org/ <http://www.nlog-project.org/>or are you meaning you want to log what happens during the install of said service? Either way I think I got you covered... My Ref: Event Logs and Channels in Windows Event Log http://msdn.microsoft.com/en-us/library/aa385225(VS.85).aspx http://wix.sourceforge.net/manual-wix2/wix_xsd_serviceinstall.htm Example of Event loging in wix: http://stackoverflow.com/questions/58538/how-do-you-create-an-event-log-source-using-wix
2009/4/17 Joe Osman <joe.os...@tait.co.nz> > I am installing a .NET service using the ServiceInstall element and I want > to log all the events of that service to a custom event channel. In Windows > Server 2008 and Windows Vista an application can create a custom event > channel under Applications and Services Logs in the event viewer. I want to > send the events to that custom channel. > > Is there any way to do it in WIX ? > > > > ======================================================================= > This email, including any attachments, is only for the intended > addressee. It is subject to copyright, is confidential and may be > the subject of legal or other privilege, none of which is waived or > lost by reason of this transmission. > If the receiver is not the intended addressee, please accept our > apologies, notify us by return, delete all copies and perform no > other act on the email. > Unfortunately, we cannot warrant that the email has not been > altered or corrupted during transmission. > ======================================================================= > > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users