diff --git a/WpkgInstaller/WpkgInstaller.cs b/WpkgInstaller/WpkgInstaller.cs
index d58fa9be1f2e1151e96cc26f8fb8a73c90ea22b2..14a74c9b6b61cce4ddeedd8dc9652b00012ca5c4 100755
--- a/WpkgInstaller/WpkgInstaller.cs
+++ b/WpkgInstaller/WpkgInstaller.cs
@@ -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)