I'm working on an application which has a Windows Service that depends on SQL Server. The service can only be started after the SQL Server has started. However, on client machines, people names SQL Instances differently which leads to different ServiceName.
I have take a look at here but unfortunately, because SQL Server names the service based on Instance name, such as MSSQL$RMS and MSSQL$ABC. Is there a way to configure service dependencies using wildcard?