Jarrod Marshall wrote: > > Is anyone actively registering event sources with the EventSource element? > > I have a need to but the documentation isn't quite clear on the > required EventMessageFile argument. What exactly is that? :) > > Anyone have an example that works? > > Thanks! > It's the name of the DLL that contains the text of your messages. I generally embed them within my executable, giving (this is for a service, and there's a lot of unrelated stuff in here):
<Component Id="ServerComponent" Guid='$(var.ServerCGUID)'> <File Id='TSRVEXE' Name='$(var.ServiceName).exe' DiskId='1' Source="!(wix.CONFIG)\$(var.ServiceName)\$(var.ServiceName).exe" KeyPath='yes' /> <util:EventSource Name='$(var.ServiceDisplayName)' Log='Application' EventMessageFile='[#TSRVEXE]' SupportsErrors='yes' SupportsWarnings='yes' SupportsInformationals='yes' /> (etc...) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users