在安装过程中如何注册Windows服务? [英] How do you register a Windows Service during installation?

查看:192
本文介绍了在安装过程中如何注册Windows服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在VB.net 2008中构建了一个Windows服务应用程序,并使用安装向导来添加一个安装过程。



安装程序工作,因为它添加该应用程序添加/删除程序并复制所有文件等,但它缺少实际安装服务的最终(必需)步骤。



我已经添加了主项目的输出作为安装和卸载的自定义操作,没有成功。



什么是秘密?

解决方案

您需要创建自定义安装任务; MSDN具有您需要知道的一切


I have built a windows service application in VB.net 2008, and used the Setup Wizard to add an installation process.

The installer works, in that it adds the app to add/remove programs and copies all of the files etc, but it's missing the final (required) step of actually installing the service.

I have added the primary output of the Project as a custom action for Install and Uninstall, without success.

what's the secret?

解决方案

You need to create a custom install task; MSDN has everything you need to know

这篇关于在安装过程中如何注册Windows服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆