I am under the impression that you need to start out by designing your application as a Window's Service. It's an application target type and will automatically build out the service controller ...
One option is to add code to the service installer constructor to detect whether the relevant services are installed already (you can use helper methods exposed by the WindowsService class for this).