C# Windows Service Setup

  1.在“运行”里,输入cmd,进入控制台命令窗口:

  2.进入“C:\Windows\Microsoft.NET\Framework\v4.0.30319”,如下所示:

  3.安装Windows Service,输入InstallUtil.exe 和 Windows Service 安装程序路径

  4.卸载Windows Service, 输入InstallUtil.exe, Windows Service 安装程序路径,-u

以上Windows Service 是基于.NET FrameWork 4平台的

 

posted @ 2012-04-27 20:25  pstune  阅读(340)  评论(0编辑  收藏  举报