WiX ServiceInstall Service Dependency

4.7k views Asked by At

How do I set a dependency for a service in the WiX ServiceInstall attribute to depend on, for example, LmHosts

1

There are 1 answers

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