I have created a windows service in vb.net. Is there anyway i can create an installation for it that does not require installutil to be used?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Installutil is necessary, but to make things easier, you can create a Setup project, so that you simply run an .msi to install the service. (This uses installutil under the hood, but it greatly simplifies installation.)
One walkthrough is here: http://support.microsoft.com/kb/816169
And another is here: http://msdn.microsoft.com/en-us/library/zt39148a(VS.80).aspx
The main difference between the two is the amount of code in the samples. They both walk you throuigh the same process.
The articles linked to are old, but still apply in VS2010. I used the second article to walk through the process for a VS2010 service just last week.