Services problem


Hi every one
I wanted to try and make a service. But when I open the service template in visual studio 2008 an
d build it, it all works fine. Now I install it by tipping (test.exe –install )in the command prompt and it gives me this.
1
2
3
4
5
6
7
8
9
10
11
12
13
Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the C:\Users\danie\Desktop\test\Release\test.exe assembly's progress.
The file is located at C:\Users\danie\Desktop\test\Release\test.InstallLog.

The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the C:\Users\danie\Desktop\test\Release\test.exe assembly's progress.
The file is located at C:\Users\danie\Desktop\test\Release\test.InstallLog.

The Commit phase completed successfully.

The transacted install has completed.

But when I look in my service explorer I cannot find my Service. So I was wondering what am I doing wrong… I am using vista 32 bit (account: administrator) and visual studio 2008
hi

well after a long surch i found that this works...

http://www.c-sharpcorner.com/UploadFile/sachin.nigam/InstallingWinServiceProgrammatically11262005061332AM/InstallingWinServiceProgrammatically.aspx

but this maks a secon programe that you can then run to install you service but i am still wondering how di fix the problen.

i dont realy like the work around.

any help would be help full
Topic archived. No new replies allowed.