Windows Service started and then stopped using Topshelf

I have created a Windows Service Project ... I have also created a Windows Service Installer and have successfully installed the Windows Service in Visual Studio's command prompt using: installutil MyWindowsService.exe

Topshelf services are already based on ServiceBase and do their own installation - you have a console application which you can run along with your app in development to see it's working, then when you want to install it as a service you go to a command prompt as an administrator and call MyWindowsService.exe install - see the documentation for all options. It may work wrapped in another service, but I don't see why you'd want to do so.

There's a basic example of a functional service in the docs.

If you do need an installer, there's one at http://www.bjoernrochel.de/2010/01/09/how-to-integrate-a-topshelf-based-service-with-vs-setup-projects/ (but Topshelf's command line syntax has changed since that was written, and it needs updating.)

(Edit: I just noticed that events number 3 and 4 contain the text "Please run 'MyWindowsService .. install')