Yuval Peled
Yuval Peled

Reputation: 5038

Remotely install Windows service

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

Thanks! Yuval

Upvotes: 2

Views: 1655

Answers (1)

Kevin McMahon
Kevin McMahon

Reputation: 2644

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.

Upvotes: 6

Related Questions