You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
705 B
26 lines
705 B
3 years ago
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Configuration.Install;
|
||
|
using System.Linq;
|
||
|
using Stone.Common;
|
||
|
|
||
|
|
||
|
namespace Stone.WinService
|
||
|
{
|
||
|
[RunInstaller(true)]
|
||
|
public partial class Installer1 : System.Configuration.Install.Installer
|
||
|
{
|
||
|
public Installer1()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
|
||
|
this.serviceInstaller1.Description = "STD数据解析服务";
|
||
|
this.serviceInstaller1.DisplayName = "Stone.WinService." + MyAppconfig.ReadValue("ServiceName");
|
||
|
this.serviceInstaller1.ServiceName = "Stone.WinService." + MyAppconfig.ReadValue("ServiceName");
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|