Background: I am a developer. I write Windows software for a living, have done for many years. And this problem has got me flummoxed 
I've written a simple Windows service. It was working just great on Windows XP. So I ported the source code across and recompiled it. No problems experienced so far.
Then came the time to load the service and start it. And I seem to have entered a world of pain.
With XP it was pretty easy to load a service, using the Microsoft supplied InstallUtil.exe utility. Then you could use the service control manager to start/stop it at will. Well the SCM is there because I can see lots of services, but can I get my service to join the ranks? Can I **&%**.
Tried the InstallUtil trick. It doesn't want to play ball. And I have identified the right InstallUtil utility. Also installed the Windows 7 SDK and a pile of stuff has taken up residence on my hard disk.
So I have to ask the question. Given an NT service which comes as an EXE, how do I persuade Windows 7 to get that service ready for action?
Andrew
I've written a simple Windows service. It was working just great on Windows XP. So I ported the source code across and recompiled it. No problems experienced so far.
Then came the time to load the service and start it. And I seem to have entered a world of pain.
With XP it was pretty easy to load a service, using the Microsoft supplied InstallUtil.exe utility. Then you could use the service control manager to start/stop it at will. Well the SCM is there because I can see lots of services, but can I get my service to join the ranks? Can I **&%**.
Tried the InstallUtil trick. It doesn't want to play ball. And I have identified the right InstallUtil utility. Also installed the Windows 7 SDK and a pile of stuff has taken up residence on my hard disk.
So I have to ask the question. Given an NT service which comes as an EXE, how do I persuade Windows 7 to get that service ready for action?
Andrew