相关疑难解决方法(0)

使用InstallUtil并静默设置Windows服务登录用户名/密码

我需要使用InstallUtil来安装C#windows服务.我需要设置服务登录凭据(用户名和密码).所有这一切都需要默默地完成.

有没有办法做这样的事情:

installutil.exe myservice.exe /customarg1=username /customarg2=password
Run Code Online (Sandbox Code Playgroud)

.net installer windows-installer windows-services

49
推荐指数
3
解决办法
7万
查看次数