设置c#windows服务描述及允许服务与桌面交互的几种方法
方法一:在ProjectInstaller.cs重写 install() ,Uninstall()方法public override void Install(IDictionary stateServer) { Microsoft.Win32.RegistryKey system, //HKEY_LOCAL_MACHINE/Services/CurrentControlSet