(file) Return to unittest_install.cmd CVS log (file) (dir) Up to [OMI] / omi / ut / win

File: [OMI] / omi / ut / win / unittest_install.cmd (download)
Revision: 1.1, Mon Apr 20 17:20:37 2015 UTC (9 years, 2 months ago) by krisbash
Branch: MAIN
CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD
OMI 1.0.8-1

@ECHO OFF
pushd %cd%

if not [%2]==[] (
    goto :ERROR
)

if not [%1]==[] (
    SET BINPATH=%1) ELSE (SET BINPATH=%_NTTREE%
)


REM ======================Check Unit Test ROOT directory=============

call nits -uninstall
DEL %SYSTEMROOT%\system32\nits*

copy /y %BINPATH%\nitsdll.dll %SYSTEMROOT%\system32\.
copy /y %BINPATH%\nitsinj.dll %SYSTEMROOT%\system32\.
copy /y %BINPATH%\nits.exe %SYSTEMROOT%\system32\.

call nits -install
if ERRORLEVEL 1 goto :ERROR

goto :DONE

:ERROR
echo(
echo Usage: %0 [BINARY ROOT DIR]
ECHO.
goto :DONE

:DONE

ViewCVS 0.9.2