12

如何在 WiX ServiceInstall 属性中设置服务的依赖项以依赖于,例如 LmHosts

4

1 回答 1

17
<ServiceInstall Id="ServiceNameId" Type="ownProcess" Name="ServiceName"
                DisplayName="Service Display Name"
                Description="Service Description" Start="auto" Account="LOCALSYSTEM"
                ErrorControl="normal">
      <ServiceDependency Id="LmHosts" />
</ServiceInstall>
于 2013-01-15T14:24:15.453 回答