Windows服务未安装在系统中 [英] Windows Service does not installed in system
本文介绍了Windows服务未安装在系统中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用vs 2010命令提示符在系统中安装Windows服务时,我遇到错误,因为StartService:OpenService FAILED 1060:
指定的服务不作为已安装的服务存在。
When i installed windows service in system using vs 2010 command prompt then i have got error as StartService : OpenService FAILED 1060:
The specified service does not exist as an installed service.
推荐答案
使用visual studio Installer安装项目创建安装程序。
你可以创建一个像
$这样的项目b $ b
文件 - >新项目 - >其他项目类型 - > Visual Studio Installer-> SetUp项目
并右键单击窗口左侧面板上的应用程序文件夹
然后
添加 - > ;组装并选择你的windows服务
注意:确保所有项目都应该在同一个解决方案中
Create an installer using visual studio Installer setup project.
you can create a project like
File->New Project->Other project Type->Visual Studio Installer->SetUp Project
And Right Click on the Application Folder on left side panel of the window
then
Add->Assembly and select your windows service
Note:Make sure that all the project should be in same solution
这篇关于Windows服务未安装在系统中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文