C#的Windows服如何其自安?
用C#了一Windows服,需要在DOS窗口下用installutil命令才能把它安上去,可不可以做一安目在安把windows服自安上去呢?
[解决办法]
写个BAT文件
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe WCFWindowsService.exe
net start "***"
发布时间: 2012-03-17 19:06:27 作者: rapoo
C#的Windows服如何其自安?
用C#了一Windows服,需要在DOS窗口下用installutil命令才能把它安上去,可不可以做一安目在安把windows服自安上去呢?
[解决办法]
写个BAT文件
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe WCFWindowsService.exe
net start "***"