what exact registry entries does the installing of a .net windows service create? either with instal

D

Daniel

what exact registry entries does the installing of a .net windows service
create? either with installutil or with a deployment project.
 
J

Jani Järvinen [MVP]

Hi Daniel,

I'm not sure about all the registry entries that InstallUtil creates, but
one is for sure: to install any services (.NET or native Win32), one needs
to create a registry entry in this location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

This is where the Windows Service Control Manager (SCM) looks for the
installed service applications. The entries that exists there are documented
in the Platform SDK, available for example here:

http://msdn.microsoft.com/library/d...database_of_installed_services.asp?frame=true

If you want to see all the registry entries created by InstallUtil, you
might wish to use the free Regmon utility from Sysinternals:

http://www.sysinternals.com/Utilities/Regmon.html

I think using Regmon would be your best option as I haven't seen a detailed
documentation about what InstallUtil does when it runs. But that doesn't
mean such document wouldn't exist.

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top