|
-
December 16th, 2008, 05:05 PM
#1
[Question] Windows service not found after install
I just wrote a core of a windows service, it doesn't really do anything special, it should execute this line every 5 sec
System.Diagnostics.Trace.Write("Doing something");
So I create a setup for it, and installed it, but i can't find it under
My Computer(Right click) -> Manage->services
I can't find over there but in Control panel -> add/remove programs, it's there. I can uninstall it, i just can't find it or get it do proc.
Can anyone help me?
-
December 16th, 2008, 08:08 PM
#2
Re: [Question] Windows service not found after install
You need to create a service installer and install it with the "InstallUtil.exe" utility.
To create the service installer, open up your project, open the service, right click on the open service and choose 'Add installer'.
Fill out the properties as appropriate.
To register your service as a windows service, run InstallUtil <nameofservice>.
You'll need to modify your setup program to run the 'InstallUtil.exe' tool or use any builtin service registration features.
-
December 17th, 2008, 02:35 AM
#3
Re: [Question] Windows service not found after install
The InstallUtil produces quite a lot of logs, check it. The installation process perform rollback if something went wrong, so there can be no evidence of installation failure in the system, just in the log.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|