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"); } } }