Installing Service

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

Hi,
I've written a service program... and i can install and uninstall on my pc.
My question is, How do I create a install package to install this on another
machine?
Brian
 
Hi,
I've written a service program... and i can install and uninstall on my pc.
My question is, How do I create a install package to install this on another
machine?
        Brian

Brian,
You can create a setup project for this like any other project your
create. There are two additional steps you must do to pull it off
however. Create your setup project like you normally would for a
Windows Form application. Click on the setup project, then go to the
"Custom Actions Editor", right click on Install and add the Primary
output from your service project to it. Do the same for the Uninstall
folder as well.

Assuming I didn't forget anything, that should do it for you.
 
You can take a look here:
http://www.eggheadcafe.com/articles/20041204.asp

IGNORE the msmq part of it. (As in don't ask "Why is he telling me about a
msmq project?")

Find where Peter allows for a .bat file install and uninstall of windows
services.

That was a nice nugget I found that he did...that I use as the installer for
windows service.
It takes alot of the drama out of it.
 
Back
Top