C# windows服务没有RunInstallerAttribute.Yes的公共安装程序

1.在视图状态 右键添加ServiceInstaller及ServiceProcessInstaller两个控件; 

2.将serviceProcessInstaller类的Account属性改为 LocalSystem 

posted @ 2018-08-15 15:11  KunSun  阅读(3169)  评论(0)    收藏  举报