home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
windows
/
v1dsk2.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1987-01-16
|
17KB
|
537 lines
echo off
set path=a:\
cls
echo This is the installation batch file for the Windows Driver
echo Library, Volume 1, Disk 2. If you have only one floppy disk
echo drive, you should be running this batch file from your hard
echo disk. See the file "readme.txt" for details. This batch file
echo installs only display and pointing device drivers. To install
echo printer drivers, use the Windows Control Panel application.
echo .
echo To install a device driver from this volume, you will need to
echo modify copies of your Windows Setup and Build disks. Make copies
echo of these two disks and store the originals in a safe place. Work
echo only with your copies.
echo .
ync /c "yn" Have you made copies of your Windows Setup and Build disks?
if errorlevel 1 goto abortnotcopies
cls
echo Volume 1, Disk 2 contains drivers for the following displays:
echo 1) Conographics ConoVision 1440
echo 2) STB HT Chauffer
echo 3) STB Multires
echo .
ync /c "yn" Do you wish to install one of these display drivers?
if errorlevel 1 goto pointingdevice
echo .
ync /c "123" Which display driver do you wish to install?
if errorlevel 2 goto muinstall
if errorlevel 1 goto htinstall
if errorlevel 0 goto coinstall
goto pointingdevice
:coinstall
cls
echo This procedure transfers the files required to set up Windows
echo for the ConoVision 1440 display onto copies of the Windows Setup
echo and Build disks.
echo You should make copies of your Setup and Build disks, and put
echo the originals in a safe place. Do not use the original disks
echo in this procedure. Work only with your duplicate copies.
pause
:costart
ync /c "yn" "Does your machine have two floppy disk drives?"
if errorlevel 1 goto hcostart
cls
echo Please insert Driver Library Disk #2 into drive A, and your
echo duplicate of the Windows Setup disk in drive B.
pause
if exist a:drvlib2.lbl goto codrvlibdisk
echo The disk in drive A does not appear to be Windows Driver
echo Library Disk #2.
pause
goto costart
:codrvlibdisk
if exist b:setup.lbl goto cosetupdisk
echo The disk in drive B does not appear to be the Windows Setup disk.
pause
goto costart
:cosetupdisk
echo Making room on the Setup disk for the new files . . .
if exist b:emm.pc del b:emm.pc
if exist b:emm.at del b:emm.at
if exist b:attdc.drv del b:attdc.drv
if exist b:attdeb.drv del b:attdeb.drv
if exist b:egahires.drv del b:egahires.drv
if exist b:egalores.drv del b:egalores.drv
if exist b:egahibw.drv del b:egahibw.drv
echo Copying Conovision driver to the Setup disk . . .
copy a:vision.drv b:
if not exist b:vision.drv goto abortcopyfailed
if exist b:hifonts.fon del b:hifonts.fon
if exist b:fonts400.fon del b:fonts400.fon
echo Copying Conovision fonts to the Setup disk . . .
copy a:vision.fon b:hifonts.fon
:coneedbld
pause
cls
echo Please insert your duplicate of the Windows build disk in drive B.
pause
if exist b:build.lbl goto coblddisk
echo The disk in drive B does not appear to be the Windows build disk.
goto coneedbld
:coblddisk
echo Making room on the build disk for the new files . . .
if exist b:att*.* del b:att*.*
if exist b:egahires.* del b:egahires.*
if exist b:egalores.* del b:egalores.*
if exist b:egahibw.* del b:egahibw.*
echo Copying Conovision files to the build disk . . .
copy a:vision.lgo b:
copy a:vision.lgo b:
if not exist b:vision.lgo goto abortcopyfailed
if not exist b:vision.grb goto abortcopyfailed
goto pointingdevice
:hcostart
cls
echo Please insert Driver Library Disk #2 into drive A.
pause
if exist a:drvlib2.lbl goto hcodrvlibdisk
echo The disk in drive A does not appear to be Windows Driver
echo Library Disk #2.
pause
goto hcostart
:hcodrvlibdisk
echo Copying Conographics files to the hard disk . . .
copy a:ync.exe c:
copy a:vision.drv c:
copy a:vision.lgo c:
copy a:vision.grb c:
copy a:vision.fon c:
if not exist c:vision.drv goto abortcopyfailed
if not exist c:vision.lgo goto abortcopyfailed
if not exist c:vision.grb goto abortcopyfailed
if not exist c:vision.fon goto abortcopyfailed
pause
:hcogetsetupdisk
cls
echo Please insert a copy of the Windows Setup disk
echo in drive A:.
pause
if exist a:setup.lbl goto hcosetupdisk
echo The disk in drive A: does not appear to be a copy of the
echo Windows Setup disk.
pause
goto hcogetsetupdisk
:hcosetupdisk
echo Making room on the Setup disk for the new files . . .
if exist a:emm.pc del a:emm.pc
if exist a:emm.at del a:emm.at
if exist a:attdc.drv del a:attdc.drv
if exist a:attdeb.drv del a:attdeb.drv
if exist a:egahires.drv del a:egahires.drv
if exist a:egalores.drv del a:egalores.drv
if exist a:egahibw.drv del a:egahibw.drv
echo Copying Conographics drivers to the Setup disk . . .
copy c:vision.drv a:
if not exist a:vision.drv goto abortcopyfailed
del c:vision.drv
copy c:vision.fon a:hifonts.fon
if not exist a:hifonts.fon goto abortcopyfailed
del c:vision.fon
:hcogetbuilddisk
cls
echo Please insert a copy of the Windows Build disk
echo in drive A:.
pause
if exist a:build.lbl goto hcobuilddisk
echo The disk in drive A does not appear to be a copy of the
echo Windows Build disk.
pause
goto hcogetbuilddisk
:hcobuilddisk
echo Making room on the build disk for the new files . . .
if exist a:att*.* del a:att*.*
if exist a:egahires.* del a:egahires.*
if exist a:egahibw.* del a:egahibw.*
echo Copying Conographics files to the build disk . . .
copy c:vision.lgo a:
copy c:vision.grb a:
if not exist a:vision.lgo goto abortcopyfailed
if not exist a:vision.grb goto abortcopyfailed
del c:vision.lgo
del c:vision.grb
goto pointingdevice
:muinstall
cls
echo This procedure transfers the files required to set up Windows
echo for the STB Multires display onto copies of the Windows Setup
echo and Build disks.
echo You should make copies of your Setup and Build disks, and put
echo the originals in a safe place. Do not use the original disks
echo in this procedure. Work only with your duplicate copies.
pause
:mustart
ync /c "yn" "Does your machine have two floppy disk drives?"
if errorlevel 1 goto hmustart
cls
echo Please insert Driver Library Disk #2 into drive A, and your
echo duplicate of the Windows Setup disk in drive B.
pause
if exist a:drvlib2.lbl goto mudrvlibdisk
echo The disk in drive A does not appear to be Windows Driver
echo Library Disk #2.
pause
goto mustart
:mudrvlibdisk
if exist b:setup.lbl goto musetupdisk
echo The disk in drive B does not appear to be the Windows Setup disk.
pause
goto mustart
:musetupdisk
echo Making room on the Setup disk for the new files . . .
if exist b:emm.pc del b:emm.pc
if exist b:emm.at del b:emm.at
if exist b:attdc.drv del b:attdc.drv
if exist b:attdeb.drv del b:attdeb.drv
if exist b:egahires.drv del b:egahires.drv
if exist b:egalores.drv del b:egalores.drv
if exist b:egahibw.drv del b:egahibw.drv
echo Copying STB Multires drivers to the Setup disk . . .
copy a:stbmr400.drv b:
copy a:stbmr480.drv b:
copy a:stbmr752.drv b:
copy a:stbmr832.drv b:
if not exist b:stbmr400.drv goto abortcopyfailed
if not exist b:stbmr480.drv goto abortcopyfailed
if not exist b:stbmr752.drv goto abortcopyfailed
if not exist b:stbmr832.drv goto abortcopyfailed
:muneedbld
pause
cls
echo Please insert your duplicate of the Windows build disk in drive B.
pause
if exist b:build.lbl goto mublddisk
echo The disk in drive B does not appear to be the Windows build disk.
goto muneedbld
:mublddisk
echo Making room on the build disk for the new files . . .
if exist b:att*.* del b:att*.*
if exist b:egahires.* del b:egahires.*
if exist b:egahibw.* del b:egahibw.*
echo Copying STB Multires files to the build disk . . .
copy a:stbmr400.grb b:
copy a:stbmr400.lgo b:
copy a:stbmr480.grb b:
copy a:stbmr480.lgo b:
copy a:stbmr752.grb b:
copy a:stbmr752.lgo b:
copy a:stbmr832.grb b:
copy a:stbmr832.lgo b:
if not exist b:stbmr400.grb goto abortcopyfailed
if not exist b:stbmr400.lgo goto abortcopyfailed
if not exist b:stbmr480.grb goto abortcopyfailed
if not exist b:stbmr480.lgo goto abortcopyfailed
if not exist b:stbmr752.grb goto abortcopyfailed
if not exist b:stbmr752.lgo goto abortcopyfailed
if not exist b:stbmr832.grb goto abortcopyfailed
if not exist b:stbmr832.lgo goto abortcopyfailed
goto pointingdevice
:hmustart
cls
echo Please insert Driver Library Disk #2 into drive A.
pause
if exist a:drvlib2.lbl goto hmudrvlibdisk
echo The disk in drive A does not appear to be Windows Driver
echo Library Disk #2.
pause
goto hmustart
:hmudrvlibdisk
echo Copying STB Multires files to the hard disk . . .
copy a:ync.exe c:
copy a:stbmr400.drv c:
copy a:stbmr480.drv c:
copy a:stbmr752.drv c:
copy a:stbmr832.drv c:
if not exist c:stbmr400.drv goto abortcopyfailed
if not exist c:stbmr480.drv goto abortcopyfailed
if not exist c:stbmr752.drv goto abortcopyfailed
if not exist c:stbmr832.drv goto abortcopyfailed
copy a:stbmr400.grb c:
copy a:stbmr400.lgo c:
copy a:stbmr480.grb c:
copy a:stbmr480.lgo c:
copy a:stbmr752.grb c:
copy a:stbmr752.lgo c:
copy a:stbmr832.grb c:
copy a:stbmr832.lgo c:
if not exist c:stbmr400.grb goto abortcopyfailed
if not exist c:stbmr400.lgo goto abortcopyfailed
if not exist c:stbmr480.grb goto abortcopyfailed
if not exist c:stbmr480.lgo goto abortcopyfailed
if not exist c:stbmr752.grb goto abortcopyfailed
if not exist c:stbmr752.lgo goto abortcopyfailed
if not exist c:stbmr832.grb goto abortcopyfailed
if not exist c:stbmr832.lgo goto abortcopyfailed
pause
:hmugetsetupdisk
cls
echo Please insert a copy of the Windows Setup disk
echo in drive A:.
pause
if exist a:setup.lbl goto hmusetupdisk
echo The disk in drive A: does not appear to be a copy of the
echo Windows Setup disk.
pause
goto hmugetsetupdisk
:hmusetupdisk
echo Making room on the Setup disk for the new files . . .
if exist a:emm.pc del a:emm.pc
if exist a:emm.at del a:emm.at
if exist a:attdc.drv del a:attdc.drv
if exist a:attdeb.drv del a:attdeb.drv
if exist a:egahires.drv del a:egahires.drv
if exist a:egalores.drv del a:egalores.drv
if exist a:egahibw.drv del a:egahibw.drv
echo Copying STB Multires drivers to the Setup disk . . .
copy c:stbmr400.drv a:
copy c:stbmr480.drv a:
copy c:stbmr752.drv a:
copy c:stbmr832.drv a:
if not exist a:stbmr400.drv goto abortcopyfailed
if not exist a:stbmr480.drv goto abortcopyfailed
if not exist a:stbmr752.drv goto abortcopyfailed
if not exist a:stbmr832.drv goto abortcopyfailed
del c:stbmr400.drv
del c:stbmr480.drv
del c:stbmr752.drv
del c:stbmr832.drv
:hmugetbuilddisk
cls
echo Please insert a copy of the Windows Build disk
echo in drive A:.
pause
if exist a:build.lbl goto hmubuilddisk
echo The disk in drive A does not appear to be a copy of the
echo Windows Build disk.
pause
goto hmugetbuilddisk
:hmubuilddisk
echo Making room on the build disk for the new files . . .
if exist a:att*.* del a:att*.*
if exist a:egahires.* del a:egahires.*
if exist a:egahibw.* del a:egahibw.*
echo Copying STB Multires files to the build disk . . .
copy c:stbmr400.grb a:
copy c:stbmr400.lgo a:
copy c:stbmr480.grb a:
copy c:stbmr480.lgo a:
copy c:stbmr752.grb a:
copy c:stbmr752.lgo a:
copy c:stbmr832.grb a:
copy c:stbmr832.lgo a:
if not exist a:stbmr400.grb goto abortcopyfailed
if not exist a:stbmr400.lgo goto abortcopyfailed
if not exist a:stbmr480.grb goto abortcopyfailed
if not exist a:stbmr480.lgo goto abortcopyfailed
if not exist a:stbmr752.grb goto abortcopyfailed
if not exist a:stbmr752.lgo goto abortcopyfailed
if not exist a:stbmr832.grb goto abortcopyfailed
if not exist a:stbmr832.lgo goto abortcopyfailed
del c:stbmr400.grb
del c:stbmr400.lgo
del c:stbmr480.grb
del c:stbmr480.lgo
del c:stbmr752.grb
del c:stbmr752.lgo
del c:stbmr832.grb
del c:stbmr832.lgo
goto pointingdevice
:htinstall
cls
echo This procedure transfers the files required to set up Windows
echo for the STB HT Chauffer display onto copies of the Windows Setup
echo and Build disks.
echo You should make copies of your Setup and Build disks, and put
echo the originals in a safe place. Do not use the original disks
echo in this procedure. Work only with your duplicate copies.
pause
:htstart
ync /c "yn" "Does your machine have two floppy disk drives?"
if errorlevel 1 goto hhtstart
cls
echo Please insert Driver Library Disk #2 into drive A, and your
echo duplicate of the Windows Setup disk in drive B.
pause
if exist a:drvlib2.lbl goto htdrvlibdisk
echo The disk in drive A does not appear to be Windows Driver
echo Library Disk #2.
pause
goto htstart
:htdrvlibdisk
if exist b:setup.lbl goto htsetupdisk
echo The disk in drive B does not appear to be the Windows Setup disk.
pause
goto htstart
:htsetupdisk
echo Making room on the Setup disk for the new files . . .
if exist b:emm.pc del b:emm.pc
if exist b:emm.at del b:emm.at
if exist b:attdc.drv del b:attdc.drv
if exist b:attdeb.drv del b:attdeb.drv
if exist b:egahires.drv del b:egahires.drv
if exist b:egalores.drv del b:egalores.drv
if exist b:egahibw.drv del b:egahibw.drv
echo Copying STB HT driver to the Setup disk . . .
copy a:stbht.drv b:
if not exist b:stbht.drv goto abortcopyfailed
:htneedbld
pause
cls
echo Please insert your duplicate of the Windows build disk in drive B.
pause
if exist b:build.lbl goto htblddisk
echo The disk in drive B does not appear to be the Windows build disk.
goto htneedbld
:htblddisk
echo Making room on the build disk for the new files . . .
if exist b:att*.* del b:att*.*
if exist b:egahires.* del b:egahires.*
if exist b:egalores.* del b:egalores.*
if exist b:egahibw.* del b:egahibw.*
echo Copying STB HT files to the build disk . . .
copy a:stbht.lgo b:
copy a:stbht.grb b:
if not exist b:stbht.lgo goto abortcopyfailed
if not exist b:stbht.grb goto abortcopyfailed
goto pointingdevice
:hhtstart
cls
echo Please insert Driver Library Disk #2 into drive A.
pause
if exist a:drvlib2.lbl goto hhtdrvlibdisk
echo The disk in drive A does not appear to be Windows Driver
echo Library Disk #2.
pause
goto hhtstart
:hhtdrvlibdisk
echo Copying STB HT Chauffer files to the hard disk . . .
copy a:ync.exe c:
copy a:stbht.drv c:
copy a:stbht.lgo c:
copy a:stbht.grb c:
if not exist c:stbht.drv goto abortcopyfailed
if not exist c:stbht.lgo goto abortcopyfailed
if not exist c:stbht.grb goto abortcopyfailed
pause
:hhtgetsetupdisk
cls
echo Please insert a copy of the Windows Setup disk
echo in drive A:.
pause
if exist a:setup.lbl goto hhtsetupdisk
echo The disk in drive A: does not appear to be a copy of the
echo Windows Setup disk.
pause
goto hhtgetsetupdisk
:hhtsetupdisk
echo Making room on the Setup disk for the new files . . .
if exist a:emm.pc del a:emm.pc
if exist a:emm.at del a:emm.at
if exist a:attdc.drv del a:attdc.drv
if exist a:attdeb.drv del a:attdeb.drv
if exist a:egahires.drv del a:egahires.drv
if exist a:egalores.drv del a:egalores.drv
if exist a:egahibw.drv del a:egahibw.drv
echo Copying STB HT driver to the Setup disk . . .
copy c:stbht.drv a:
if not exist a:stbht.drv goto abortcopyfailed
del c:stbht.drv
:hhtgetbuilddisk
cls
echo Please insert a copy of the Windows Build disk
echo in drive A:.
pause
if exist a:build.lbl goto hhtbuilddisk
echo The disk in drive A does not appear to be a copy of the
echo Windows Build disk.
pause
goto hhtgetbuilddisk
:hhtbuilddisk
echo Making room on the build disk for the new files . . .
if exist a:att*.* del a:att*.*
if exist a:egahires.* del a:egahires.*
if exist a:egahibw.* del a:egahibw.*
echo Copying STB HT files to the build disk . . .
copy c:stbht.lgo a:
copy c:stbht.grb a:
if not exist a:stbht.lgo goto abortcopyfailed
if not exist a:stbht.grb goto abortcopyfailed
del c:stbht.lgo
del c:stbht.grb
goto pointingdevice
:pointingdevice
rem There are no pointing device drivers on this disk.
goto done
:abortnotcopies
cls
echo Please make copies of your Windows Setup and Build disks, and work
echo only with your copies. This installation procedure deletes some of
echo the files from the copies to make room for the new files. You may
echo need the deleted files later, so MAKE COPIES NOW!
goto end
:abortcopyfailed
cls
echo Some files were not copied successfully. Please make sure you are
echo working with exact duplicates of the Windows Setup and Build disks,
echo and re-run this installation batch file.
goto end
:done
cls
echo Installation of the selected drivers is now complete. You
echo may now use your copies of the Windows Setup and Build disks
echo to set up Windows on your system.
echo .
echo To do so, insert the Setup disk in drive A, change to drive A,
echo and type "setup" at the DOS prompt.
:end