title: How do I cause an attempt to uninstall my Windows service to fail if another service has a dependency on it?
body: <p>I have a Windows service (written in .NET) for which I built an installer using WiX 3.7. It serves an infrastructure role, and anyone can write another Windows Service that uses it. Since my service is required to run when any other such services uses it, the installers of other services define my service as their "Service Dependency" during installation.</p>
  
  <p>Unfortunately, Windows seems to allow removing a Windows service even when other services depend on it. I'd like to make my installer give an error and fail to uninstall my service when any other dependent service is still installed on that machine.</p>
  
  <p>I don't know what other services will be built on top of mine, so I can't hard-code any checks.</p>
  
  <p>Is there a way to do this with WiX?</p>