Installing Windows Services using Microsoft.net Setup and Deployment project

E

elcc1958

I have created a Dot Net Windows Service. I am able to install it
manually it using InstallUtil. I am now trying to create a setup
package MSI and let the setup program take care of deploying and
installing the service.
I searched the internet for answers, but there are too many different
approaches. Some of them seem more like workarounds than a straight
forward solutions. I been giving some suggestions, from invoking
InstallUtil from within the installation to create Custom Action
within the setup project. I have not yet received a answer that
allow me to successfully accomplish my task. I do not know which
direction to take. Please help. Thank you so much in advance.

El.
 
M

Mike Hildner

Go with the custom action business. Look up "Adding Installers to your
Service Application" in MSDN. Make sure to follow the instructions closely,
as it's easy to miss a step. Seems like it's a little complex to do, but
once it's done, it's very nice.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top