Changeset 6945 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.WindowsService
- Timestamp:
- 11/02/11 18:42:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.WindowsService/3.3/ProjectInstaller.cs
r6898 r6945 15 15 base.OnAfterInstall(savedState); 16 16 17 //try to create an event log 18 try { 19 if (!System.Diagnostics.EventLog.SourceExists("HLHive")) { 20 System.Diagnostics.EventLog.CreateEventSource("HLHive", "HiveSlave"); 21 } 22 } 23 catch { } 24 17 25 //try to start the service after installation 18 26 using (var serviceController = new ServiceController(this.serviceInstaller1.ServiceName, Environment.MachineName)) {
Note: See TracChangeset
for help on using the changeset viewer.