问题描述
我的 WIX 设置中有以下代码。现在我确实想停止该服务,当我再次安装它时。
<Component Id="CMP_Service" Feature="Core" Guid="8926df5e-89b3-47b0-875e-b5c4d14ab0b4">
<File Source="$(var.Service.TargetPath)" KeyPath="yes">
<fire:FirewallException Id="ServiceException" Name="Service Exception" Protocol="tcp" Port="[PORTProperty]" Scope="any" />
</File>
<ServiceInstall Id="ServiceInstallELS"
Name="Service"
Description="Service"
Start="auto"
Account="NT AUTHORITY\LocalService"
ErrorControl="critical"
Type="ownProcess"
Vital="yes" Arguments=" /start AtledService" />
<ServiceControl Id="ServiceControllELS"
Name="Service"
Start="install"
Stop="both"
Remove="uninstall"
Wait="yes" />
</Component>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)