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 best solutions below

0
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>