Free cookie consent management tool by TermsFeed Policy Generator

source: branches/GP-MoveOperators/HeuristicLab.Clients.Hive.Slave.TrayIcon/3.3/TrayIconInstaller.cs @ 7809

Last change on this file since 7809 was 6983, checked in by ascheibe, 13 years ago

#1672

  • added the Hive Services and Slave projects
  • added missing svn ignores
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.