FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit d65b9510 authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

Add eventlog source in WpkgInstaller

parent 9b2ccd29
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,13 @@ namespace WpkgInstaller
public WpkgInstaller()
{
InitializeComponent();
if (!System.Diagnostics.EventLog.SourceExists("WpkgInstaller"))
{
System.Diagnostics.EventLog.CreateEventSource(
"WpkgInstaller", "WpkgNotifier");
}
eventLog.Source = "WpkgNotifier";
eventLog.Log = "WpkgInstaller";
}
protected override void OnStart(string[] args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment