win-pvdrivers

annotate target/install.bat @ 194:d767540b82c0

fixed a typo in install.bat
author James Harper <james.harper@bendigoit.com.au>
date Fri Feb 22 14:56:36 2008 +1100 (2008-02-22)
parents 8c87bd40fe36
children da58a35a8a31
rev   line source
james@187 1 @ECHO OFF
james@187 2
james@187 3 ver | find "Version 5.2." > nul
james@187 4 if %ERRORLEVEL% == 0 goto ver_2003
james@187 5
james@187 6 ver | find "Version 5.1." > nul
james@187 7 if %ERRORLEVEL% == 0 goto ver_xp
james@187 8
james@187 9 echo No automatic install available or machine not supported.
james@187 10 goto exit
james@187 11
james@187 12 :ver_2003
james@187 13 echo Windows 2003 Detected... Installing...
james@187 14 shutdownmon -i
james@187 15 cd winnet
james@187 16 dpinst.exe /LM
james@187 17 echo Done
james@187 18 goto exit
james@187 19
james@187 20 :ver_xp
james@187 21 echo Windows XP Detected... Installing...
james@187 22 shutdownmon -i
james@194 23 cd winxp
james@187 24 dpinst.exe /LM
james@187 25 echo Done
james@187 26 goto exit
james@187 27
james@187 28 pause
james@187 29 :exit