It is based on ServiceName .
The installer really does not care about the name, you can provide almost any name, and the installer will be happy to register a Windows service with this name for you, but when you try to start the service, it will fail if it does not find a service in your assembly that has ServiceName . corresponding to the ServiceName specified in the installer.
Error 1083: The executable program that this service is configured to run in does not implement the service.
source share