简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM