使用InstallUtil安装或卸载服务
一.安装服务:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe D:MyServices est.exe
pause
二.卸载服务:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe -u D:MyServices est.exe
pause
使用InstallUtil安装或卸载服务
一.安装服务:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe D:MyServices est.exe
pause
二.卸载服务:
C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe -u D:MyServices est.exe
pause