0
Answer

Windows Service Installation - Service installs successfully but doens't show up in service manager

Ask a question
snehal mehta

snehal mehta

17y
1.6k
1
Hello all,


I have written a simple test windows service in C# using Visual Studio.NET. It built successfully and then I tried to install it manually using installutil.exe. That seemed to work fine because I got a message saying
"The commit phase completed successfully. The transacted install has completed"

However, the service doesn't show up in my Service Manager. When I go to Computer Manager -> Services. Its not there. I even tried the NET START Utililty and sc start myservice.exe. But for some reason its not there.

Do I need to do any additional steps to register the service?

Can anyone help?

I am never to programming in C#. Thanks a lot in advance