How can I install a windows service onto a machine that doesn't have Visual Studio installed?

前端 未结 11 1817
悲&欢浪女
悲&欢浪女 2021-01-31 09:08

The only way to install windows-service I know is using \"Visual Studio 2008 Command Prompt\", Is there a way to install windows-service on a machine which isn\

11条回答
  •  被撕碎了的回忆
    2021-01-31 09:57

    Open a command prompt (cmd) and type

    help sc

    and

    sc create

    In additon the installutil.exe you're probably talking about is really just in the .Net Framework directory. The command prompt of VS just sets up a nice path, but you can launch it from (my path) C:\Windows\Microsoft.NET\Framework\v2.0.50727 just fine.

提交回复
热议问题