Hi,
I have used topshelf to install our service several times and everything works great, but I have a client that requires it be installed using sc.exe via the command line. They installed the service and everything seemed to work correctly, except for when we go to start the service it times out and throws an exception saying Topshelf.TopshelfException: The Topshelf.Runtime.Windows.WindowsHostSettings service has not been installed yet. Please run 'Name.Of.My.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null install'. Is there a way to prevent topshelf from throwing this error or do I have to make a new project and not use topshelf for it.
Here is the command they are using to install the service:
sc create Name.Of.MyService.DevA binpath= Name.Of.My.Service.exe start= auto