安装后如何自动启动服务? [英] How to start the service automatically after installation?
本文介绍了安装后如何自动启动服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
安装后如何自动启动服务?我可以使用哪个代码段?
How to auto start the service after installation? which code segment I can use?
推荐答案
您必须在解决方案中添加一个Installer
项目. Google是您的朋友.
You have to add an Installer
project to your solution. Google is your friend.
这些可能会帮助您...
http://pietschsoft.com/post/2009/11/06/dotnet-windows-service-installer-and-auto-start-after-installation.aspx [ http://msdn.microsoft.com/en-us/library/ddhy0byf%28v = VS.90%29.aspx [ ^ ]
These might help you...
http://pietschsoft.com/post/2009/11/06/dotnet-windows-service-installer-and-auto-start-after-installation.aspx[^]
http://msdn.microsoft.com/en-us/library/ddhy0byf%28v=VS.90%29.aspx[^]
这篇关于安装后如何自动启动服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文