
November 1st, 2007, 08:55 AM
|
|
Registered User
|
|
Join Date: Mar 2007
Posts: 2
Time spent in forums: 38 m 32 sec
Reputation Power: 0
|
|
|
Building a service
I found a nice article that walks you thru building your first service:
codeproject.com/dotnet/simplewindowsservice.asp?df=100&forumid=15217&select=2295541&msg=2295541
My service works well, just as the article described. I have three questions that I can not find the answer for:
1. I set the StartType to Automatic in the ProjectInstaller. This works fine, but the service does not automatically start until a reboot. How can I force it to start after install?
2. Where can you set the default install path? c:\MyinstallHere
3. I see a spot for a service name: this.serviceInstaller1.ServiceName, but no place for the service description. Where is this set?
Can anyone send me a resource to help find answers to my questions? Thanks for reading.
|