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

前端 未结 11 1836
悲&欢浪女
悲&欢浪女 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:49

    With visual studio command prompt:

    installutil /i fullfilepathtoservice.exe
    

    Without visual studio command prompt:

    C:\WINNT\Microsoft.NET\Framework\v1.1.4322 installutil /i fullfilepathtoservice.exe
    

    HTH.

提交回复
热议问题