05 2010 档案

为c#服务添加安装程序【转载】
摘要: 1.将写好的windows服务切换到设计视图,右键-添加安装程序 2. 切换到新生成的ProjectInstaller.cs设计视图,找到serviceProcessInstaller1对Account属性设置为 LocalSystem,对serviceInstaller1的ServiceName属性设置为Server1(服务的名字),StartType属 性设置为Automatic(系统启动的时...阅读全文
posted @ 2010-05-26 11:29 遛扬狗 阅读(84) | 评论 (0) 编辑