/[projects]/dao/DaoMqPump2/MQFilter/FilterServiceInstallerProcess.cs
ViewVC logotype

Diff of /dao/DaoMqPump2/MQFilter/FilterServiceInstallerProcess.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2160 by torben, Fri May 16 15:44:17 2014 UTC revision 2179 by torben, Tue May 20 20:05:16 2014 UTC
# Line 11  namespace MQFilter Line 11  namespace MQFilter
11    
12      [System.ComponentModel.DesignerCategory("Code")]      [System.ComponentModel.DesignerCategory("Code")]
13      [RunInstaller(true)]      [RunInstaller(true)]
14      public sealed class PumpServiceInstallerProcess : ServiceProcessInstaller      public sealed class FilterServiceInstallerProcess : ServiceProcessInstaller
15      {      {
16          public PumpServiceInstallerProcess()          public FilterServiceInstallerProcess()
17          {          {
18              this.Account = ServiceAccount.LocalSystem;              this.Account = ServiceAccount.LocalSystem;
19          }          }
# Line 23  namespace MQFilter Line 23  namespace MQFilter
23      {      {
24          public MyServiceInstaller()          public MyServiceInstaller()
25          {          {
26              this.Description = "DAOs multi-transport MQ<->MySQL data pumpe.";              this.Description = "DAOs MQ Filter Transport";
27              this.DisplayName = "DAO MQ Pump v2";              this.DisplayName = "DAO MQFilter";
28              this.ServiceName = "DaoMqPump2";              this.ServiceName = "DaoMqFilter";
29              this.StartType = System.ServiceProcess.ServiceStartMode.Manual;              this.StartType = System.ServiceProcess.ServiceStartMode.Manual;
30          }          }
31            
# Line 36  namespace MQFilter Line 36  namespace MQFilter
36              {              {
37                  Console.WriteLine(undo ? "uninstalling" : "installing");                  Console.WriteLine(undo ? "uninstalling" : "installing");
38    
39                  using (AssemblyInstaller inst = new AssemblyInstaller(typeof(DaoMqPump2.MainProgram).Assembly, args))                  using (AssemblyInstaller inst = new AssemblyInstaller(typeof(FilterMainProgram).Assembly, args))
40                  {                  {
41                      IDictionary state = new Hashtable();                      IDictionary state = new Hashtable();
42                      inst.UseNewContext = true;                      inst.UseNewContext = true;

Legend:
Removed from v.2160  
changed lines
  Added in v.2179

  ViewVC Help
Powered by ViewVC 1.1.20