本文介绍了在安装过程中如何注册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服务?
发布评论