Rev | Line | |
---|
[6698] | 1 | using System.Collections;
|
---|
| 2 | using System.ComponentModel;
|
---|
| 3 | using System.Diagnostics;
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 | namespace 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.