The following "IsServiceInstalled" method looks good, but it throws errors when cannot find a service.
I don't understand why it doesn't simply return "false" if a service is not found.
I use this code to call the following method;
//run other code
private bool IsServiceInstalled(string svcName)
ServiceController services = ServiceController.GetServices();
foreach (ServiceController service in services)
if (service.ServiceName == svcName)