如何使用installshield添加Windows服务的依赖项 [英] How to add dependencies of a windows service with installshield

查看:105
本文介绍了如何使用installshield添加Windows服务的依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
如何通过installshield添加Windows服务的依赖项?
我的winservice依赖以下三个服务,因此它们必须在服务启动之前运行:

1. COMSysApp
2. SENS
3. MSDTC

注意:我已经使用Installshield项目安装了我的服务,而不是Windows Installer类,所以我无法使用Mr.m.的方式. Jerry.Wang在

Hi all,
How can i add dependencies of a windows service by installshield?
My winservice depend on the three following services, so they must run before the service starts:

1. COMSysApp
2. SENS
3. MSDTC

Note: I have used Installshield project to install my service and not windows installer class so i could not use the way that mr. Jerry.Wang suggested in his article.

推荐答案

您可以通过注册表或命令行添加依赖项.参见例如 http://www.kiwisyslog.com/help/cattools/index.html?appserv_howtoaddservdepends.htm [^ ]
You can add dependencies via the registry or via the command line. See e.g. http://www.kiwisyslog.com/help/cattools/index.html?appserv_howtoaddservdepends.htm[^]


我已经通过在ServiceComponent向导中添加依赖项来解决了这个问题.
I have solved it myself by adding the dependencies in ServiceComponent Wizard.


这篇关于如何使用installshield添加Windows服务的依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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