先制作一个Windows Service,然后添加一个新项目——“安装项目” 安装项目与Windows Service项目在同一个解决方案下。 1 2 3 4 5 6 7 8 9 10 11 转载于:https://blog.51cto.com/liweibird/572516