创建Windows Services安装程序的关键步骤. 1,写好服务类后,增加安装程序类. 2,增加安装程序项目 3,增加自定义操作 4.安装 MSDN参考: http://support.microsoft.com/kb/317421