【发布时间】:2013-04-18 21:17:30
【问题描述】:
我已经做了一些研究,并从我在 StackOverFlow 上找到的问题中添加了一些内容。但我仍然遇到服务无法自动启动的问题
这是我读过的一些问题/答案
- How To Auto Start Windows Service
- Automatically start a windows Service on install
- Auto Start Windows Services through installer in vs net 2008
- How to Automatically start your service after install
我在我的安装程序代码中设置了启动类型
我设置了安装后代码
我通过重启测试过,没有。
卸载,重新安装,启动服务,然后重新启动,服务没有在重新启动时自动启动。
我确保每次进行更改时,我都会在全新安装之前对项目和设置项目进行重建。
在搜索 Google 时,我目前的情况也找不到太多。
我错过了什么吗?
【问题讨论】:
标签: windows-7 windows-services