My app can take up to one of 3 command line args:
-install: Install the service
-uninstall: Uninstall the service
-service: Passed as an argument when the app is running as a service
(No args): Run as a normal console app
And it all starts, runs and stops correctly. Which is nice. Next I want to find out how to put stuff in the event log so I can log critical errors and asserts and the like...