Подтвердить что ты не робот

Зависимость службы WiX ServiceInstall

Как установить зависимость для службы в атрибуте WiX ServiceInstall, чтобы зависеть, например, от LmHosts

4b9b3361

Ответ 1

<ServiceInstall Id="ServiceNameId" Type="ownProcess" Name="ServiceName"
                DisplayName="Service Display Name"
                Description="Service Description" Start="auto" Account="LOCALSYSTEM"
                ErrorControl="normal">
      <ServiceDependency Id="LmHosts" />
</ServiceInstall>