在安装过程中如何注册Windows服务?

编程入门 行业动态 更新时间:2024-10-28 09:14:26
本文介绍了在安装过程中如何注册Windows服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我已经在VB 2008中构建了一个Windows服务应用程序,并使用安装向导来添加一个安装过程。

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

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

什么是秘密?

解决方案

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

I have built a windows service application in VB 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服务?

本文发布于:2023-05-30 15:31:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/371044.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:过程中   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!