开发者

How can I add programatically service dependencies to an installed Window service?

开发者 https://www.devze.com 2023-01-11 05:34 出处:网络
How can I add programaticallyservice dependencies to an installed Window service ? It would really helpful, If someone suggest solution using WMI through the System.Management nam开发者_运维技巧espac

How can I add programatically service dependencies to an installed Window service ?

It would really helpful, If someone suggest solution using WMI through the System.Management nam开发者_运维技巧espace . What is property for dependencies on which I can set services?


You want to use the Change method of the Win32_Service class. The last parameter is a doubly-NULL-terminated list of dependencies.

0

精彩评论

暂无评论...
验证码 换一张
取 消