views:

568

answers:

2

I have a service I have developed myself in C# and it includes an msi installation package. When I install this on my own computer I can see it (and start/stop it) in administrative tools -> Services but on another (very similar) machine I can't. I don't really care that much about whether I can see it there but somehow I'd like to be able to start/stop the service. Is there any other way to do that than thru administrative tools -> Services?

Of course, also an answer to "why doesn't the service appear in administrative tools -> Services" would be appreciated:)

A: 

Does this other machine have the appropriate version of .Net installed ?

Bob Moore
+2  A: 

I don't remember seeing any machine with a functional service that did not appear in the Services window. My first guess would be that your service is, in fact, not installed.

Try installing it again [MSDN] with

installutil yourproject.exe

If it's not already in your PATH, look for installutil in %systemroot%\Microsoft.NET\Framework\v2.0.50727\ (or whatever .NET version you've got in there).

Tiberiu Ana