Install a Windows Service programmatically

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

    Install a Windows Service programmatically

    I dont know if this is the correct newsgroup to post questions on Windows
    Service.
    I am trying to install and uninstall a Windows Service programmaticall y.

    As far as I know, there isnt a class in .NET FCL which supports doing that.
    The ServiceControll er class starts/stops an installed service but doesnt
    install a service. Is there a way to install/uninstall a service
    programmaticall y (not using the Installer) ?

    Thanks.



  • Chris Dunaway

    #2
    Re: Install a Windows Service programmaticall y

    Check out this link to another Google post:



    Comment

    • Vince Keller

      #3
      Re: Install a Windows Service programmaticall y

      Thank you very much.
      I was planning on writing the Win32 Interop code... but your post makes it
      redundant.

      :)

      "Chris Dunaway" <dunawayc@gmail .com> wrote in message
      news:1115315490 .390649.198040@ o13g2000cwo.goo glegroups.com.. .[color=blue]
      > Check out this link to another Google post:
      >
      > http://tinyurl.com/9aqle
      >[/color]


      Comment

      Working...