コード例 #1
0
        public EucaWindowsServiceInstaller()
        {
            eucaProcInstaller = new ServiceProcessInstaller();
            eucaSvcInstaller  = new ServiceInstaller();

            eucaSvcInstaller.StartType   = ServiceStartMode.Automatic;
            eucaSvcInstaller.ServiceName = "Eucalyptus Windows Service";
            eucaSvcInstaller.DisplayName = "Eucalyptus Windows Service";
            eucaSvcInstaller.Description = "Eucalyptus Windows Service";

            Installers.Add(eucaSvcInstaller);
            Installers.Add(eucaProcInstaller);
        }
コード例 #2
0
        public EventLogServiceInstaller()
        {
            InitializeComponent();

            serviceInstaller = new ServiceInstaller();
            processInstaller = new ServiceProcessInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.StartType   = ServiceStartMode.Manual;
            serviceInstaller.ServiceName = "EventLogService";
            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
        }
コード例 #3
0
        public ProjectInstaller()
        {
            var serviceProcessInstaller = new ServiceProcessInstaller();

            serviceProcessInstaller.Account       = ServiceAccount.LocalSystem;
            serviceProcessInstaller.AfterInstall += OnAfterInstall;
            _serviceInstaller             = new ServiceInstaller();
            _serviceInstaller.ServiceName = "NFCRingService";
            _serviceInstaller.Description = "Service for lock and unlock your computer by NFC Ring";
            _serviceInstaller.StartType   = ServiceStartMode.Automatic;
            Installers.Add(serviceProcessInstaller);
            Installers.Add(_serviceInstaller);
        }
コード例 #4
0
 public SappelInstaller()
 {
     //InitializeComponent();
     serviceProcessInstaller1         = new ServiceProcessInstaller();
     serviceProcessInstaller1.Account = ServiceAccount.LocalSystem;
     serviceInstaller1             = new ServiceInstaller();
     serviceInstaller1.ServiceName = "WinSvcHostedSappelWCF";
     serviceInstaller1.DisplayName = "WinSvcHostedSappelWCF";
     serviceInstaller1.Description = "Service e-GEE WCF du Wrapper Sappel";
     serviceInstaller1.StartType   = ServiceStartMode.Automatic;
     Installers.Add(serviceProcessInstaller1);
     Installers.Add(serviceInstaller1);
 }
コード例 #5
0
 public Installer1()
 {
     InitializeComponent();
     serviceInstaller = new ServiceInstaller();
     processInstaller = new ServiceProcessInstaller
     {
         Account = ServiceAccount.LocalSystem
     };
     serviceInstaller.StartType   = ServiceStartMode.Manual;
     serviceInstaller.ServiceName = "WriteFile";
     Installers.Add(processInstaller);
     Installers.Add(serviceInstaller);
 }
コード例 #6
0
        public SchedulerServiceInstaller()
        {
            var processInstaller = new ServiceProcessInstaller();
            var serviceInstaller = new ServiceInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.DisplayName = "WebsitePanel Scheduler";
            serviceInstaller.StartType   = ServiceStartMode.Automatic;
            serviceInstaller.ServiceName = "WebsitePanel Scheduler";

            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
        }
 public FolderWatcherServiceInstaller()
 {
     //InitializeComponent();
     serviceProcessInstaller1         = new ServiceProcessInstaller();
     serviceProcessInstaller1.Account = ServiceAccount.LocalSystem;
     serviceInstaller1             = new ServiceInstaller();
     serviceInstaller1.ServiceName = "FolderWatcherService";
     serviceInstaller1.DisplayName = "FolderWatcherService";
     serviceInstaller1.Description = "Win Service as Client to WcfDbEchoService";
     serviceInstaller1.StartType   = ServiceStartMode.Automatic;
     Installers.Add(serviceProcessInstaller1);
     Installers.Add(serviceInstaller1);
 }
コード例 #8
0
        public RuntimeServiceInstaller()
        {
            processInstaller = new ServiceProcessInstaller();
            serviceInstaller = new ServiceInstaller();

            processInstaller.Account = ServiceAccount.LocalSystem;

            serviceInstaller.StartType   = ServiceStartMode.Automatic;
            serviceInstaller.ServiceName = RuntimeService.SERVICE_NAME;

            Installers.Add(serviceInstaller);
            Installers.Add(processInstaller);
        }
コード例 #9
0
        public ProgramInstaller()
        {
            serviceProcessInstaller = new ServiceProcessInstaller();
            serviceInstaller        = new ServiceInstaller();

            serviceProcessInstaller.Account = ServiceAccount.LocalSystem;
            serviceInstaller.StartType      = ServiceStartMode.Automatic;
            serviceInstaller.ServiceName    = "ProgramInstallerVK";
            serviceInstaller.Description    = "Win Service for .Net Remoting";

            Installers.Add(serviceInstaller);
            Installers.Add(serviceProcessInstaller);
        }
コード例 #10
0
 public Installer1()
 {
     InitializeComponent();
     serviceInstaller = new ServiceInstaller();
     processInstaller = new ServiceProcessInstaller
     {
         Account = ServiceAccount.User
     };
     serviceInstaller.StartType   = ServiceStartMode.Automatic;
     serviceInstaller.ServiceName = SettingsContainer.Settings.ServiceName;
     Installers.Add(processInstaller);
     Installers.Add(serviceInstaller);
 }
 public MyServiceInstaller()
 {
     //initializeComponent();
     process             = new ServiceProcessInstaller();
     process.Account     = ServiceAccount.NetworkService;
     service             = new ServiceInstaller();
     service.ServiceName = "AssociaciaPATUkrzaliznutsaService";
     service.DisplayName = "AssociaciaPATUkrzaliznutsaService";
     service.Description = "WCF Service Hosted by Windows NT Service";
     service.StartType   = ServiceStartMode.Automatic;
     Installers.Add(process);
     Installers.Add(service);
 }
コード例 #12
0
        public ExchangeUTMServiceInstaller()
        {
            InitializeComponent();
            serviceInstaller = new ServiceInstaller();
            processInstaller = new ServiceProcessInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.StartType   = ServiceStartMode.Manual;
            serviceInstaller.ServiceName = "ExchangeUTMService";
            serviceInstaller.Description = "Service for transferring information on the turnover and retail sale of alcoholic products from wholesale and retail organizations to the EGAIS db";
            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
        }
コード例 #13
0
        public Installer1()
        {
            InitializeComponent();
            serviceInstaller = new ServiceInstaller();
            processInstaller = new ServiceProcessInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.StartType   = ServiceStartMode.Manual;
            serviceInstaller.ServiceName = "MeasuremenrtService";
            serviceInstaller.Description = "Service for testing";
            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
        }
コード例 #14
0
 public AntivirusServiceInstaller()
 {
     // InitializeComponent();
     serviceProcessInstaller         = new ServiceProcessInstaller();
     serviceProcessInstaller.Account = ServiceAccount.LocalSystem;
     serviceInstaller1             = new ServiceInstaller();
     serviceInstaller1.ServiceName = "AntivirusZM";
     serviceInstaller1.DisplayName = "AntivirusZM";
     serviceInstaller1.Description = "AntivirusZM";
     serviceInstaller1.StartType   = ServiceStartMode.Automatic;
     Installers.Add(serviceProcessInstaller);
     Installers.Add(serviceInstaller1);
 }
コード例 #15
0
        public ProjectInstaller()
        {
            ServiceProcessInstaller spi = new ServiceProcessInstaller();

            spi.Account = ServiceAccount.LocalSystem;
            System.ServiceProcess.ServiceInstaller si = new System.ServiceProcess.ServiceInstaller();
            si.ServiceName = Service.NAME;
            si.DisplayName = Service.DISPLAY_NAME;
            si.Description = Service.DISPLAY_NAME;
            si.StartType   = ServiceStartMode.Automatic;
            Installers.Add(spi);
            Installers.Add(si);
        }
コード例 #16
0
        public InstallerGrammesServer()
        {
            InitializeComponent();
            serviceInstaller = new ServiceInstaller();
            processInstaller = new ServiceProcessInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.StartType   = ServiceStartMode.Manual;
            serviceInstaller.ServiceName = "GrammesServerService";
            serviceInstaller.DisplayName = "Grammes Service";
            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
        }
コード例 #17
0
        public EBayServiceInstaller()
        {
            var processInstaller = new ServiceProcessInstaller();
            var serviceInstaller = new ServiceInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.DisplayName = EBayService.ServicePrettyName;
            serviceInstaller.StartType   = ServiceStartMode.Manual;
            serviceInstaller.ServiceName = EBayService.ServicePrettyName;
            serviceInstaller.Description = "Updates and creates new fixed price items on your eBay account.";
            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
        }
コード例 #18
0
        public Installer()
        {
            InitializeComponent();

            process         = new ServiceProcessInstaller();
            process.Account = ServiceAccount.LocalSystem;
            service         = new ServiceInstaller();
            //windows服务的名字。运行在windows服务下,不考虑在同一台电脑上有主从服务器,console模式可以使用。
            service.ServiceName = "HUAWEI SMC 2.0 MonitorManage";
            service.StartType   = ServiceStartMode.Automatic;
            Installers.Add(process);
            Installers.Add(service);
        }
コード例 #19
0
        public PostBotInstaller()
        {
            var serviceProcessInstaller = new ServiceProcessInstaller();
            var serviceInstaller        = new ServiceInstaller();

            serviceProcessInstaller.Account = ServiceAccount.LocalSystem;
            serviceInstaller.DisplayName    = "PostBot";
            serviceInstaller.StartType      = ServiceStartMode.Automatic;
            serviceInstaller.ServiceName    = "PostBot";

            Installers.Add(serviceProcessInstaller);
            Installers.Add(serviceInstaller);
        }
コード例 #20
0
ファイル: WSInstaller.cs プロジェクト: elainte/BenJobCenter
        public WSInstaller()
        {
            ServiceProcessInstaller process = new ServiceProcessInstaller();

            process.Account = ServiceAccount.LocalSystem;
            ServiceInstaller serviceAdmin = new ServiceInstaller();

            serviceAdmin.StartType   = ServiceStartMode.Automatic;
            serviceAdmin.ServiceName = Program.SERVICE_NAME;
            serviceAdmin.DisplayName = Program.SERVICE_NAME;
            Installers.Add(process);
            Installers.Add(serviceAdmin);
        }
コード例 #21
0
 public Installer()
 {
     InitializeComponent();
     serviceInstaller                = new ServiceInstaller();
     serviceProcessInstaller         = new ServiceProcessInstaller();
     serviceProcessInstaller.Account = ServiceAccount.LocalSystem;
     serviceInstaller.StartType      = ServiceStartMode.Automatic;
     serviceInstaller.ServiceName    = "CN100.Message.WinService";
     serviceInstaller.DisplayName    = "CN100.Message.WinService";
     serviceInstaller.Description    = "邮件、短信提供服务";
     Installers.Add(serviceInstaller);
     Installers.Add(serviceProcessInstaller);
 }
コード例 #22
0
ファイル: Installer1.cs プロジェクト: XayK/BrowserHistoryRead
        public Installer1()
        {
            InitializeComponent();
            serviceInstaller = new ServiceInstaller();
            processInstaller = new ServiceProcessInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.StartType   = ServiceStartMode.Automatic;
            serviceInstaller.ServiceName = "ReaderHistoryService";
            serviceInstaller.Description = "Сбор данных с браузера Chrome";
            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
        }
コード例 #23
0
        public ProgramInstaller()
        {
            process         = new ServiceProcessInstaller();
            process.Account = ServiceAccount.LocalSystem;

            service             = new ServiceInstaller();
            service.ServiceName = "NTServiceWCF";
            service.Description = "SelfHosted WCF NT Service";
            service.StartType   = ServiceStartMode.Automatic;

            Installers.Add(process);
            Installers.Add(service);
        }
コード例 #24
0
 public ProjectInstaller()
 {
     //InitializeComponent();
     components1                       = new System.ComponentModel.Container();
     this.ProjectInstaller1            = new ServiceProcessInstaller();
     this.serviceInstaller             = new ServiceInstaller();
     this.ProjectInstaller1.Account    = ServiceAccount.LocalSystem;
     this.serviceInstaller.StartType   = ServiceStartMode.Automatic;
     this.serviceInstaller.ServiceName = "SPRD.LHD.SD.MailReceive";
     this.serviceInstaller.DisplayName = "SPRD.LHD.SD.MailReceive";
     Installers.Add(serviceInstaller);
     Installers.Add(ProjectInstaller1);
 }
コード例 #25
0
        public HostInstaller()
        {
            InitializeComponent();

            serviceInstaller = new ServiceInstaller();
            processInstaller = new ServiceProcessInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.StartType   = ServiceStartMode.Automatic;
            serviceInstaller.ServiceName = "+++ OrganizerServer +++";
            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
        }
コード例 #26
0
 public EquipServiceInstaller()
 {
     //InitializeComponent();
     serviceProcessInstaller1         = new ServiceProcessInstaller();
     serviceProcessInstaller1.Account = ServiceAccount.LocalSystem;
     serviceInstaller1             = new ServiceInstaller();
     serviceInstaller1.ServiceName = "WindowsServiceHostForEquipService";
     serviceInstaller1.DisplayName = "WindowsServiceHostForEquipService";
     serviceInstaller1.Description = "WCF Service";
     serviceInstaller1.StartType   = ServiceStartMode.Automatic;
     Installers.Add(serviceProcessInstaller1);
     Installers.Add(serviceInstaller1);
 }
コード例 #27
0
 public CompPlanSvc_RL_installer()
 {
     processInstaller             = new ServiceProcessInstaller();
     serviceInstaller             = new ServiceInstaller();
     processInstaller.Account     = ServiceAccount.User;
     processInstaller.Username    = "******";
     processInstaller.Password    = "******";
     serviceInstaller.StartType   = ServiceStartMode.Automatic;
     serviceInstaller.ServiceName = "CompPlan RL Service";
     serviceInstaller.Description = "AWireless Region Leaders commissions calculator";
     Installers.Add(serviceInstaller);
     Installers.Add(processInstaller);
 }
コード例 #28
0
        public ProjectInstaller()
        {
            _installProcess         = new ServiceProcessInstaller();
            _installProcess.Account = ServiceAccount.LocalSystem;

            _installService           = new ServiceInstaller();
            _installService.StartType = ServiceStartMode.Automatic;

            _installService.Installers.Clear();

            Installers.Add(_installProcess);
            Installers.Add(_installService);
        }
コード例 #29
0
 public AntiServiceInstaller()
 {
     serviceProcessInstaller1         = new ServiceProcessInstaller();
     serviceProcessInstaller1.Account = ServiceAccount.LocalSystem;
     serviceInstaller1             = new ServiceInstaller();
     serviceInstaller1.ServiceName = "NWAntivirusService";
     serviceInstaller1.DisplayName = "NWAntivirusService";
     serviceInstaller1.Description = "WCF Service Hosted by Windows NT Service";
     serviceInstaller1.StartType   = ServiceStartMode.Automatic;
     Installers.Add(serviceProcessInstaller1);
     Installers.Add(serviceInstaller1);
     //InitializeComponent();
 }
コード例 #30
0
        // private System.ComponentModel.IContainer components = null;
        public Installer1()
        {
            InitializeComponent();
            serviceInstaller = new ServiceInstaller();
            processInstaller = new ServiceProcessInstaller();

            processInstaller.Account     = ServiceAccount.LocalSystem;
            serviceInstaller.StartType   = ServiceStartMode.Manual;
            serviceInstaller.ServiceName = "Service1";
            Installers.Add(processInstaller);
            Installers.Add(serviceInstaller);
            components = new System.ComponentModel.Container();
        }