Как установить зависимость для службы в атрибуте WiX ServiceInstall, чтобы зависеть, например, от LmHosts
Зависимость службы WiX ServiceInstall
Ответ 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>