15 lines
445 B
Batchfile
15 lines
445 B
Batchfile
|
@echo off
|
||
|
|
||
|
net stop NSClientpp
|
||
|
|
||
|
xcopy "%ProgramFiles%\NSclient++\*.ini" "%ProgramFiles%\NSclient++\backup\" /i /h /y
|
||
|
xcopy .\trunk\*.* "%ProgramFiles%\NSclient++\" /e /i /h /y
|
||
|
|
||
|
"%ProgramFiles%\NSclient++\nsclient++.exe" -uninstall
|
||
|
"%ProgramFiles%\NSclient++\nsclient++.exe" -install
|
||
|
Net Start NSClientpp
|
||
|
|
||
|
|
||
|
echo "-------- INSTALL COMPLETED --------------"
|
||
|
echo "Remember to notepad %ProgramFiles%\NSclient++\check_eva.ini"
|
||
|
pause
|