/// <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()
 {
     System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
     System.ServiceProcess.ServiceInstaller        serviceInstaller1;
     serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalService;
     serviceProcessInstaller1.Password = null;
     serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     serviceInstaller1.Description = "Service for syncronization photo with custom folder for uploading to google drive" +
                                     "";
     serviceInstaller1.DisplayName = "GooglePhotoSyncService";
     serviceInstaller1.ServiceName = "PhotoSyncService";
     serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         serviceProcessInstaller1,
         serviceInstaller1
     });
 }
示例#3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.fastHelpProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.fastHelpInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // fastHelpProcessInstaller
     //
     this.fastHelpProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalService;
     this.fastHelpProcessInstaller.Password = null;
     this.fastHelpProcessInstaller.Username = null;
     //
     // fastHelpInstaller
     //
     this.fastHelpInstaller.Description = "A Windows Service for FastHelp UCMA BOT";
     this.fastHelpInstaller.DisplayName = "FastHelpService";
     this.fastHelpInstaller.ServiceName = "FastHelpService";
     this.fastHelpInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.fastHelpProcessInstaller,
         this.fastHelpInstaller
     });
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     _serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     _serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // ServiceProcessInstaller configuration
     //
     _serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalService;
     _serviceProcessInstaller.Password = null;
     _serviceProcessInstaller.Username = null;
     //
     // ServiceInstaller configuration
     //
     _serviceInstaller.Description   = "Test.WindowsServiceWithHealthcheck";
     _serviceInstaller.DisplayName   = "Test.WindowsServiceWithHealthcheck";
     _serviceInstaller.ServiceName   = "Test.WindowsServiceWithHealthcheck";
     _serviceInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(WindowsServiceWithHealthcheck_AfterInstall);
     //
     // ServiceInstaller registration
     //
     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.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 = "OpenIIoT Application Platform Core";
     this.serviceInstaller.DisplayName = "OpenIIoT Core";
     this.serviceInstaller.ServiceName = "OpenIIoT";
     this.serviceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller,
         this.serviceInstaller
     });
 }
示例#6
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 = "AutoExecuteSvc"; //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();
 }
示例#7
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.WorkProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     this.WorkServiceInstaller = new System.ServiceProcess.ServiceInstaller();
     //
     // WorkProcessInstaller
     //
     this.WorkProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.WorkProcessInstaller.Password = null;
     this.WorkProcessInstaller.Username = null;
     //
     // WorkServiceInstaller
     //
     this.WorkServiceInstaller.Description = "武府菠菜服务";
     this.WorkServiceInstaller.DisplayName = "武府菠菜综合服务程序";
     this.WorkServiceInstaller.ServiceName = "武府菠菜";
     this.WorkServiceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.WorkProcessInstaller,
         this.WorkServiceInstaller
     });
 }
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </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.Description   = "Servicio que genera informes pedidos";
     this.serviceInstaller1.DisplayName   = "TS_GeneradorInformes_IdGroup";
     this.serviceInstaller1.ServiceName   = "TS_GeneradorInformes_IdGroup";
     this.serviceInstaller1.StartType     = System.ServiceProcess.ServiceStartMode.Automatic;
     this.serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
     //
     // Installer1
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
示例#9
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();


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

            // SMSService
            this.SMSService             = new System.ServiceProcess.ServiceInstaller();
            this.SMSService.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
            this.SMSService.DisplayName = "CA SMS Delivery Service";
            this.SMSService.ServiceName = "CA SMS Delivery Service";
            this.SMSService.Description = "Reads SMS message queue and delivers to recipients";

            // EMailService
            this.EMailService             = new System.ServiceProcess.ServiceInstaller();
            this.EMailService.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
            this.EMailService.DisplayName = "CA Email Delivery Service";
            this.EMailService.ServiceName = "CA Email Delivery Service";
            this.EMailService.Description = "Reads EMail message queue and delivers to recipients";

            // ProjectInstaller
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                this.serviceProcessInstaller,
                this.SMSService,
                this.EMailService
            });
        }
示例#10
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
            //
            // The services run under the system account.
            this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;

            //this.serviceProcessInstaller1.Password = null;
            //this.serviceProcessInstaller1.Username = null;
            //
            // serviceInstaller1
            //
            this.serviceInstaller1.DisplayName = DaService.ServiceDefinition.AgentServiceName + DaService.ServiceDefinition.AgentServiceVersion;
            this.serviceInstaller1.ServiceName = DaService.ServiceDefinition.AgentServiceName + DaService.ServiceDefinition.AgentServiceVersion;

            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.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.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>
 /// 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.NetworkService;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.Description = "Provides continuous deployment of applications in a server by using Git repositor" +
                                          "ies to check for new versions and automatically build and deploy them.";
     this.serviceInstaller1.DisplayName = "CUBED CoDe Service";
     this.serviceInstaller1.ServiceName = "CUBEDCoDeService";
     this.serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
示例#14
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   = "CHAI LIMS Synchronization ";
     this.serviceInstaller.DisplayName   = "ChaiLIMSSync Service";
     this.serviceInstaller.ServiceName   = "ChaiLIMSSync";
     this.serviceInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller_AfterInstall);
     //
     // serviceProcessInstaller
     //
     this.serviceProcessInstaller.Account       = System.ServiceProcess.ServiceAccount.LocalService;
     this.serviceProcessInstaller.Password      = null;
     this.serviceProcessInstaller.Username      = null;
     this.serviceProcessInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceProcessInstaller_AfterInstall);
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller,
         this.serviceInstaller
     });
 }
示例#15
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});
 }
示例#16
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.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.Description = "Uhuru .NET Droplet Execution Agent";
     this.serviceInstaller1.DisplayName = "Uhuru .NET Droplet Execution Agent";
     this.serviceInstaller1.ServiceName = "DEA";
     this.serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
示例#17
0
 /// <summary>
 /// 디자이너 지원에 필요한 메서드입니다.
 /// 이 메서드의 내용을 코드 편집기로 수정하지 마십시오.
 /// </summary>
 private void InitializeComponent()
 {
     this.WhsSPI = new System.ServiceProcess.ServiceProcessInstaller();
     this.WhsSVI = new System.ServiceProcess.ServiceInstaller();
     //
     // WhsSPI
     //
     this.WhsSPI.Account  = System.ServiceProcess.ServiceAccount.NetworkService;
     this.WhsSPI.Password = null;
     this.WhsSPI.Username = null;
     //
     // WhsSVI
     //
     this.WhsSVI.Description = "이 서비스는 파일공유를 위한 서버 모듈과 연결하는 기능을 제공 합니다.";
     this.WhsSVI.DisplayName = "WebHard Service V34";
     this.WhsSVI.ServiceName = "WebHard Service V34";
     this.WhsSVI.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // WhsInstall
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.WhsSPI,
         this.WhsSVI
     });
 }
示例#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.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            this.serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();

            this.AfterInstall    += new InstallEventHandler(this.StartServiceAfterInstall);
            this.BeforeUninstall += new InstallEventHandler(this.StopServiceBeforeUninstall);
            this.BeforeRollback  += new InstallEventHandler(this.StopServiceBeforeUninstall);

            //
            // serviceProcessInstaller1
            //
            this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.serviceProcessInstaller1.Password = null;
            this.serviceProcessInstaller1.Username = null;
            //
            // serviceInstaller1
            //
            this.serviceInstaller1.ServiceName = AppService.Name;
            this.serviceInstaller1.DisplayName = AppService.Name;
            this.serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;

            //
            // ProjectInstaller
            //
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                this.serviceProcessInstaller1,
                this.serviceInstaller1
            });
        }
示例#19
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 = GlobalConstant.SERVICE_DESCRIPTION;
     this.serviceInstaller.DisplayName = GlobalConstant.SERVICE_DISPLAYNAME;
     this.serviceInstaller.ServiceName = GlobalConstant.SERVICE_NAME;
     //
     // 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
     });
 }
示例#20
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.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.DelayedAutoStart = true;
     this.serviceInstaller1.Description      = "Used to create and remove access to thrid party applications for Single Sign On";
     this.serviceInstaller1.DisplayName      = DisplayName;
     this.serviceInstaller1.ServiceName      = ServiceName;
     this.serviceInstaller1.StartType        = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         this.serviceInstaller1
     });
 }
示例#21
0
 void InitializeComponent()
 {
     _serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     _serviceInstaller1        = new System.ServiceProcess.ServiceInstaller();
     //
     // _serviceProcessInstaller1
     //
     _serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     _serviceProcessInstaller1.Password = null;
     _serviceProcessInstaller1.Username = null;
     //
     // _serviceInstaller1
     //
     _serviceInstaller1.Description = _serviceDescription;
     _serviceInstaller1.DisplayName = _serviceName;
     _serviceInstaller1.ServiceName = _serviceName;
     //
     // ProjectInstaller
     //
     Installers.AddRange(new 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()
        {
            components = new System.ComponentModel.Container();

            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 = "MSB Virus Sentry";
            this.serviceInstaller1.DisplayName = "MSB Virus Sentry";
            this.serviceInstaller1.ServiceName = "MSB_Virus_Sentry";
            this.serviceInstaller1.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
            //
            // ProjectInstaller
            //
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                this.serviceProcessInstaller1,
                this.serviceInstaller1
            });
        }
示例#23
0
 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>
 /// 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
     });
 }
示例#25
0
        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());
            }
        }
        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});

        }
示例#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.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
            });
        }
示例#28
0
 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
     });
 }
示例#29
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.SqlQueueService_Listener_Installer    = new System.ServiceProcess.ServiceProcessInstaller();
            this.SqlQueueService_Listener_svcInstaller = new System.ServiceProcess.ServiceInstaller();

            this.SqlQueueService_Listener_Installer.Account      = System.ServiceProcess.ServiceAccount.LocalSystem;
            this.SqlQueueService_Listener_svcInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;

            //
            // MSMQService_Listener_Installer
            //
            this.SqlQueueService_Listener_Installer.Password = null;
            this.SqlQueueService_Listener_Installer.Username = null;
            //
            // MSMQService_Listener_svcInstaller
            //
            this.SqlQueueService_Listener_svcInstaller.ServiceName = "StarChef.MSMQService";
            this.SqlQueueService_Listener_svcInstaller.DisplayName = "StarChef MSMQ Service";
            //
            // ProjectInstaller
            //
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
                this.SqlQueueService_Listener_Installer,
                this.SqlQueueService_Listener_svcInstaller
            });
        }
示例#30
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
     serviceInstaller        = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller
     //
     serviceProcessInstaller.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     serviceProcessInstaller.Password = null;
     serviceProcessInstaller.Username = null;
     //
     // serviceInstaller
     //
     serviceInstaller.Description = "Insight 基础服务";
     serviceInstaller.DisplayName = "Insight 基础服务";
     serviceInstaller.ServiceName = "Insight Base Service";
     serviceInstaller.StartType   = System.ServiceProcess.ServiceStartMode.Automatic;
     //
     // ProjectInstaller
     //
     Installers.AddRange(new System.Configuration.Install.Installer[] {
         serviceProcessInstaller,
         serviceInstaller
     });
 }
示例#31
0
        ///<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});

        }
示例#32
0
 public ALTInstaller()
 {
     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 = "Alert service";
     _serviceInstaller.DisplayName = "SiemensAlertNotify@Opcenter - Alert Service";
     _serviceInstaller.ServiceName = "AlertService";
     //
     // ProjectInstaller
     //
     this.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()
        {
            System.ServiceProcess.ServiceInstaller ADoNothingServiceINstaller;
            this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            ADoNothingServiceINstaller = new System.ServiceProcess.ServiceInstaller();
            // 
            // ADoNothingServiceINstaller
            // 
            ADoNothingServiceINstaller.Description = "Used for testing service start stop ...";
            ADoNothingServiceINstaller.DisplayName = "ADoNothingService";
            ADoNothingServiceINstaller.ServiceName = "ADoNothingService";
            ADoNothingServiceINstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
            // 
            // serviceProcessInstaller1
            // 
            this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.NetworkService;
            this.serviceProcessInstaller1.Installers.AddRange(new System.Configuration.Install.Installer[] {
            ADoNothingServiceINstaller});
            this.serviceProcessInstaller1.Password = null;
            this.serviceProcessInstaller1.Username = null;
            // 
            // ProjectInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.serviceProcessInstaller1});

        }
示例#34
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});

        }
示例#35
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 = "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});
 }
 /// <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});
 }
示例#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.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>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </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>
        /// 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});

        }
示例#40
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ServiceProcess.ServiceInstaller serviceInstaller1;
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     serviceInstaller1             = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceInstaller1
     //
     serviceInstaller1.Description = "将订单信息推送到OMS系统中";
     serviceInstaller1.DisplayName = "推送服务";
     serviceInstaller1.ServiceName = "PushService";
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
     //this.serviceProcessInstaller1.Password = "******";
     //this.serviceProcessInstaller1.Username = "******";
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         serviceInstaller1
     });
 }
示例#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.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     this.serviceInstaller1.ServiceName        = "GlobalSight Converter - PowerPoint XP";
     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
     });
 }
 /// <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
     });
 }
示例#43
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
     });
 }
示例#44
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            System.ServiceProcess.ServiceInstaller serviceInstaller1;
            this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
            serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
            // 
            // serviceInstaller1
            // 
            serviceInstaller1.Description = "TaskService";
            serviceInstaller1.ServiceName = "TaskService";
            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;
            // 
            // ProjectInstaller
            // 
            this.Installers.AddRange(new System.Configuration.Install.Installer[] {
            this.serviceProcessInstaller1,
            serviceInstaller1});

        }
示例#45
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ServiceProcess.ServiceInstaller serviceInstaller1;
     this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
     serviceInstaller1             = new System.ServiceProcess.ServiceInstaller();
     //
     // serviceProcessInstaller1
     //
     this.serviceProcessInstaller1.Account  = System.ServiceProcess.ServiceAccount.LocalSystem;
     this.serviceProcessInstaller1.Password = null;
     this.serviceProcessInstaller1.Username = null;
     //
     // serviceInstaller1
     //
     serviceInstaller1.DelayedAutoStart = true;
     serviceInstaller1.Description      = "用户轮询的服务";
     serviceInstaller1.DisplayName      = "PollingService";
     serviceInstaller1.ServiceName      = "PollingService";
     //
     // ProjectInstaller
     //
     this.Installers.AddRange(new System.Configuration.Install.Installer[] {
         this.serviceProcessInstaller1,
         serviceInstaller1
     });
 }
示例#46
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
     });
 }
        /// <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});

        }
        public static void UninstallService(string serviceName)
        {
            System.ServiceProcess.ServiceInstaller si = new System.ServiceProcess.ServiceInstaller();

            si.Context = new System.Configuration.Install.InstallContext();
            si.ServiceName = serviceName;

            si.Uninstall(null);
        }
		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 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);
        }
        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);
        }
        /// <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 });
        }
示例#55
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 });
        }
示例#56
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});
        }
示例#57
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});
 }
示例#58
0
		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}
				);
		}
示例#59
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});

		}
示例#60
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
            });
        }