Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon/TrayIconInstaller.cs @ 6219

Last change on this file since 6219 was 5780, checked in by ascheibe, 14 years ago

#1233 worked on installer and slave

File size: 618 bytes
RevLine 
[5780]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.