home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
drivers
/
mw62.arj
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-10-02
|
3KB
|
117 lines
echo off
cls
IF NOT EXIST COMCHECK.EXE GOTO WRONGDSK
goto START
:WRONGDSK
echo
echo The current drive/directory must be the mouse disk.
echo
echo Example:
echo -------
echo
echo To install your mouse software from the drive A, type
echo
echo A: [┘]
echo INSTALL [┘]
goto ENDERROR
:START
echo
echo
echo Running Mouse Installation Program
echo
echo
echo Searching for a mouse...... Please wait
echo
echo
mouse cenhance ser lo nb > nul
if errorlevel 128 goto LookForOther
goto RunMWINST
:LookForOther
mouse cenhance lo nb > nul
if errorlevel 141 goto BUSERR
if errorlevel 128 goto PS2SERIAL
:RunMWINST
MWINST MSMMLDADDC > nul
if errorlevel 3 GOTO RUNWINSTALL
if errorlevel 2 GOTO TERMINATED
if errorlevel 1 GOTO INITERROR
cls
echo
echo
echo End of Mouse Installation.
echo
echo Please re-boot your machine now.
echo
echo
goto THEEND
:INITERROR
echo
echo
echo Installation program could not run.
echo
echo Make sure you have enough file handles in CONFIG.SYS.
echo
echo E.g. FILES=20
GOTO ENDERROR
:TERMINATED
echo
echo
echo Installation terminated!
echo
echo Your mouse software has not been installed correctly.
GOTO ENDERROR
:RUNWINSTALL
cls
echo
echo
echo End of Mouse Installation.
echo
echo To install your Windows Mouse Drivers and Utilities:
echo - reboot your machine;
echo - type WIN and press ENTER;
echo - choose Run from the File menu;
echo - type A:\WINSTALL and choose OK.
echo
echo Please re-boot your machine now.
echo
GOTO THEEND
:PS2SERIAL
cls
echo
echo Your PS/2 or serial mouse is not responding......
echo
echo PS/2 mouse:
echo - Turn your computer off.
echo - Re-check the mouse cable connection.
echo - Re-boot and try the installation once again.
echo
echo Serial mouse:
echo - Run the COMCHECK program (type A:\COMCHECK) to check
echo your serial port(s) interrupts and mouse connection.
echo - Turn your computer off.
echo - Re-check the mouse cable connection.
echo - Re-boot and try the installation once again.
goto ENDERROR
:BUSERR
cls
echo
echo Your Bus Version mouse is not responding...
echo
echo - Turn your computer off.
echo - Re-check the cable connection and your bus board
echo installation.
echo - Make sure the interrupt jumper is set.
echo - Re-boot and try the installation once again.
:ENDERROR
echo
echo
echo For more information, please refer to your documentation.
echo
echo
echo
echo
echo
goto THEEND
:THEEND
echo on