Visual Studio Windows Project and Service Name

I have a windows service project and an installation project. I cannot figure out how to change the name of the actual service when it is installed (the name specified in Windows services ... services.msc).

+3
source share
2 answers

If you are looking at properties for an installer class, there is a property called ServiceName that determines what name will be in the list of services.

+5
source

Change the "DisplayName" in the section HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<Service Name>.

0
source

Source: https://habr.com/ru/post/1751106/


All Articles