Hungry Beast
Hungry Beast

Reputation: 3735

Visual Studio Windows Service Project and Service Name

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).

Upvotes: 3

Views: 3560

Answers (2)

Hungry Beast
Hungry Beast

Reputation: 3735

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.

Upvotes: 5

AMissico
AMissico

Reputation: 21684

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

Upvotes: 0

Related Questions