Tuesday, November 13, 2007

Auto-update of Windows Service

I was thinking about an developing application to perform an auto-update of a Windows service. In my previous post, I've posted details on controlling a windows service so to add more to it, I could get the path of the EXE from the registry at HKLM-System-CurrentControlSet-Service-[ServiceName]. So, if I could stop the service and replace the executables with a new version of the service, I could create an auto-updater for the service!

Now, if there's a DLL that's being started by svchost.exe, there's a name following the "-k" that represents multiple DLLs. Updating those is a story I'll write about some other time! :-)

No comments: