Installing Service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian

    Installing Service

    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


  • Charlie Brown

    #2
    Re: Installing Service

    On Aug 1, 10:02 am, "Brian" <bsgalla...@com munity.nospamwr ote:
    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.

    Comment

    • sloan

      #3
      Re: Installing Service

      You can take a look here:


      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.




      "Brian" <bsgallatin@com munity.nospamwr ote in message
      news:O2wTE998IH A.6052@TK2MSFTN GP04.phx.gbl...
      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
      >

      Comment

      Working...