2

How do I remotely install a Windows service using C#? (I prefer not calling sc.exe / psexec / powershell remoting).

Thanks! Yuval

Yuval Peled
  • 4,988
  • 8
  • 30
  • 36

1 Answers1

6

You should take a look at the TopShelf project. They make deployment of windows services pretty painless. XCopy and invoke with any of these command line options and you should be good to go.

Kevin McMahon
  • 2,643
  • 25
  • 31