I have a windows service project and a setup project. I can't figure out how to change the name of the actual service when it is installed (the name listed in windows services . . . services.msc).
A:
Change the "DisplayName" in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<Service Name>
subkey.
AMissico
2010-06-22 00:30:54
The issue is is that I need to reinstall this service a lot and I want to be able to set the name of the service on install.
Chris
2010-06-22 15:06:43
Oops. Missed the "setup project".
AMissico
2010-06-22 18:43:32
A:
If you view the properties for the installer class there is a property called ServiceName which dictates what the name will be in the list of services.
Chris
2010-06-22 15:44:47