mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-10-26 11:24:59 +00:00
Move Windows specific files.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@226 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
BIN
giveio.sys
BIN
giveio.sys
Binary file not shown.
@@ -1,34 +0,0 @@
|
|||||||
@set DIRVERNAME=giveio
|
|
||||||
@set DIRVERFILE=%DIRVERNAME%.sys
|
|
||||||
|
|
||||||
@echo Copying the driver to the windows directory
|
|
||||||
@echo target file: %WINDIR%\%DIRVERFILE%
|
|
||||||
@copy %DIRVERFILE% %WINDIR%\%DIRVERFILE%
|
|
||||||
|
|
||||||
@echo Remove a running service if needed...
|
|
||||||
@loaddrv stop %DIRVERNAME% >NUL
|
|
||||||
@if errorlevel 2 goto install
|
|
||||||
|
|
||||||
@loaddrv remove %DIRVERNAME% >NUL
|
|
||||||
@if errorlevel 1 goto install
|
|
||||||
|
|
||||||
:install
|
|
||||||
@echo Installing Windows NT/2k/XP driver: %DIRVERNAME%
|
|
||||||
|
|
||||||
@loaddrv install %DIRVERNAME% %WINDIR%\%DIRVERFILE%
|
|
||||||
@if errorlevel 3 goto error
|
|
||||||
|
|
||||||
@loaddrv start %DIRVERNAME%
|
|
||||||
@if errorlevel 1 goto error
|
|
||||||
|
|
||||||
@loaddrv starttype %DIRVERNAME% auto
|
|
||||||
@if errorlevel 1 goto error
|
|
||||||
|
|
||||||
@echo Success
|
|
||||||
@goto exit
|
|
||||||
|
|
||||||
:error
|
|
||||||
@echo ERROR: Installation of %DIRVERNAME% failed
|
|
||||||
|
|
||||||
:exit
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
@set DIRVERNAME=giveio
|
|
||||||
|
|
||||||
@loaddrv stop %DIRVERNAME%
|
|
||||||
@if errorlevel 2 goto error
|
|
||||||
|
|
||||||
@loaddrv remove %DIRVERNAME%
|
|
||||||
@if errorlevel 1 goto error
|
|
||||||
|
|
||||||
@goto exit
|
|
||||||
|
|
||||||
:error
|
|
||||||
@echo ERROR: Deinstallation of %DIRVERNAME% failed
|
|
||||||
|
|
||||||
:exit
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
@set DIRVERNAME=giveio
|
|
||||||
|
|
||||||
@loaddrv status %DIRVERNAME%
|
|
||||||
@if errorlevel 1 goto error
|
|
||||||
|
|
||||||
@goto exit
|
|
||||||
|
|
||||||
:error
|
|
||||||
@echo ERROR: Status querry for %DIRVERNAME% failed
|
|
||||||
|
|
||||||
:exit
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user