1

使用 WiX 3.10.3

我有一个在安装过程中无法启动的服务。希望这种启动失败不会导致安装失败并回滚。

我的服务配置:

<ServiceInstall Id="ServiceInstall" Name="MyService" DisplayName="My Service"
                Description="My Service Description" ErrorControl="ignore" Vital="yes"
                Account="LOCALSYSTEM" Type="ownProcess" Start="auto" Interactive="no" />
<ServiceConfig ServiceName="MyService" DelayedAutoStart="yes" OnInstall="yes" OnReinstall ="yes"  />
<ServiceControl Id="ServiceControl" Name="MyService" Start="install" Stop="both" Remove="uninstall" Wait="yes" />

我没有遇到允许安装程序尝试启动服务但忽略结果的正确属性组合。这可能吗?

4

0 回答 0