/// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();

            this.ServiceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
            this.ServiceInstaller = new System.ServiceProcess.ServiceInstaller();
            // 
            // ServiceProcessInstaller
            // 
            this.ServiceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.ServiceProcessInstaller.Password = null;
            this.ServiceProcessInstaller.Username = null;
            // 
            // ServiceInstaller
            // 
            this.ServiceInstaller.DelayedAutoStart = true;
            this.ServiceInstaller.ServiceName = "EmailQueueProcessor";
            this.ServiceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            // 
            // ProjectInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.ServiceProcessInstaller,
            this.ServiceInstaller});
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            this.BuilderServiceDEV = new System.ServiceProcess.ServiceInstaller();
            // 
            // serviceProcessInstaller1
            // 
            this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.serviceProcessInstaller1.Password = null;
            this.serviceProcessInstaller1.Username = null;
            // 
            // BuilderServiceDEV
            // 
            this.BuilderServiceDEV.Description = "Will poll the database for ready builds, and then launch out other apps to help b" +
                "uild it";
            this.BuilderServiceDEV.DisplayName = "Build MTGServer DEV";
            this.BuilderServiceDEV.ServiceName = "BuilderServiceDEV";
            this.BuilderServiceDEV.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            this.BuilderServiceDEV.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
            // 
            // MyNewServiceInstaller1
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.serviceProcessInstaller1,
            this.BuilderServiceDEV});

        }
 /// <summary>
 ///    Required method for Designer support - do not modify
 ///    the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceInstaller = new System.ServiceProcess.ServiceInstaller();
     this.serviceProcessInstaller =
       new System.ServiceProcess.ServiceProcessInstaller();
     //
     // serviceInstaller
     //
     this.serviceInstaller.Description = Constant.SERVICE_DESCRIPTION;
     this.serviceInstaller.DisplayName = Constant.SERVICE_DISPLAY_NAME;
     this.serviceInstaller.ServiceName = Constant.SERVICE_SERVICE_NAME;
     this.serviceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
     this.serviceInstaller.DelayedAutoStart = false;
     //
     // serviceProcessInstaller
     //
     this.serviceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller.Password = null;
     this.serviceProcessInstaller.Username = null;
     //
     // ServiceInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
     this.serviceProcessInstaller,
     this.serviceInstaller});
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
            this.serviceInstaller = new System.ServiceProcess.ServiceInstaller();
            // 
            // serviceProcessInstaller
            // 
            this.serviceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.serviceProcessInstaller.Password = null;
            this.serviceProcessInstaller.Username = null;
            // 
            // serviceInstaller
            // 
            this.serviceInstaller.Description = "Server for controlling Continuous Integration Lights.";
            this.serviceInstaller.DisplayName = "Continuous Integration Lights Server Service";
            this.serviceInstaller.ServiceName = "ContinuousIntegrationLightsServerService";
            this.serviceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            // 
            // ProjectInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.serviceProcessInstaller,
            this.serviceInstaller});

        }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();

            this.spInstaller = new System.ServiceProcess.ServiceProcessInstaller();
            this.sInstaller  = new System.ServiceProcess.ServiceInstaller();
            //
            // spInstaller
            //
            this.spInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.spInstaller.Password = null;
            this.spInstaller.Username = null;
            //
            // sInstaller
            //
            this.sInstaller.DisplayName = "消息队列处理服务";
            this.sInstaller.ServiceName = "WatchMSMQService";
            this.sInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
            this.sInstaller.Description = "OA消息队列处理服务";
            //
            // InstallerServices
            //
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                this.spInstaller,
                this.sInstaller
            });
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.ServiceName        = "GlobalSight Converter - Word";
     this.serviceInstaller1.ServicesDependedOn = new string[] {
         "Event Log",
         "Remote Procedure Call (RPC)",
         "System Event Notification",
         "Workstation",
         "Server"
     };
     this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
 private void InitializeComponent()
 {
     this.ServiceProccessXbeeController = new System.ServiceProcess.ServiceProcessInstaller();
     this.ServiceXbeeController = new System.ServiceProcess.ServiceInstaller();
     //
     //IndigoServicesProcessSMTPPOP3
     //
     this.ServiceProccessXbeeController.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.ServiceProccessXbeeController.Password = null;
     this.ServiceProccessXbeeController.Username = null;
     //
     //IndigoServicioSMTPPOP3Res3047
     //
     this.ServiceXbeeController.Description = "Xbee Controller .NET - Servicio encargado de la comunicación con los dispositivos Xbee";
     this.ServiceXbeeController.DisplayName = "Xbee Controller .NET ";
     this.ServiceXbeeController.ServiceName = "Xbee Controller .NET ";
     this.ServiceXbeeController.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     //ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
     this.ServiceProccessXbeeController,
     this.ServiceXbeeController
     });
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller1     = new System.ServiceProcess.ServiceProcessInstaller();
     this._azureFtpForSharePointServer = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // AzureFtpForSharePointServer
     //
     this._azureFtpForSharePointServer.DisplayName   = "Azure-Ftp-For-SharePoint Server";
     this._azureFtpForSharePointServer.ServiceName   = "AzureFtpForSharePointServer";
     this._azureFtpForSharePointServer.StartType     = System.ServiceProcess.ServiceStartMode.Automatic;
     this._azureFtpForSharePointServer.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this._azureFtpForSharePointServer
     });
 }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();

            this.spInstaller = new System.ServiceProcess.ServiceProcessInstaller();
            this.sInstaller = new System.ServiceProcess.ServiceInstaller();
            // 
            // spInstaller
            // 
            this.spInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.spInstaller.Password = null;
            this.spInstaller.Username = null;
            // 
            // sInstaller
            // 
            this.sInstaller.DisplayName = "Error消息队列处理服务";
            this.sInstaller.ServiceName = "WatchErrorMSMQService";
            this.sInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            this.sInstaller.Description = "Error消息队列处理服务";
            // 
            // InstallerServices
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.spInstaller,
            this.sInstaller});
        }
 /// <summary>
 /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
 /// le contenu de cette méthode avec l'éditeur de code.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_serviceInstaller  = new System.ServiceProcess.ServiceInstaller();
     this.m_processInstaller  = new System.ServiceProcess.ServiceProcessInstaller();
     this.m_serviceController = new System.ServiceProcess.ServiceController();
     //
     // m_serviceInstaller
     //
     this.m_serviceInstaller.DisplayName   = "Futurocom - Timos mediation";
     this.m_serviceInstaller.ServiceName   = "TimosMediationService";
     this.m_serviceInstaller.StartType     = System.ServiceProcess.ServiceStartMode.Automatic;
     this.m_serviceInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.m_serviceInstaller_AfterInstall);
     //
     // m_processInstaller
     //
     this.m_processInstaller.Account       = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.m_processInstaller.Password      = null;
     this.m_processInstaller.Username      = null;
     this.m_processInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.m_processInstaller_AfterInstall);
     //
     // m_serviceController
     //
     this.m_serviceController.ServiceName = "TimosMediationService";
     //
     // CTimosMediationServiceInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.m_processInstaller,
         this.m_serviceInstaller
     });
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            this.serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
            //
            // serviceProcessInstaller1
            //
            this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.serviceProcessInstaller1.Password = null;
            this.serviceProcessInstaller1.Username = null;
            //
            // serviceInstaller1
            //
            using (SettingHelper setting = new SettingHelper())
            {
                this.serviceInstaller1.ServiceName = setting.ServiceName;
                this.serviceInstaller1.DisplayName = setting.DisplayName;
                this.serviceInstaller1.Description = setting.Description;
            }

            this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            //
            // ProjectInstaller
            //
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                this.serviceProcessInstaller1,
                this.serviceInstaller1
            });
        }
 private void MyInitializeComponent()
 {
     this.loaderServiceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.loaderServiceInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // loaderServiceProcessInstaller
     //
     this.loaderServiceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.loaderServiceProcessInstaller.Password = null;
     this.loaderServiceProcessInstaller.Username = null;
     //
     // loaderServiceInstaller
     //
     this.loaderServiceInstaller.Description = System.Configuration.ConfigurationManager.AppSettings["ServiceDescription"];
     this.loaderServiceInstaller.DisplayName = System.Configuration.ConfigurationManager.AppSettings["ServiceDisplayName"];
     this.loaderServiceInstaller.ServiceName = serviceName;
     this.loaderServiceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.loaderServiceProcessInstaller,
         this.loaderServiceInstaller
     });
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.DMServiceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.DMServiceInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // DMServiceProcessInstaller
     //
     this.DMServiceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.DMServiceProcessInstaller.Password = null;
     this.DMServiceProcessInstaller.Username = null;
     //
     // DMServiceInstaller
     //
     this.DMServiceInstaller.Description = "Provides an API for Swing Suite applications to share session and game data (v1.0" +
                                           ".0).";
     this.DMServiceInstaller.ServiceName = "TEST Student Host Window Service";
     this.DMServiceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.DMServiceProcessInstaller,
         this.DMServiceInstaller
     });
 }
        public Installer1()
        {
            InitializeComponent();
            while (!System.Diagnostics.Debugger.IsAttached) ;
            {
                System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();

                //
                // serviceProcessInstaller1
                //
                serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.User;
                serviceProcessInstaller1.Password = "******";
                serviceProcessInstaller1.Username = "******";

                this.Installers.Add(serviceProcessInstaller1);
            }
            {
                var serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
                serviceInstaller1.Description = "Сервис загрузки прайсов";
                serviceInstaller1.DisplayName = "AisPriceService";
                serviceInstaller1.ServiceName = "AisPriceService";
                serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;

                this.Installers.Add(serviceInstaller1);
            }
            {
                this.Installers.Add(new UserInstaller());
            }
            {
                this.Installers.Add(new UserInstaller());
            }
        }
Exemple #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
     System.ServiceProcess.ServiceInstaller        serviceInstaller1;
     serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     serviceProcessInstaller1.Account       = System.ServiceProcess.ServiceAccount.LocalSystem;
     serviceProcessInstaller1.Password      = null;
     serviceProcessInstaller1.Username      = null;
     serviceProcessInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceProcessInstaller1_AfterInstall);
     //
     // serviceInstaller1
     //
     serviceInstaller1.ServiceName   = "autoShutDownMyPC";
     serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         serviceProcessInstaller1,
         serviceInstaller1
     });
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account       = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller1.Password      = null;
     this.serviceProcessInstaller1.Username      = null;
     this.serviceProcessInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceProcessInstaller1_AfterInstall);
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.ServiceName   = "ForeCastWatcher";
     this.serviceInstaller1.StartType     = System.ServiceProcess.ServiceStartMode.Automatic;
     this.serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
Exemple #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstallerEx      = new GSF.ServiceProcess.ServiceInstallerEx();
     //
     // serviceProcessInstaller
     //
     this.serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller.Password = null;
     this.serviceProcessInstaller.Username = null;
     //
     // serviceInstallerEx
     //
     this.serviceInstallerEx.Description = "Provides archive management and routing services for streaming time-series data i" +
                                           "n real-time for process applications.";
     this.serviceInstallerEx.DisplayName = "openHistorian";
     this.serviceInstallerEx.ServiceName = "openHistorian";
     this.serviceInstallerEx.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ServiceInstall
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller,
         this.serviceInstallerEx
     });
 }
Exemple #18
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.listenerProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.listenerServiceInstaller = new System.ServiceProcess.ServiceInstaller();
     //
     // listenerProcessInstaller
     //
     this.listenerProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.listenerProcessInstaller.Password = null;
     this.listenerProcessInstaller.Username = null;
     //
     // listenerServiceInstaller
     //
     this.listenerServiceInstaller.Description = "Service responsible for listening for arrival of messages";
     this.listenerServiceInstaller.DisplayName = "Starchef Message Listner";
     this.listenerServiceInstaller.ServiceName = "StarchefMessageListner";
     this.listenerServiceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.listenerProcessInstaller,
         this.listenerServiceInstaller
     });
 }
        private void InitializeComponent()
        {
            this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
            // 
            // serviceProcessInstaller1
            // 
            this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.serviceProcessInstaller1.Password = null;
            this.serviceProcessInstaller1.Username = null;
            // 
            // serviceInstaller1
            // 
            this.serviceInstaller1.Description = "Uhuru FileService";
            this.serviceInstaller1.DisplayName = "Uhuru FileService";
            this.serviceInstaller1.ServiceName = "UhuruFS";
            this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            // 
            // ProjectInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.serviceProcessInstaller1,
            this.serviceInstaller1});

        }
 private void InitializeComponent()
 {
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.Description = "Uhuru Services for Microsoft SQL Server";
     this.serviceInstaller1.DisplayName = "Uhuru Services for Microsoft SQL Server";
     this.serviceInstaller1.ServiceName = "MSSqlNode";
     this.serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.VMManagerServiceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
            this.VMManagerServiceInstaller = new System.ServiceProcess.ServiceInstaller();
            // 
            // FAMServiceProcessInstaller
            // 
            this.VMManagerServiceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.VMManagerServiceProcessInstaller.Password = null;
            this.VMManagerServiceProcessInstaller.Username = null;
//            this.VMManagerServiceProcessInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.VMManagerServiceProcessInstaller_AfterInstall);
            // 
            // FamServiceInstaller
            // 
            this.VMManagerServiceInstaller.DisplayName = "DOFS-Sandbox VM Manager";
            this.VMManagerServiceInstaller.ServiceName = "VMManagerService";
//            this.VMManagerServiceInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
            // 
            // ProjectInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.VMManagerServiceProcessInstaller,
            this.VMManagerServiceInstaller});

        }
        public ServiceInstallerShell()
        {
            try
            {
                // InitializeComponent();
                this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
                this.serviceInstaller        = new System.ServiceProcess.ServiceInstaller();

                this.serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
                this.serviceProcessInstaller.Password = null;
                this.serviceProcessInstaller.Username = null;

                System.Reflection.MemberInfo info = GetType();
                var cus = info.GetCustomAttributes(typeof(ServiceAttribute), true);
                for (int i = 0; i < cus.Length; i++)
                {
                    var attribs = (ServiceAttribute)cus[i];
                    this.serviceInstaller.Description = attribs.Description;
                    this.serviceInstaller.DisplayName = attribs.DisplayName;
                    this.serviceInstaller.ServiceName = attribs.ServiceName;
                    break;
                }
                this.serviceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
                this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                    this.serviceProcessInstaller,
                    this.serviceInstaller
                });
            }
            catch (Exception ex)
            {
                throw new Exception("my ServiceInstallerShell error!", ex);
            }
        }
Exemple #23
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
     this.serviceInstaller1   = new System.ServiceProcess.ServiceInstaller();
     serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     //
     // serviceProcessInstaller1
     //
     serviceProcessInstaller1.Account       = System.ServiceProcess.ServiceAccount.LocalSystem;
     serviceProcessInstaller1.Password      = null;
     serviceProcessInstaller1.Username      = null;
     serviceProcessInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.Description   = "ToSwfService";
     this.serviceInstaller1.DisplayName   = "ToSwfService";
     this.serviceInstaller1.ServiceName   = "ToSwfService";
     this.serviceInstaller1.StartType     = System.ServiceProcess.ServiceStartMode.Automatic;
     this.serviceInstaller1.Committed    += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_Committed);
     this.serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
Exemple #24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectInstaller"/> class.
 /// </summary>
 public ProjectInstaller()
 {
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalService;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.Description = Assembly.GetExecutingAssembly().GetCustomAttribute <AssemblyDescriptionAttribute>().Description;
     this.serviceInstaller1.ServiceName = Assembly.GetExecutingAssembly().GetCustomAttribute <AssemblyProductAttribute>().Product;
     this.serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     }
                              );
 }
 public MESLESInstaller()
 {
     InitializeComponent();
     //
     _serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     _serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller
     //
     _serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     _serviceProcessInstaller.Password = null;
     _serviceProcessInstaller.Username = null;
     //
     // PDM_XMLParserInstaller
     //
     _serviceInstaller.Description = "MES Notify Service";
     _serviceInstaller.DisplayName = "MES@Siemens - MES Notify Service";
     _serviceInstaller.ServiceName = "MESNotifyService";
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         _serviceProcessInstaller,
         _serviceInstaller
     });
 }
Exemple #26
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.WorkProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.WorkServiceInstaller = new System.ServiceProcess.ServiceInstaller();
     ////
     //// WorkListProcessInstaller
     ////
     this.WorkProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.WorkProcessInstaller.Password = null;
     this.WorkProcessInstaller.Username = null;
     ////
     //// WorkListServiceInstaller
     ////
     this.WorkServiceInstaller.Description = "消息服务";       //ConfigurationManager.AppSettings["Description"];
     this.WorkServiceInstaller.DisplayName = "消息服务";       //ConfigurationManager.AppSettings["DisplayName"];
     this.WorkServiceInstaller.ServiceName = "MessageSvc"; //ConfigurationManager.AppSettings["InstallServiceName"];
     this.WorkServiceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     ////
     //// ProjectInstaller
     ////
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.WorkProcessInstaller,
         this.WorkServiceInstaller
     });
     components = new System.ComponentModel.Container();
 }
Exemple #27
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
            this.serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
            //
            // serviceProcessInstaller
            //
            this.serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.serviceProcessInstaller.Password = null;
            this.serviceProcessInstaller.Username = null;
            //
            // serviceInstaller
            //

            this.serviceInstaller.DisplayName = "NCache";



            this.serviceInstaller.ServiceName = "NCacheSvc";

            this.serviceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            //
            // ProjectInstaller
            //
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                this.serviceProcessInstaller,
                this.serviceInstaller
            });
        }
Exemple #28
0
 private void InitializeComponent()
 {
     this.myServiceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.myServiceInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // myServiceProcessInstaller
     //
     this.myServiceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.NetworkService;
     this.myServiceProcessInstaller.Password = null;
     this.myServiceProcessInstaller.Username = null;
     //
     // myServiceInstaller
     //
     this.myServiceInstaller.Description = "End Of Day Service for coreAccount";
     this.myServiceInstaller.DisplayName = "End Of Day Service";
     this.myServiceInstaller.ServiceName = "Account.EndOfDayService";
     this.myServiceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // EODServiceInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.myServiceProcessInstaller,
         this.myServiceInstaller
     });
 }
Exemple #29
0
        /// <summary>
        ///    Required method for Designer support - do not modify
        ///    the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            _serviceInstaller = new System.ServiceProcess.ServiceInstaller();
            _serviceProcessInstaller =
              new System.ServiceProcess.ServiceProcessInstaller();
            // 
            // serviceInstaller
            // 
            _serviceInstaller.Description = "Mocument.ReverseProxyService";
            _serviceInstaller.DisplayName = "Mocument.ReverseProxyService";
            _serviceInstaller.ServiceName = "Mocument.ReverseProxyService";
            // 
            // serviceProcessInstaller
            // 
            _serviceProcessInstaller.Account =
              System.ServiceProcess.ServiceAccount.LocalService;
            _serviceProcessInstaller.Password = null;
            _serviceProcessInstaller.Username = null;
            // 
            // ServiceInstaller
            // 
            Installers.AddRange(new System.Configuration.Install.Installer[] {
            _serviceProcessInstaller,
            _serviceInstaller});

        }
Exemple #30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller;
     System.ServiceProcess.ServiceInstaller        serviceInstaller;
     serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller
     //
     serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalService;
     serviceProcessInstaller.Password = null;
     serviceProcessInstaller.Username = null;
     //
     // serviceInstaller
     //
     serviceInstaller.Description = "This service will monitor and rename any video files that the user creates with t" +
                                    "he GeForce Xperience Shadow Play feature to whatever date time format the user s" +
                                    "pecified";
     serviceInstaller.DisplayName = "Shadow Play Renamer";
     serviceInstaller.ServiceName = "SPRSVC";
     serviceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         serviceProcessInstaller,
         serviceInstaller
     });
 }
Exemple #31
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
     this.eventLogInstaller1 = new System.Diagnostics.EventLogInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.ServiceName = Constants.ServiceName;
     this.serviceInstaller1.DisplayName = Constants.DisplayName;
     this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // eventLogInstaller1
     //
     this.eventLogInstaller1.Log = Log.Name;
     this.eventLogInstaller1.Source = Log.Source;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                                                                               this.serviceProcessInstaller1,
                                                                               this.serviceInstaller1,
                                                                               this.eventLogInstaller1});
 }
Exemple #32
0
 private void InitializeComponent()
 {
     this.serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
     this.serviceProcessInstaller =
         new System.ServiceProcess.ServiceProcessInstaller();
     //
     // serviceInstaller
     //
     this.serviceInstaller.Description = "Vending Machine Application";
     this.serviceInstaller.DisplayName = "Project K Service";
     this.serviceInstaller.ServiceName = "ProjectKService";
     //
     // serviceProcessInstaller
     //
     this.serviceProcessInstaller.Account =
         System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller.Password = null;
     this.serviceProcessInstaller.Username = null;
     //
     // ServiceInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller,
         this.serviceInstaller
     });
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.Description = "JJY host service for schedule jobs";
     this.serviceInstaller1.DisplayName = "JJYService";
     this.serviceInstaller1.ServiceName = "JJYService";
     this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
     this.serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // ServiceInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
     this.serviceInstaller1,
     this.serviceProcessInstaller1});
 }
Exemple #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.MultiXTpmServiceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.MultiXTpmServiceInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // MultiXTpmServiceProcessInstaller
     //
     this.MultiXTpmServiceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.MultiXTpmServiceProcessInstaller.Password = null;
     this.MultiXTpmServiceProcessInstaller.Username = null;
     //
     // MultiXTpmServiceInstaller
     //
     this.MultiXTpmServiceInstaller.DisplayName = "MultiXTpm Application Server";
     this.MultiXTpmServiceInstaller.ServiceName = "MultiXTpm";
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.MultiXTpmServiceProcessInstaller,
         this.MultiXTpmServiceInstaller
     });
     this.BeforeUninstall += new System.Configuration.Install.InstallEventHandler(this.ProjectInstaller_BeforeUninstall);
     this.BeforeInstall   += new System.Configuration.Install.InstallEventHandler(this.ProjectInstaller_BeforeInstall);
 }
        ///<summary>
        ///设计器支持所需的方法不要
        ///使用代DN码编辑器修改此方法的内容
        ///</summary>
        private void InitializeComponent()
        {
            this.spInstaller = new System.ServiceProcess.ServiceProcessInstaller();
            this.sInstaller = new System.ServiceProcess.ServiceInstaller();
            // 
            // spInstaller
            // 
            this.spInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.spInstaller.Password = null;
            this.spInstaller.Username = null;
            // 
            // sInstaller
            // 
            this.sInstaller.Description = "去掉商品前後綴以及更改商品狀態";
            this.sInstaller.DisplayName = "吉甲地服務";
            this.sInstaller.ServiceName = "gigadeService";
            this.sInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            // 
            // ServiceInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.spInstaller,
            this.sInstaller});

        }
Exemple #36
0
 /// <summary>
 ///    Required method for Designer support - do not modify
 ///    the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
     this.serviceProcessInstaller =
         new System.ServiceProcess.ServiceProcessInstaller();
     //
     // serviceInstaller
     //
     this.serviceInstaller.Description      = Constant.SERVICE_DESCRIPTION;
     this.serviceInstaller.DisplayName      = Constant.SERVICE_DISPLAY_NAME;
     this.serviceInstaller.ServiceName      = Constant.SERVICE_SERVICE_NAME;
     this.serviceInstaller.StartType        = System.ServiceProcess.ServiceStartMode.Automatic;
     this.serviceInstaller.DelayedAutoStart = false;
     //
     // serviceProcessInstaller
     //
     this.serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller.Password = null;
     this.serviceProcessInstaller.Username = null;
     //
     // ServiceInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller,
         this.serviceInstaller
     });
 }
Exemple #37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstallerEx      = new GSF.ServiceProcess.ServiceInstallerEx();
     //
     // serviceProcessInstaller
     //
     this.serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller.Password = null;
     this.serviceProcessInstaller.Username = null;
     //
     // serviceInstallerEx
     //
     this.serviceInstallerEx.Description = "Provides processing for streaming time-series data in real-time including phasor " +
                                           "data concentration services for synchrophasor applications.";
     this.serviceInstallerEx.DisplayName = "LinearStateEstimator";
     this.serviceInstallerEx.ServiceName = "LinearStateEstimator";
     this.serviceInstallerEx.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ServiceInstall
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller,
         this.serviceInstallerEx
     });
 }
Exemple #38
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     this.eventLogInstaller1       = new System.Diagnostics.EventLogInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.ServiceName = Constants.ServiceName;
     this.serviceInstaller1.DisplayName = Constants.DisplayName;
     this.serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // eventLogInstaller1
     //
     this.eventLogInstaller1.Log    = Log.Name;
     this.eventLogInstaller1.Source = Log.Source;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1,
         this.eventLogInstaller1
     });
 }
 /// <summary>
 ///    Required method for Designer support - do not modify
 ///    the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceInstaller = new System.ServiceProcess.ServiceInstaller();
     this.serviceProcessInstaller =
       new System.ServiceProcess.ServiceProcessInstaller();
     //
     // serviceInstaller
     //
     this.serviceInstaller.Description = "AOSrv";
     this.serviceInstaller.DisplayName = "AOSrv";
     this.serviceInstaller.ServiceName = "AOSrv";
     //
     // serviceProcessInstaller
     //
     this.serviceProcessInstaller.Account =
       System.ServiceProcess.ServiceAccount.LocalService;
     this.serviceProcessInstaller.Password = null;
     this.serviceProcessInstaller.Username = null;
     //
     // ServiceInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
     this.serviceProcessInstaller,
     this.serviceInstaller});
 }
Exemple #40
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
     this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     //
     // serviceInstaller
     //
     this.serviceInstaller.DisplayName = "RunAs Test Service";
     this.serviceInstaller.ServiceName = "RunAsService";
     //
     // serviceProcessInstaller
     //
     this.serviceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceInstaller
     });
     this.serviceProcessInstaller.Password = null;
     this.serviceProcessInstaller.Username = null;
     //
     // Installer1
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller
     });
 }
Exemple #41
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalService;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.Description = "The Alchemi Executor Service is the client side of an Alchemi Enterprise Grid,  a" +
                                          "nd performs computation of the threads sent by the Manager";
     this.serviceInstaller1.DisplayName = "Alchemi Executor Service";
     this.serviceInstaller1.ServiceName = "Alchemi Executor Service";
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
Exemple #42
0
        private void InitializeComponent()
        {
            var doc = new XmlDocument();

            doc.Load(Config.CfgFile);

            serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller()
            {
                Account                       = System.ServiceProcess.ServiceAccount.LocalSystem
                                     Password = null,
                Username                      = null
            };

            serviceInstaller = new System.ServiceProcess.ServiceInstaller()
            {
                DisplayName        = doc.DocumentElement.SelectSingleNode("/Configuration/Service/LongName").InnerText,
                ServiceName        = doc.DocumentElement.SelectSingleNode("/Configuration/Service/ShortName").InnerText,
                ServicesDependedOn = doc.DocumentElement.SelectSingleNode("/Configuration/Service/Dependencies").InnerText.Split(','),
                StartType          = System.ServiceProcess.ServiceStartMode.Automatic
            }

            Installers.AddRange(new System.Configuration.Install.Installer[] {
                serviceProcessInstaller,
                serviceInstaller
            });
        }
    }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            this.httpRequester = new System.ServiceProcess.ServiceInstaller();
            // 
            // serviceProcessInstaller1
            // 
            this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalService;
            this.serviceProcessInstaller1.Password = null;
            this.serviceProcessInstaller1.Username = null;
            // 
            // HttpRequester
            // 
            this.httpRequester.Description = "HttpRequester";
            this.httpRequester.DisplayName = "HttpRequester";
            this.httpRequester.ServiceName = "HttpRequester";
            this.httpRequester.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.ServiceInstaller1_AfterInstall);
            // 
            // ProjectInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.serviceProcessInstaller1,
            this.httpRequester});

        }
Exemple #44
0
 /// <summary>
 ///    Required method for Designer support - do not modify
 ///    the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     _serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
     _serviceProcessInstaller =
         new System.ServiceProcess.ServiceProcessInstaller();
     //
     // serviceInstaller
     //
     _serviceInstaller.Description = "Mocument.ReverseProxyService";
     _serviceInstaller.DisplayName = "Mocument.ReverseProxyService";
     _serviceInstaller.ServiceName = "Mocument.ReverseProxyService";
     //
     // serviceProcessInstaller
     //
     _serviceProcessInstaller.Account =
         System.ServiceProcess.ServiceAccount.LocalService;
     _serviceProcessInstaller.Password = null;
     _serviceProcessInstaller.Username = null;
     //
     // ServiceInstaller
     //
     Installers.AddRange(new System.Configuration.Install.Installer[] {
         _serviceProcessInstaller,
         _serviceInstaller
     });
 }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent() {
            System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
            this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
            serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            // 
            // serviceProcessInstaller1
            // 
            serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            serviceProcessInstaller1.Password = null;
            serviceProcessInstaller1.Username = null;
            serviceProcessInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
            // 
            // serviceInstaller1
            // 
            this.serviceInstaller1.Description = "ToSwfService";
            this.serviceInstaller1.DisplayName = "ToSwfService";
            this.serviceInstaller1.ServiceName = "ToSwfService";
            this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            this.serviceInstaller1.Committed += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_Committed);
            this.serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
            // 
            // ProjectInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            serviceProcessInstaller1,
            this.serviceInstaller1});

        }
Exemple #46
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
     System.ServiceProcess.ServiceInstaller        serviceInstaller1;
     serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     serviceProcessInstaller1.Password = "******";
     serviceProcessInstaller1.Username = "******";
     //
     // serviceInstaller1
     //
     serviceInstaller1.Description = "Generic Access Control Event Service";
     serviceInstaller1.DisplayName = "GenericAccessControlEventService";
     serviceInstaller1.ServiceName = "GenericAccessControlEventService";
     serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // GenericAccessControlEventServiceInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         serviceProcessInstaller1,
         serviceInstaller1
     });
 }
		public RelayInstaller()
		{
			InitializeComponent();
			this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
			this.serviceInstaller = new System.ServiceProcess.ServiceInstaller();
			
			this.serviceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
			this.serviceProcessInstaller.Password = null;
			this.serviceProcessInstaller.Username = null;

			try
			{
				EventLog.Delete("MySpace.DataRelay");
			}
			catch (Exception e)
			{
				
				Console.WriteLine(e);
			}
			try
			{
				string ConfigFile = AppDomain.CurrentDomain.GetData("APP_CONFIG_FILE").ToString();
				Console.WriteLine("Reading configuration from file: " + ConfigFile);
			}
			catch { }

			string instanceNumber = Environment.GetEnvironmentVariable("DataRelayInstanceName");
			
			

			Console.WriteLine("Instance number:" + instanceNumber);
			if (instanceNumber != null && instanceNumber != String.Empty)
			{
				this.serviceInstaller.ServiceName = "MySpace.DataRelay." + instanceNumber;
			}
			else
			{
				this.serviceInstaller.ServiceName = "MySpace.DataRelay";
			}
			this.serviceInstaller.DisplayName = "MySpace DataRelay";
			if (instanceNumber != null && instanceNumber != String.Empty)
			{
				this.serviceInstaller.DisplayName += " Instance " + instanceNumber;
			}
			this.serviceInstaller.Description = "Shuffles data around real good. Don't taunt the relay.";
			this.serviceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
			// 
			// ProjectInstaller
			// 
			this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.serviceProcessInstaller,
            this.serviceInstaller});

		}
		public ProjectInstaller()
		{
			serviceInstaller = new System.ServiceProcess.ServiceInstaller();
			serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();

			serviceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
			serviceProcessInstaller.Username = //#NTS_USER;
			serviceProcessInstaller.Password = //#NTS_PASS;

			serviceInstaller.DisplayName = //#NTS_DISP_NAME;
			serviceInstaller.ServiceName = ProjectInstaller.SERVICENAME;
			serviceInstaller.StartType = //#NTS_START_TYPE;

			Installers.AddRange(new System.Configuration.Install.Installer[] { serviceProcessInstaller, serviceInstaller });
		}
        public static void InstallService(string serviceName, string displayName, string description, string assemblyPath)
        {
            System.ServiceProcess.ServiceProcessInstaller spi = new System.ServiceProcess.ServiceProcessInstaller();
            spi.Account = System.ServiceProcess.ServiceAccount.LocalSystem;

            System.ServiceProcess.ServiceInstaller si = new System.ServiceProcess.ServiceInstaller();
            si.Description = description;
            si.DisplayName = displayName;
            si.ServiceName = serviceName;
            si.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            si.Context = new System.Configuration.Install.InstallContext();
            si.Context.Parameters.Add("assemblyPath", assemblyPath);
            si.Parent = spi;

            Hashtable stateSaver = new Hashtable();
            si.Install(stateSaver);
        }
        public ServiceInstaller()
        {
            serviceInstaller = new System.ServiceProcess.ServiceInstaller();
            processInstaller = new System.ServiceProcess.ServiceProcessInstaller();

            serviceInstaller.Description = "iRacing Telemetry Broadcaster";
            serviceInstaller.DisplayName = "iRacing Telemetry Broadcaster";
            serviceInstaller.ServiceName = "iTelemetryBroadcast";
            serviceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;

            processInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            processInstaller.Password = null;
            processInstaller.Username = null;

            Installers.Add(serviceInstaller);
            Installers.Add(processInstaller);
        }
        public TenxLabsServiceInstaller()
        {
            var processInstaller = new System.ServiceProcess.ServiceProcessInstaller();
            var serviceInstaller = new System.ServiceProcess.ServiceInstaller();

            processInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;

            // service details
            serviceInstaller.DisplayName = "10xLabs Windows VM";
            serviceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;

            // Same as Program.ServiceName
            serviceInstaller.ServiceName = "10xLabs Windows VM";

            this.Installers.Add(processInstaller);
            this.Installers.Add(serviceInstaller);
        }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();
            System.ServiceProcess.ServiceProcessInstaller servicePocessInstaller1;
            this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
            servicePocessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();

            servicePocessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            servicePocessInstaller1.Password = null;
            servicePocessInstaller1.Username = null;

            serviceInstaller1.Description = "MailerService";
            serviceInstaller1.DisplayName = "MailerService";
            serviceInstaller1.ServiceName = "MailerService";
            serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;

            Installers.AddRange(new System.Configuration.Install.Installer[] { servicePocessInstaller1, serviceInstaller1 });
        }
Exemple #53
0
        public ProjectInstaller()
        {
            this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();

            // serviceProcessInstaller1
            this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.serviceProcessInstaller1.Password = null;
            this.serviceProcessInstaller1.Username = null;

            // serviceInstaller1
            this.serviceInstaller1.ServiceName = "DVRB";
            this.serviceInstaller1.Description = "DVRB (aka Double Vodka with Red Bull)";

            // ProjectInstaller
            this.Installers.AddRange(
                new System.Configuration.Install.Installer[] { this.serviceProcessInstaller1, this.serviceInstaller1 });
        }
Exemple #54
0
        private void InitializeComponent()
        {
            this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
            this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();

            this.serviceInstaller1.DisplayName = "ChatService";  //**5**
            this.serviceInstaller1.ServiceName = "ChatService";  //**6**

            this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;  //**7**

            this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;  //**8**
            this.serviceProcessInstaller1.Password = null;  //**9**
            this.serviceProcessInstaller1.Username = null;

            //**10**
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                this.serviceProcessInstaller1,
                this.serviceInstaller1});
        }
Exemple #55
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.ServiceName = "QuoteService";
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                                                                               this.serviceProcessInstaller1,
                                                                               this.serviceInstaller1});
 }
		public ProjectInstaller()
		{

			this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
			this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
			this.serviceProcessInstaller1.Password = null;
			this.serviceProcessInstaller1.Username = null;

			this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
			this.serviceInstaller1.AfterInstall += new InstallEventHandler(AfterInstallEventHandler);
			this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
			this.serviceInstaller1.ServiceName = SERVICE_NAME;
			this.serviceInstaller1.ServicesDependedOn = new string [] { "Tcpip" };

			this.Installers.AddRange(
				new System.Configuration.Install.Installer[] {
					this.serviceProcessInstaller1,
					this.serviceInstaller1}
				);
		}
    /// <summary>
    /// Initializes the component.
    /// </summary>
    private void InitializeComponent ( ) {
      this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller ( );
      // 
      // serviceProcessInstaller
      // 
      this.serviceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
      this.serviceProcessInstaller.Password = null;
      this.serviceProcessInstaller.Username = null;
      // 
      // serviceInstaller
      // 
      this.ServiceName = "DroidExplorer";
      this.DisplayName = "Droid Explorer Service";
      this.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
      // 
      // ServiceInstaller
      // 
      this.Installers.AddRange ( new System.Configuration.Install.Installer[ ] {
																this.serviceProcessInstaller} );

    }
Exemple #58
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent() {
			this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
			this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
			// 
			// serviceProcessInstaller1
			// 
			this.serviceProcessInstaller1.Password = null;
			this.serviceProcessInstaller1.Username = null;
			// 
			// serviceInstaller1
			// 
			this.serviceInstaller1.ServiceName = "PspHost";
			this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
			// 
			// ProjectInstaller
			// 
			this.Installers.AddRange(new System.Configuration.Install.Installer[] {
																					  this.serviceProcessInstaller1,
																					  this.serviceInstaller1});

		}
Exemple #59
0
        public MaestroInstall()
        {
            InitializeComponent();

            var serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            var serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();

            serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
            serviceProcessInstaller1.Password = null;
            serviceProcessInstaller1.Username = null;
            serviceInstaller1.DisplayName = "Maestro";
            serviceInstaller1.ServiceName = "Maestro";
            serviceInstaller1.Description = "Music jukebox";

            serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;

            Installers.AddRange(new System.Configuration.Install.Installer[] {
                serviceProcessInstaller1,
                serviceInstaller1
            });
        }
        public athenaSVCInstaller()
        {
            InitializeComponent();
            _serviceProcess = new System.ServiceProcess.ServiceProcessInstaller();
            _serviceInstaller = new System.ServiceProcess.ServiceInstaller();

            //Service Process
            _serviceProcess.Account = System.ServiceProcess.ServiceAccount.LocalService;
           

            //Service Installer
            _serviceInstaller.ServiceName = "athenaSVC";
            _serviceInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            _serviceInstaller.DisplayName = "athenaSVC";
            _serviceInstaller.Description = "schedule post athena account receivables";

            this.Installers.AddRange(new Installer[]
            {
                _serviceProcess,
                _serviceInstaller
            });
        }