服务安装程序命令行

服务安装程序命令行

本文介绍了服务安装程序命令行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用ManagedInstallerClassInstaller安装Windows服务时,如何为该服务设置启动命令行参数?

即可执行文件的路径="c:\ service.exe -p param1 -q param2"

When installing a windows service with ManagedInstallerClass and Installer how can you set the start-up command line arguments to the service?

i.e. Path to executable = "c:\service.exe -p param1 -q param2"

推荐答案


这篇关于服务安装程序命令行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 04:25