How do you create an event log source using WiX -


i'm creating installer website uses custom event log source. our wix based installer create event log source during installation.

does know best way using wix framework.

wix has out-of-the-box support creating event log sources.

assuming use wix 3, first need add reference wixutilextension either votive project or command line. can add eventsource element under component :

<wix xmlns="http://schemas.microsoft.com/wix/2006/wi"     xmlns:util="http://schemas.microsoft.com/wix/utilextension">      <component ...>         ...         <util:eventsource log="application" name="*source name*"            eventmessagefile="*path message file*"/>         ...     </component> 

if .net project, can use eventlogmessages.dll in framework directory message file.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -