home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
m
/
mw612.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-05-22
|
3KB
|
104 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
echo
echo Searching for a mouse...... Please wait
echo
mouse cenhance lo nb > nul
if errorlevel 141 goto BUSERR
if errorlevel 128 goto PS2SERIAL
:RunMWINST
MWINST MSMMLDADDC > nul
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.
: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