如何添加依赖关系到Windows服务 [英] How to add dependencies to a windows service

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

问题描述

如何在InstallShield中为Windows服务添加依赖关系?
我的winservice取决于以下两个服务,所以他们必须在服务启动前运行:

How to add dependencies to a windows service in InstallShield? My winservice depend on the two following services, so they must run before the service starts:


  1. COMSysApp

  2. SENS

注意:我已经使用InstallShield项目安装我的服务,而不是Windows安装程序类,所以我不能用这种方法Jerry.Wang在他的文章

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.

编辑

如何在installshield中添加依赖关系到SEN服务?

How to add a dependency to SEN Service in installshield?

推荐答案

我已经通过将依赖项添加到ServiceComponent向导。

I have solved it myself by adding the dependencies in ServiceComponent Wizard.

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

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