Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.TrayIcon/3.3/TrayIconInstaller.cs @ 6725

Last change on this file since 6725 was 6698, checked in by ascheibe, 13 years ago

#1233

  • implemented review comments
  • more cleanups
File size: 618 bytes
Line 
1using System.Collections;
2using System.ComponentModel;
3using System.Diagnostics;
4
5
6namespace HeuristicLab.Clients.Hive.SlaveCore.SlaveTrayIcon {
7  [RunInstaller(true)]
8  public partial class TrayIconInstaller : System.Configuration.Install.Installer {
9
10    public TrayIconInstaller() {
11      InitializeComponent();
12    }
13
14    public override void Commit(IDictionary savedState) {
15      base.Commit(savedState);
16      //TODO: disable on quiet install (for admins)?
17      Process.Start(Context.Parameters["TARGETDIR"].ToString() + "HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon.exe");
18    }
19  }
20}
Note: See TracBrowser for help on using the repository browser.