InstallUtil在windows服务中的使用
摘要:
1、 新建一个Windows Service的方法:1. 打开Visual Studio 2008新建一个project Solution;2. 选择Windows->windows Service,修改服务名称:MyFirstService;3. 在默认窗口Service1中右键Add Install,自动生成两个类。 4. 修改serviceInstaller1的属性: a)Serv... 阅读全文
posted @ 2010-05-22 09:32 沙漠之孤 阅读(28989) 评论(4) 推荐(8) 编辑