whytheq
whytheq

Reputation: 35605

Windows Service not installing

I'm attempting this walk-through:

http://msdn.microsoft.com/en-us/library/ff649818.aspx

On Step 6 I've had problems using Installutil so had to copy it into the Debug folder of the windows service exe. Now the command line runs but the service does not install and I get the following error message.

Where do I start to find the problem?

enter image description here

This is the commend line application that I'm using:

enter image description here

Upvotes: 0

Views: 2474

Answers (1)

Jeffy
Jeffy

Reputation: 825

Use the Visual Studio Command Prompt to ensure that installutil is in your path.

Make sure you run the aforementioned command as Administrator. The easiest way to do that is to find it in the start menu and then right click it, and choose "Run as Administrator". The quickest way is to press the start button, type "visual studio command prompt" and then press control+shift+enter.

Run as Admin

Upvotes: 4

Related Questions