home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / v1dsk.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1987-01-16  |  35KB  |  1,130 lines

  1. echo off
  2. set path=a:\
  3. cls
  4. echo    This is the installation batch file for the Windows Driver
  5. echo    Library, Volume 1, Disk 1.  If you have only one floppy disk
  6. echo    drive, you should be running this batch file from your hard
  7. echo    disk.  See the file "readme.txt" for details. This batch file 
  8. echo    installs only display and pointing device drivers.  To install 
  9. echo    printer drivers, use the Windows Control Panel application.
  10. echo    .
  11. echo    To install a device driver from this volume, you will need
  12. echo    to modify a copy of your Windows Setup and Build disks.  Make 
  13. echo    copies of these two disks and store the originals in a safe 
  14. echo    place.  Work only with your copies.
  15. echo    .
  16. ync /c "yn"    Have you made copies of your Windows Setup and Build disks?
  17. if errorlevel 1 goto abortnotcopies
  18. cls
  19. echo    This disk contains drivers for the following displays:
  20. echo            1)    Moniterm Viking I
  21. echo            2)    Sigma Color 400
  22. echo            3)    Tseng EVA
  23. echo            4)    Video-7 VEGA Deluxe
  24. echo            5)    Wyse WY-700 High Resolution Display Adapter
  25. echo    .
  26. ync /c "yn"    Do you wish to install one of these display drivers?
  27. if errorlevel 1 goto pointingdevice
  28. echo    .
  29. ync /c "12345"    Which display driver do you wish to install?
  30. if errorlevel 4 goto wyinstall
  31. if errorlevel 3 goto veinstall
  32. if errorlevel 2 goto tsinstall
  33. if errorlevel 1 goto siinstall
  34. if errorlevel 0 goto viinstall
  35. goto pointingdevice
  36.  
  37. :siinstall
  38. cls
  39. echo    This procedure transfers the files required to set up Windows
  40. echo    for the Sigma 400 display onto copies of the Windows Setup and 
  41. echo    Build disks.
  42. echo    You should make copies of your Setup and Build disks, and put
  43. echo    the originals in a safe place.  Do not use the original disks
  44. echo    in this procedure.  Work only with your duplicate copies.
  45. pause
  46.  
  47. :sistart
  48. ync /c "yn" "Does your machine have two floppy disk drives?"
  49. if errorlevel 1 goto hsistart
  50. cls
  51. echo    Please insert Driver Library Disk #1 into drive A, and your 
  52. echo    duplicate of the Windows Setup disk in drive B.
  53. pause
  54. if exist a:drvlib1.lbl goto sidrvlibdisk
  55. echo    The disk in drive A does not appear to be Windows Driver
  56. echo    Library Disk #1.
  57. pause
  58. goto sistart
  59.  
  60. :sidrvlibdisk
  61. if exist b:setup.lbl goto sisetupdisk
  62. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  63. pause
  64. goto sistart
  65.  
  66. :sisetupdisk
  67. echo    Making room on the Setup disk for the new files . . .
  68. if exist b:emm.pc del b:emm.pc
  69. if exist b:emm.at del b:emm.at
  70. if exist b:attdc.drv del b:attdc.drv
  71. if exist b:attdeb.drv del b:attdeb.drv
  72. if exist b:egahires.drv del b:egahires.drv
  73. if exist b:egalores.drv del b:egalores.drv
  74. if exist b:egahibw.drv del b:egahibw.drv
  75. echo    Copying Sigma drivers to the Setup disk . . .
  76. copy a:sigma4.drv b:
  77. copy a:sigma8.drv b:
  78. if not exist b:sigma4.drv goto abortcopyfailed
  79. if not exist b:sigma8.drv goto abortcopyfailed
  80.  
  81. :sineedbuild
  82. pause
  83. cls
  84. echo    Please insert your duplicate of the Windows build disk in drive B.
  85. pause
  86. if exist b:build.lbl goto sibuilddisk
  87. echo    The disk in drive B does not appear to be the Windows build disk.  
  88. goto sineedbuild
  89.  
  90. :sibuilddisk
  91. echo    Making room on the build disk for the new files . . .
  92. if exist b:att*.* del b:att*.*
  93. if exist b:egahires.* del b:egahires.*
  94. if exist b:egahibw.* del b:egahibw.*
  95. echo    Copying Sigma files to the build disk . . .
  96. copy a:sigma4.lgo b:
  97. copy a:sigma8.lgo b:
  98. copy a:sigma4.grb b:
  99. copy a:sigma8.grb b:
  100. if not exist b:sigma4.lgo goto abortcopyfailed
  101. if not exist b:sigma8.lgo goto abortcopyfailed
  102. if not exist b:sigma4.grb goto abortcopyfailed
  103. if not exist b:sigma8.grb goto abortcopyfailed
  104. goto pointingdevice
  105.  
  106. :hsistart
  107. cls
  108. echo    Please insert Driver Library Disk #1 into drive A.
  109. pause
  110. if exist a:drvlib1.lbl goto hsidrvlibdisk
  111. echo    The disk in drive A does not appear to be Windows Driver
  112. echo    Library Disk #1.
  113. pause
  114. goto hsistart
  115.  
  116. :hsidrvlibdisk
  117. echo    Copying Sigma files to the hard disk . . .
  118. copy a:ync.exe c:
  119. copy a:sigma4.drv c:
  120. copy a:sigma8.drv c:
  121. copy a:sigma4.lgo c:
  122. copy a:sigma8.lgo c:
  123. copy a:sigma4.grb c:
  124. copy a:sigma8.grb c:
  125. if not exist c:sigma4.drv goto abortcopyfailed
  126. if not exist c:sigma8.drv goto abortcopyfailed
  127. if not exist c:sigma4.lgo goto abortcopyfailed
  128. if not exist c:sigma8.lgo goto abortcopyfailed
  129. if not exist c:sigma4.grb goto abortcopyfailed
  130. if not exist c:sigma8.grb goto abortcopyfailed
  131. pause
  132.  
  133. :hsigetsetupdisk
  134. cls
  135. echo    Please insert a copy of the Windows Setup disk
  136. echo    in drive A:.
  137. pause
  138. if exist a:setup.lbl goto hsisetupdisk
  139. echo    The disk in drive A: does not appear to be a copy of the
  140. echo    Windows Setup disk.
  141. pause
  142. goto hsigetsetupdisk
  143.  
  144. :hsisetupdisk
  145. echo    Making room on the Setup disk for the new files . . .
  146. if exist a:emm.pc del a:emm.pc
  147. if exist a:emm.at del a:emm.at
  148. if exist a:attdc.drv del a:attdc.drv
  149. if exist a:attdeb.drv del a:attdeb.drv
  150. if exist a:egahires.drv del a:egahires.drv
  151. if exist a:egalores.drv del a:egalores.drv
  152. if exist a:egahibw.drv del a:egahibw.drv
  153. echo    Copying Sigma drivers to the Setup disk . . .
  154. copy c:sigma4.drv a:
  155. copy c:sigma8.drv a:
  156. if not exist a:sigma4.drv goto abortcopyfailed
  157. if not exist a:sigma8.drv goto abortcopyfailed
  158. del c:sigma4.drv
  159. del c:sigma8.drv
  160.  
  161. :hsigetbuilddisk
  162. cls
  163. echo    Please insert a copy of the Windows Build disk
  164. echo    in drive A:.
  165. pause
  166. if exist a:build.lbl goto hsibuilddisk
  167. echo    The disk in drive A does not appear to be a copy of the
  168. echo    Windows Build disk.
  169. pause
  170. goto hsigetbuilddisk
  171.  
  172. :hsibuilddisk
  173. echo    Making room on the build disk for the new files . . .
  174. if exist a:att*.* del a:att*.*
  175. if exist a:egahires.* del a:egahires.*
  176. if exist a:egahibw.* del a:egahibw.*
  177. echo    Copying Sigma files to the build disk . . .
  178. copy c:sigma4.lgo a:
  179. copy c:sigma8.lgo a:
  180. copy c:sigma4.grb a:
  181. copy c:sigma8.grb a:
  182. if not exist a:sigma4.lgo goto abortcopyfailed
  183. if not exist a:sigma8.lgo goto abortcopyfailed
  184. if not exist a:sigma4.grb goto abortcopyfailed
  185. if not exist a:sigma8.grb goto abortcopyfailed
  186. del c:sigma4.lgo
  187. del c:sigma8.lgo
  188. del c:sigma4.grb
  189. del c:sigma8.grb
  190. goto pointingdevice
  191.  
  192. :tsinstall
  193. cls
  194. echo    This procedure file copies the files required to set up Windows
  195. echo    for the Tseng display onto copies of the Windows Setup and 
  196. echo    Build disks.
  197. echo    You should make copies of your Setup and Build disks, and put
  198. echo    the originals in a safe place.  Do not use the original disks
  199. echo    in this procedure.  Work only with your duplicate copies.
  200. pause
  201.  
  202. :tsstart
  203. ync /c "yn" "Does your machine have two floppy disk drives?"
  204. if errorlevel 1 goto htsstart
  205. cls
  206. echo    Please insert Driver Library Disk 1 into drive A, and your 
  207. echo    duplicate of the Windows Setup disk in drive B.
  208. pause
  209. if exist a:drvlib1.lbl goto tsdrvlibdisk
  210. echo    The disk in drive A does not appear to be Windows Driver
  211. echo    Library Disk #1.
  212. pause
  213. goto tsstart
  214.  
  215. :tsdrvlibdisk
  216. if exist b:setup.lbl goto tssetupdisk
  217. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  218. pause
  219. goto tsstart
  220.  
  221. :tssetupdisk
  222. echo    Making room on the Setup disk for the new files . . .
  223. if exist b:emm.pc del b:emm.pc
  224. if exist b:emm.at del b:emm.at
  225. if exist b:attdc.drv del b:attdc.drv
  226. if exist b:attdeb.drv del b:attdeb.drv
  227. echo    Copying Tseng driver to the Setup disk . . .
  228. copy a:tseng.drv b:
  229. if not exist b:tseng.drv goto abortcopyfailed
  230.  
  231. :tsneedbuild
  232. pause
  233. cls
  234. echo    Please insert your duplicate of the Windows build disk in drive B.
  235. pause
  236. if exist b:build.lbl goto tsbuilddisk
  237. echo    The disk in drive B does not appear to be the Windows build disk.  
  238. goto tsneedbuild
  239.  
  240. :tsbuilddisk
  241. echo    Making room on the build disk for the new files . . .
  242. if exist b:att*.* del b:att*.*
  243. echo    Copying Tseng files to the build disk . . .
  244. copy a:tseng.lgo b:
  245. copy a:tseng.grb b:
  246. if not exist b:tseng.lgo goto abortcopyfailed
  247. if not exist b:tseng.grb goto abortcopyfailed
  248. goto pointingdevice
  249.  
  250. :htsstart
  251. cls
  252. echo    Please insert Driver Library Disk #1 into drive A.
  253. pause
  254. if exist a:drvlib1.lbl goto htsdrvlibdisk
  255. echo    The disk in drive A does not appear to be Windows Driver
  256. echo    Library Disk #1.
  257. pause
  258. goto htsstart
  259.  
  260. :htsdrvlibdisk
  261. echo    Copying Tseng files to the hard disk . . .
  262. copy a:ync.exe c:
  263. copy a:tseng.drv c:
  264. copy a:tseng.lgo c:
  265. copy a:tseng.grb c:
  266. if not exist c:tseng.drv goto abortcopyfailed
  267. if not exist c:tseng.lgo goto abortcopyfailed
  268. if not exist c:tseng.grb goto abortcopyfailed
  269. pause
  270.  
  271. :htsgetsetupdisk
  272. cls
  273. echo    Please insert a copy of the Windows Setup disk
  274. echo    in drive A:.
  275. pause
  276. if exist a:setup.lbl goto htssetupdisk
  277. echo    The disk in drive A: does not appear to be a copy of the
  278. echo    Windows Setup disk.
  279. pause
  280. goto htsgetsetupdisk
  281.  
  282. :htssetupdisk
  283. echo    Making room on the Setup disk for the new files . . .
  284. if exist a:emm.pc del a:emm.pc
  285. if exist a:emm.at del a:emm.at
  286. if exist a:attdc.drv del a:attdc.drv
  287. if exist a:attdeb.drv del a:attdeb.drv
  288. if exist a:egahires.drv del a:egahires.drv
  289. if exist a:egalores.drv del a:egalores.drv
  290. if exist a:egahibw.drv del a:egahibw.drv
  291. echo    Copying Tseng driver to the Setup disk . . .
  292. copy c:tseng.drv a:
  293. if not exist a:tseng.drv goto abortcopyfailed
  294. del c:tseng.drv
  295.  
  296. :htsgetbuilddisk
  297. cls
  298. echo    Please insert a copy of the Windows Build disk
  299. echo    in drive A:.
  300. pause
  301. if exist a:build.lbl goto htsbuilddisk
  302. echo    The disk in drive A does not appear to be a copy of the
  303. echo    Windows Build disk.
  304. pause
  305. goto htsgetbuilddisk
  306.  
  307. :htsbuilddisk
  308. echo    Making room on the build disk for the new files . . .
  309. if exist a:att*.* del a:att*.*
  310. if exist a:egahires.* del a:egahires.*
  311. if exist a:egahibw.* del a:egahibw.*
  312. echo    Copying Tseng files to the build disk . . .
  313. copy c:tseng.lgo a:
  314. copy c:tseng.grb a:
  315. if not exist a:tseng.lgo goto abortcopyfailed
  316. if not exist a:tseng.grb goto abortcopyfailed
  317. del c:tseng.lgo
  318. del c:tseng.grb
  319. goto pointingdevice
  320.  
  321.  
  322. :veinstall
  323. cls
  324. echo    This procedure file copies the files required to set up Windows
  325. echo    for the Video 7 VEGA Deluxe display onto copies of the Windows 
  326. echo    Setup and Build disks.
  327. echo    You should make copies of your Setup and Build disks, and put
  328. echo    the originals in a safe place.  Do not use the original disks
  329. echo    in this procedure.  Work only with your duplicate copies.
  330. pause
  331.  
  332. :vestart
  333. ync /c "yn" "Does your machine have two floppy disk drives?"
  334. if errorlevel 1 goto hvestart
  335. cls
  336. echo    Please insert Driver Library Disk #1 into drive A, and your 
  337. echo    duplicate of the Windows Setup disk in drive B.
  338. pause
  339. if exist a:drvlib1.lbl goto vedrvlibdisk
  340. echo    The disk in drive A does not appear to be Windows Driver
  341. echo    Library Disk #1.
  342. pause
  343. goto vestart
  344.  
  345. cls
  346. echo    Please insert Driver Library Disk 1 into drive A, and your 
  347. echo    duplicate of the Windows Setup disk in drive B.
  348. pause
  349. if exist a:drvlib1.lbl goto vedrvlibdisk
  350. echo    The disk in drive A does not appear to be Windows Driver
  351. echo    Library Disk #1.
  352. pause
  353. goto vestart
  354.  
  355. :vedrvlibdisk
  356. if exist b:setup.lbl goto vesetupdisk
  357. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  358. pause
  359. goto vestart
  360.  
  361. :vesetupdisk
  362. echo    Making room on the Setup disk for the new files . . .
  363. if exist b:emm.pc del b:emm.pc
  364. if exist b:emm.at del b:emm.at
  365. if exist b:attdc.drv del b:attdc.drv
  366. if exist b:attdeb.drv del b:attdeb.drv
  367. echo    Copying VEGA driver to the Setup disk . . .
  368. copy a:vega640.drv b:
  369. copy a:vega752.drv b:
  370. if not exist b:vega640.drv goto abortcopyfailed
  371. if not exist b:vega752.drv goto abortcopyfailed
  372.  
  373. :veneedbuild
  374. pause
  375. cls
  376. echo    Please insert your duplicate of the Windows build disk in drive B.
  377. pause
  378. if exist b:build.lbl goto vebuilddisk
  379. echo    The disk in drive B does not appear to be the Windows build disk.  
  380. goto veneedbuild
  381.  
  382. :vebuilddisk
  383. echo    Making room on the build disk for the new files . . .
  384. if exist b:att*.* del b:att*.*
  385. echo    Copying VEGA files to the build disk . . .
  386. copy a:vega640.lgo b:
  387. copy a:vega752.lgo b:
  388. copy a:vega640.grb b:
  389. copy a:vega752.grb b:
  390. if not exist b:vega640.lgo goto abortcopyfailed
  391. if not exist b:vega752.lgo goto abortcopyfailed
  392. if not exist b:vega640.grb goto abortcopyfailed
  393. if not exist b:vega752.grb goto abortcopyfailed
  394. goto pointingdevice
  395.  
  396. :hvestart
  397. cls
  398. echo    Please insert Driver Library Disk #1 into drive A.
  399. pause
  400. if exist a:drvlib1.lbl goto hvedrvlibdisk
  401. echo    The disk in drive A does not appear to be Windows Driver
  402. echo    Library Disk #1.
  403. pause
  404. goto hvestart
  405.  
  406. :hvedrvlibdisk
  407. echo    Copying VEGA files to the hard disk . . .
  408. copy a:ync.exe c:
  409. copy a:vega640.drv c:
  410. copy a:vega752.drv c:
  411. copy a:vega640.lgo c:
  412. copy a:vega752.lgo c:
  413. copy a:vega640.grb c:
  414. copy a:vega752.grb c:
  415. if not exist c:vega640.drv goto abortcopyfailed
  416. if not exist c:vega752.drv goto abortcopyfailed
  417. if not exist c:vega640.lgo goto abortcopyfailed
  418. if not exist c:vega752.lgo goto abortcopyfailed
  419. if not exist c:vega640.grb goto abortcopyfailed
  420. if not exist c:vega752.grb goto abortcopyfailed
  421. pause
  422.  
  423. :hvegetsetupdisk
  424. cls
  425. echo    Please insert a copy of the Windows Setup disk
  426. echo    in drive A:.
  427. pause
  428. if exist a:setup.lbl goto hvesetupdisk
  429. echo    The disk in drive A: does not appear to be a copy of the
  430. echo    Windows Setup disk.
  431. pause
  432. goto hvegetsetupdisk
  433.  
  434. :hvesetupdisk
  435. echo    Making room on the Setup disk for the new files . . .
  436. if exist a:emm.pc del a:emm.pc
  437. if exist a:emm.at del a:emm.at
  438. if exist a:attdc.drv del a:attdc.drv
  439. if exist a:attdeb.drv del a:attdeb.drv
  440. if exist a:egahires.drv del a:egahires.drv
  441. if exist a:egalores.drv del a:egalores.drv
  442. if exist a:egahibw.drv del a:egahibw.drv
  443. echo    Copying VEGA drivers to the Setup disk . . .
  444. copy c:vega640.drv a:
  445. copy c:vega752.drv a:
  446. if not exist a:vega640.drv goto abortcopyfailed
  447. if not exist a:vega752.drv goto abortcopyfailed
  448. del c:vega640.drv
  449. del c:vega752.drv
  450.  
  451. :hvegetbuilddisk
  452. cls
  453. echo    Please insert a copy of the Windows Build disk
  454. echo    in drive A:.
  455. pause
  456. if exist a:build.lbl goto hvebuilddisk
  457. echo    The disk in drive A does not appear to be a copy of the
  458. echo    Windows Build disk.
  459. pause
  460. goto hvegetbuilddisk
  461.  
  462. :hvebuilddisk
  463. echo    Making room on the build disk for the new files . . .
  464. if exist a:att*.* del a:att*.*
  465. if exist a:egahires.* del a:egahires.*
  466. if exist a:egahibw.* del a:egahibw.*
  467. echo    Copying VEGA files to the build disk . . .
  468. copy c:vega640.lgo a:
  469. copy c:vega752.lgo a:
  470. copy c:vega640.grb a:
  471. copy c:vega752.grb a:
  472. if not exist a:vega640.lgo goto abortcopyfailed
  473. if not exist a:vega752.lgo goto abortcopyfailed
  474. if not exist a:vega640.grb goto abortcopyfailed
  475. if not exist a:vega752.grb goto abortcopyfailed
  476. del c:vega640.lgo
  477. del c:vega752.lgo
  478. del c:vega640.grb
  479. del c:vega752.grb
  480. goto pointingdevice
  481.  
  482. :wyinstall
  483. cls
  484. echo    This procedure file copies the files required to set up Windows
  485. echo    for the Wyse WY-700 display onto copies of the Windows Setup and 
  486. echo    Build disks.
  487. echo    You should make copies of your Setup and Build disks, and put
  488. echo    the originals in a safe place.  Do not use the original disks
  489. echo    in this procedure.  Work only with your duplicate copies.
  490. pause
  491.  
  492. :wystart
  493. ync /c "yn" "Does your machine have two floppy disk drives?"
  494. if errorlevel 1 goto hwystart
  495. cls
  496. echo    Please insert Driver Library Disk #1 into drive A, and your 
  497. echo    duplicate of the Windows Setup disk in drive B.
  498. pause
  499. if exist a:drvlib1.lbl goto wydrvlibdisk
  500. echo    The disk in drive A does not appear to be Windows Driver
  501. echo    Library Disk #1.
  502. pause
  503. goto wystart
  504.  
  505. cls
  506. echo    Please insert Driver Library Disk 1 into drive A, and your 
  507. echo    duplicate of the Windows Setup disk in drive B.
  508. pause
  509. if exist a:drvlib1.lbl goto wydrvlibdisk
  510. echo    The disk in drive A does not appear to be Windows Driver
  511. echo    Library Disk #1.
  512. pause
  513. goto wystart
  514.  
  515. :wydrvlibdisk
  516. if exist b:setup.lbl goto wysetupdisk
  517. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  518. pause
  519. goto wystart
  520.  
  521. :wysetupdisk
  522. echo    Making room on the Setup disk for the new files . . .
  523. if exist b:emm.pc del b:emm.pc
  524. if exist b:emm.at del b:emm.at
  525. if exist b:attdc.drv del b:attdc.drv
  526. if exist b:attdeb.drv del b:attdeb.drv
  527. echo    Copying Wyse driver to the Setup disk . . .
  528. copy a:wy700.drv b:
  529. if not exist b:wy700.drv goto abortcopyfailed
  530.  
  531. :wyneedbuild
  532. pause
  533. cls
  534. echo    Please insert your duplicate of the Windows build disk in drive B.
  535. pause
  536. if exist b:build.lbl goto wybuilddisk
  537. echo    The disk in drive B does not appear to be the Windows build disk.  
  538. goto wyneedbuild
  539.  
  540. :wybuilddisk
  541. echo    Making room on the build disk for the new files . . .
  542. if exist b:att*.* del b:att*.*
  543. echo    Copying Wyse files to the build disk . . .
  544. copy a:wy700.lgo b:
  545. copy a:wy700.grb b:
  546. if not exist b:wy700.lgo goto abortcopyfailed
  547. if not exist b:wy700.grb goto abortcopyfailed
  548. goto pointingdevice
  549.  
  550. :hwystart
  551. cls
  552. echo    Please insert Driver Library Disk #1 into drive A.
  553. pause
  554. if exist a:drvlib1.lbl goto hwydrvlibdisk
  555. echo    The disk in drive A does not appear to be Windows Driver
  556. echo    Library Disk #1.
  557. pause
  558. goto hwystart
  559.  
  560. :hwydrvlibdisk
  561. echo    Copying Wyse files to the hard disk . . .
  562. copy a:ync.exe c:
  563. copy a:wy700.drv c:
  564. copy a:wy700.lgo c:
  565. copy a:wy700.grb c:
  566. if not exist c:wy700.drv goto abortcopyfailed
  567. if not exist c:wy700.lgo goto abortcopyfailed
  568. if not exist c:wy700.grb goto abortcopyfailed
  569. pause
  570.  
  571. :hwygetsetupdisk
  572. cls
  573. echo    Please insert a copy of the Windows Setup disk
  574. echo    in drive A:.
  575. pause
  576. if exist a:setup.lbl goto hwysetupdisk
  577. echo    The disk in drive A: does not appear to be a copy of the
  578. echo    Windows Setup disk.
  579. pause
  580. goto hwygetsetupdisk
  581.  
  582. :hwysetupdisk
  583. echo    Making room on the Setup disk for the new files . . .
  584. if exist a:emm.pc del a:emm.pc
  585. if exist a:emm.at del a:emm.at
  586. if exist a:attdc.drv del a:attdc.drv
  587. if exist a:attdeb.drv del a:attdeb.drv
  588. if exist a:egahires.drv del a:egahires.drv
  589. if exist a:egalores.drv del a:egalores.drv
  590. if exist a:egahibw.drv del a:egahibw.drv
  591. echo    Copying Wyse driver to the Setup disk . . .
  592. copy c:wy700.drv a:
  593. if not exist a:wy700.drv goto abortcopyfailed
  594. del c:wy700.drv
  595.  
  596. :hwygetbuilddisk
  597. cls
  598. echo    Please insert a copy of the Windows Build disk
  599. echo    in drive A:.
  600. pause
  601. if exist a:build.lbl goto hwybuilddisk
  602. echo    The disk in drive A does not appear to be a copy of the
  603. echo    Windows Build disk.
  604. pause
  605. goto hwygetbuilddisk
  606.  
  607. :hwybuilddisk
  608. echo    Making room on the build disk for the new files . . .
  609. if exist a:att*.* del a:att*.*
  610. if exist a:egahires.* del a:egahires.*
  611. if exist a:egahibw.* del a:egahibw.*
  612. echo    Copying Wyse files to the build disk . . .
  613. copy c:wy700.lgo a:
  614. copy c:wy700.grb a:
  615. if not exist a:wy700.lgo goto abortcopyfailed
  616. if not exist a:wy700.grb goto abortcopyfailed
  617. del c:wy700.lgo
  618. del c:wy700.grb
  619. goto pointingdevice
  620.  
  621. :viinstall
  622. cls
  623. echo    This procedure file copies the files required to set up Windows
  624. echo    for the Viking display onto copies of the Windows Setup and 
  625. echo    Build disks.
  626. echo    You should make copies of your Setup and Build disks, and put
  627. echo    the originals in a safe place.  Do not use the original disks
  628. echo    in this procedure.  Work only with your duplicate copies.
  629. pause
  630.  
  631. :vistart
  632. ync /c "yn" "Does your machine have two floppy disk drives?"
  633. if errorlevel 1 goto hvistart
  634. cls
  635. echo    Please insert Driver Library Disk #1 into drive A, and your 
  636. echo    duplicate of the Windows Setup disk in drive B.
  637. pause
  638. if exist a:drvlib1.lbl goto vidrvlibdisk
  639. echo    The disk in drive A does not appear to be Windows Driver
  640. echo    Library Disk #1.
  641. pause
  642. goto vistart
  643.  
  644. cls
  645. echo    Please insert Driver Library Disk 1 into drive A, and your 
  646. echo    duplicate of the Windows Setup disk in drive B.
  647. pause
  648. if exist a:drvlib1.lbl goto vidrvlibdisk
  649. echo    The disk in drive A does not appear to be Windows Driver
  650. echo    Library Disk #1.
  651. pause
  652. goto vistart
  653.  
  654. :vidrvlibdisk
  655. if exist b:setup.lbl goto visetupdisk
  656. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  657. pause
  658. goto vistart
  659.  
  660. :visetupdisk
  661. echo    Making room on the Setup disk for the new files . . .
  662. if exist b:emm.pc del b:emm.pc
  663. if exist b:emm.at del b:emm.at
  664. if exist b:attdc.drv del b:attdc.drv
  665. if exist b:attdeb.drv del b:attdeb.drv
  666. echo    Copying Viking driver to the Setup disk . . .
  667. copy a:vikingi.drv b:
  668. if not exist b:vikingi.drv goto abortcopyfailed
  669. if exist b:hifonts.fon del b:hifonts.fon
  670. if exist b:fonts400.fon del b:fonts400.fon
  671. echo    Copying Viking font to Setup disk . . .
  672. copy a:vikingi.fon b:hifonts.fon
  673.  
  674. :vineedbuild
  675. pause
  676. cls
  677. echo    Please insert your duplicate of the Windows build disk in drive B.
  678. pause
  679. if exist b:build.lbl goto vibuilddisk
  680. echo    The disk in drive B does not appear to be the Windows build disk.  
  681. goto vineedbuild
  682.  
  683. :vibuilddisk
  684. echo    Making room on the build disk for the new files . . .
  685. if exist b:att*.* del b:att*.*
  686. echo    Copying Viking files to the build disk . . .
  687. copy a:vikingi.lgo b:
  688. copy a:vikingi.grb b:
  689. if not exist b:vikingi.lgo goto abortcopyfailed
  690. if not exist b:vikingi.grb goto abortcopyfailed
  691. goto pointingdevice
  692.  
  693. :hvistart
  694. cls
  695. echo    Please insert Driver Library Disk #1 into drive A.
  696. pause
  697. if exist a:drvlib1.lbl goto hvidrvlibdisk
  698. echo    The disk in drive A does not appear to be Windows Driver
  699. echo    Library Disk #1.
  700. pause
  701. goto hvistart
  702.  
  703. :hvidrvlibdisk
  704. echo    Copying Viking files to the hard disk . . .
  705. copy a:ync.exe c:
  706. copy a:vikingi.drv c:
  707. copy a:vikingi.lgo c:
  708. copy a:vikingi.grb c:
  709. copy a:vikingi.fon c:
  710. if not exist c:vikingi.drv goto abortcopyfailed
  711. if not exist c:vikingi.lgo goto abortcopyfailed
  712. if not exist c:vikingi.grb goto abortcopyfailed
  713. if not exist c:vikingi.fon goto abortcopyfailed
  714. pause
  715.  
  716. :hvigetsetupdisk
  717. cls
  718. echo    Please insert a copy of the Windows Setup disk
  719. echo    in drive A:.
  720. pause
  721. if exist a:setup.lbl goto hvisetupdisk
  722. echo    The disk in drive A: does not appear to be a copy of the
  723. echo    Windows Setup disk.
  724. pause
  725. goto hvigetsetupdisk
  726.  
  727. :hvisetupdisk
  728. echo    Making room on the Setup disk for the new files . . .
  729. if exist a:emm.pc del a:emm.pc
  730. if exist a:emm.at del a:emm.at
  731. if exist a:attdc.drv del a:attdc.drv
  732. if exist a:attdeb.drv del a:attdeb.drv
  733. if exist a:egahires.drv del a:egahires.drv
  734. if exist a:egalores.drv del a:egalores.drv
  735. if exist a:egahibw.drv del a:egahibw.drv
  736. if exist a:hifonts.fon del a:hifonts.fon
  737. if exist a:fonts400.fon del a:fonts400.fon
  738. echo    Copying Viking files to the Setup disk . . .
  739. copy c:vikingi.drv a:
  740. copy c:vikingi.fon a:hifonts.fon
  741. if not exist a:vikingi.drv goto abortcopyfailed
  742. if not exist a:hifonts.fon goto abortcopyfailed
  743. del c:vikingi.drv
  744. del c:vikingi.fon
  745.  
  746. :hvigetbuilddisk
  747. cls
  748. echo    Please insert a copy of the Windows Build disk
  749. echo    in drive A:.
  750. pause
  751. if exist a:build.lbl goto hvibuilddisk
  752. echo    The disk in drive A does not appear to be a copy of the
  753. echo    Windows Build disk.
  754. pause
  755. goto hvigetbuilddisk
  756.  
  757. :hvibuilddisk
  758. echo    Making room on the build disk for the new files . . .
  759. if exist a:att*.* del a:att*.*
  760. if exist a:egahires.* del a:egahires.*
  761. if exist a:egahibw.* del a:egahibw.*
  762. echo    Copying Viking files to the build disk . . .
  763. copy c:vikingi.lgo a:
  764. copy c:vikingi.grb a:
  765. if not exist a:vikingi.lgo goto abortcopyfailed
  766. if not exist a:vikingi.grb goto abortcopyfailed
  767. del c:vikingi.lgo
  768. del c:vikingi.grb
  769. goto pointingdevice
  770.  
  771. :pointingdevice
  772. pause
  773. cls
  774. echo    Volume 1 contains drivers for the following pointing devices:
  775. echo            1)    FTG Lightpen
  776. echo            2)    Maynard Mouse
  777. echo            3)    Mouse Systems
  778. echo    .
  779. ync /c "yn"    Do you wish to install one of these pointing device drivers?
  780. if errorlevel 1 goto done
  781. echo    .
  782. ync /c "123"    Which pointing device driver do you wish to install?
  783. if errorlevel 2 goto msinstall
  784. if errorlevel 1 goto mainstall
  785. if errorlevel 0 goto ftinstall
  786. goto done
  787.  
  788. :ftinstall
  789. cls
  790. echo    This procedure transfers the files required to set up Windows
  791. echo    for the FTG Lightpen onto a copy of the Windows Setup disk. 
  792. echo    You should have already made a copy of your Setup disk, and 
  793. echo    put the original in a safe place.  Do not use the original disk
  794. echo    in this procedure.  Work only with your duplicate copy.
  795. echo    If you have already installed a display driver from the Driver
  796. echo    Library, use the Setup disk you created during the display
  797. echo    driver installation process.
  798.  
  799. :ftstart
  800. ync /c "yn" "Does your machine have two floppy disk drives?"
  801. if errorlevel 1 goto hftstart
  802. cls
  803. echo    Please insert Driver Library Disk #1 into drive A, and your 
  804. echo    duplicate of the Windows Setup disk in drive B.
  805. pause
  806. if exist a:drvlib1.lbl goto ftdrvlibdisk
  807. echo    The disk in drive A does not appear to be Windows Driver
  808. echo    Library Disk #1.
  809. pause
  810. goto ftstart
  811.  
  812. pause
  813. cls
  814. echo    Please insert Driver Library Disk 1 into drive A, and your 
  815. echo    duplicate of the Windows Setup disk in drive B.
  816. pause
  817.  
  818. if exist a:drvlib1.lbl goto ftdrvlibdisk
  819. echo    The disk in drive A does not appear to be Windows Driver
  820. echo    Library Disk #1.
  821. goto ftstart
  822.  
  823. :ftdrvlibdisk
  824. if exist b:setup.lbl goto ftsetupdisk
  825. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  826. goto ftstart
  827.  
  828. :ftsetupdisk
  829. echo    Making room on the Setup disk for the new files . . .
  830. if exist b:attmouse.drv del b:attmouse.drv
  831. if exist b:joymouse.drv del b:joymouse.drv
  832. if exist b:lmouse.drv del b:lmouse.drv
  833. if exist b:lpc.drv del b:lpc.drv
  834. if exist b:mouse.drv del b:mouse.drv
  835. if exist b:msmouse1.drv del b:msmouse1.drv
  836. if exist b:msmouse2.drv del b:msmouse2.drv
  837. if exist b:ftg.drv del b:ftg.drv
  838. echo    Copying FTG Lightpen driver to the Setup disk . . .
  839. copy a:ftg.drv b:
  840. if not exist b:ftg.drv goto abortcopyfailed
  841. goto done
  842.  
  843. :hftstart
  844. cls
  845. echo    Please insert Driver Library Disk #1 into drive A.
  846. pause
  847. if exist a:drvlib1.lbl goto hftdrvlibdisk
  848. echo    The disk in drive A does not appear to be Windows Driver
  849. echo    Library Disk #1.
  850. pause
  851. goto hftstart
  852.  
  853. :hftdrvlibdisk
  854. echo    Copying FTG files to the hard disk . . .
  855. copy a:ync.exe c:
  856. copy a:ftg.drv c:
  857. if not exist c:ftg.drv goto abortcopyfailed
  858. pause
  859.  
  860. :hftgetsetupdisk
  861. cls
  862. echo    Please insert a copy of the Windows Setup disk
  863. echo    in drive A:.
  864. pause
  865. if exist a:setup.lbl goto hftsetupdisk
  866. echo    The disk in drive A: does not appear to be a copy of the
  867. echo    Windows Setup disk.
  868. pause
  869. goto hftgetsetupdisk
  870.  
  871. :hftsetupdisk
  872. echo    Making room on the Setup disk for the new files . . .
  873. if exist a:attmouse.drv del a:attmouse.drv
  874. if exist a:joymouse.drv del a:joymouse.drv
  875. if exist a:lmouse.drv del a:lmouse.drv
  876. if exist a:lpc.drv del a:lpc.drv
  877. if exist a:mouse.drv del a:mouse.drv
  878. if exist a:msmouse1.drv del a:msmouse1.drv
  879. if exist a:msmouse2.drv del a:msmouse2.drv
  880. if exist a:ftg.drv del a:ftg.drv
  881. echo    Copying FTG driver to the Setup disk . . .
  882. copy c:ftg.drv a:
  883. if not exist a:ftg.drv goto abortcopyfailed
  884. del c:ftg.drv
  885. goto done
  886.  
  887. :mainstall
  888. cls
  889. echo    This procedure transfers the files required to set up Windows
  890. echo    for the Maynard Mouse onto a copy of the Windows Setup disk. 
  891. echo    You should have already made a copy of your Setup disk, and 
  892. echo    put the original in a safe place.  Do not use the original disk
  893. echo    in this procedure.  Work only with your duplicate copy.
  894. echo    If you have already installed a display driver from the Driver
  895. echo    Library, use the Setup disk you created during the display
  896. echo    driver installation process.
  897.  
  898. :mastart
  899. ync /c "yn" "Does your machine have two floppy disk drives?"
  900. if errorlevel 1 goto hmastart
  901. cls
  902. echo    Please insert Driver Library Disk #1 into drive A, and your 
  903. echo    duplicate of the Windows Setup disk in drive B.
  904. pause
  905. if exist a:drvlib1.lbl goto madrvlibdisk
  906. echo    The disk in drive A does not appear to be Windows Driver
  907. echo    Library Disk #1.
  908. pause
  909. goto mastart
  910.  
  911. pause
  912. cls
  913. echo    Please insert Driver Library Disk 1 into drive A, and your 
  914. echo    duplicate of the Windows Setup disk in drive B.
  915. pause
  916.  
  917. if exist a:drvlib1.lbl goto madrvlibdisk
  918. echo    The disk in drive A does not appear to be Windows Driver
  919. echo    Library Disk #1.
  920. goto mastart
  921.  
  922. :madrvlibdisk
  923. if exist b:setup.lbl goto masetupdisk
  924. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  925. goto mastart
  926.  
  927. :masetupdisk
  928. echo    Making room on the Setup disk for the new files . . .
  929. if exist b:attmouse.drv del b:attmouse.drv
  930. if exist b:joymouse.drv del b:joymouse.drv
  931. if exist b:lmouse.drv del b:lmouse.drv
  932. if exist b:lpc.drv del b:lpc.drv
  933. if exist b:mouse.drv del b:mouse.drv
  934. if exist b:msmouse1.drv del b:msmouse1.drv
  935. if exist b:msmouse2.drv del b:msmouse2.drv
  936. if exist b:ftg.drv del b:ftg.drv
  937. echo    Copying Maynard Mouse drivers to the Setup disk . . .
  938. copy a:memouse1.drv b:
  939. copy a:memouse2.drv b:
  940. copy a:memouse3.drv b:
  941. if not exist b:memouse1.drv goto abortcopyfailed
  942. if not exist b:memouse2.drv goto abortcopyfailed
  943. if not exist b:memouse3.drv goto abortcopyfailed
  944. goto done
  945.  
  946. :hmastart
  947. cls
  948. echo    Please insert Driver Library Disk #1 into drive A.
  949. pause
  950. if exist a:drvlib1.lbl goto hmadrvlibdisk
  951. echo    The disk in drive A does not appear to be Windows Driver
  952. echo    Library Disk #1.
  953. pause
  954. goto hmastart
  955.  
  956. :hmadrvlibdisk
  957. echo    Copying Maynard files to the hard disk . . .
  958. copy a:ync.exe c:
  959. copy a:memouse1.drv c:
  960. copy a:memouse2.drv c:
  961. copy a:memouse3.drv c:
  962. if not exist c:memouse1.drv goto abortcopyfailed
  963. if not exist c:memouse2.drv goto abortcopyfailed
  964. if not exist c:memouse3.drv goto abortcopyfailed
  965. pause
  966.  
  967. :hmagetsetupdisk
  968. cls
  969. echo    Please insert a copy of the Windows Setup disk
  970. echo    in drive A:.
  971. pause
  972. if exist a:setup.lbl goto hmasetupdisk
  973. echo    The disk in drive A: does not appear to be a copy of the
  974. echo    Windows Setup disk.
  975. pause
  976. goto hmagetsetupdisk
  977.  
  978. :hmasetupdisk
  979. echo    Making room on the Setup disk for the new files . . .
  980. if exist a:attmouse.drv del a:attmouse.drv
  981. if exist a:joymouse.drv del a:joymouse.drv
  982. if exist a:lmouse.drv del a:lmouse.drv
  983. if exist a:lpc.drv del a:lpc.drv
  984. if exist a:mouse.drv del a:mouse.drv
  985. if exist a:msmouse1.drv del a:msmouse1.drv
  986. if exist a:msmouse2.drv del a:msmouse2.drv
  987. if exist a:ftg.drv del a:ftg.drv
  988. echo    Copying Maynard Mouse drivers to the Setup disk . . .
  989. copy c:memouse1.drv a:
  990. copy c:memouse2.drv a:
  991. copy c:memouse3.drv a:
  992. if not exist a:memouse1.drv goto abortcopyfailed
  993. if not exist a:memouse2.drv goto abortcopyfailed
  994. if not exist a:memouse3.drv goto abortcopyfailed
  995. del c:memouse1.drv
  996. del c:memouse2.drv
  997. del c:memouse3.drv
  998. goto done
  999.  
  1000. :msinstall
  1001. cls
  1002. echo    This procedure transfers the files required to set up Windows
  1003. echo    for the Mouse Systems mouse onto a copy of the Windows Setup disk. 
  1004. echo    You should have already made a copy of your Setup disk, and 
  1005. echo    put the original in a safe place.  Do not use the original disk
  1006. echo    in this procedure.  Work only with your duplicate copy.
  1007. echo    If you have already installed a display driver from the Driver
  1008. echo    Library, use the Setup disk you created during the display
  1009. echo    driver installation process.
  1010.  
  1011. :msstart
  1012. ync /c "yn" "Does your machine have two floppy disk drives?"
  1013. if errorlevel 1 goto hmsstart
  1014. cls
  1015. echo    Please insert Driver Library Disk #1 into drive A, and your 
  1016. echo    duplicate of the Windows Setup disk in drive B.
  1017. pause
  1018. if exist a:drvlib1.lbl goto msdrvlibdisk
  1019. echo    The disk in drive A does not appear to be Windows Driver
  1020. echo    Library Disk #1.
  1021. pause
  1022. goto msstart
  1023.  
  1024. pause
  1025. cls
  1026. echo    Please insert Driver Library Disk 1 into drive A, and your 
  1027. echo    duplicate of the Windows Setup disk in drive B.
  1028. pause
  1029.  
  1030. if exist a:drvlib1.lbl goto msdrvlibdisk
  1031. echo    The disk in drive A does not appear to be Windows Driver
  1032. echo    Library Disk #1.
  1033. goto msstart
  1034.  
  1035. :msdrvlibdisk
  1036. if exist b:setup.lbl goto mssetupdisk
  1037. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  1038. goto msstart
  1039.  
  1040. :mssetupdisk
  1041. echo    Making room on the Setup disk for the new files . . .
  1042. if exist b:attmouse.drv del b:attmouse.drv
  1043. if exist b:joymouse.drv del b:joymouse.drv
  1044. if exist b:lmouse.drv del b:lmouse.drv
  1045. if exist b:lpc.drv del b:lpc.drv
  1046. if exist b:mouse.drv del b:mouse.drv
  1047. if exist b:msmouse1.drv del b:msmouse1.drv
  1048. if exist b:msmouse2.drv del b:msmouse2.drv
  1049. if exist b:ftg.drv del b:ftg.drv
  1050. echo    Copying Mouse Systems mouse drivers to the Setup disk . . .
  1051. copy a:msmousc1.drv b:
  1052. copy a:msmousc2.drv b:
  1053. if not exist b:msmousc1.drv goto abortcopyfailed
  1054. if not exist b:msmousc2.drv goto abortcopyfailed
  1055. goto done
  1056.  
  1057. :hmsstart
  1058. cls
  1059. echo    Please insert Driver Library Disk #1 into drive A.
  1060. pause
  1061. if exist a:drvlib1.lbl goto hmsdrvlibdisk
  1062. echo    The disk in drive A does not appear to be Windows Driver
  1063. echo    Library Disk #1.
  1064. pause
  1065. goto hmsstart
  1066.  
  1067. :hmsdrvlibdisk
  1068. echo    Copying Mouse Systems files to the hard disk . . .
  1069. copy a:ync.exe c:
  1070. copy a:msmousc1.drv c:
  1071. copy a:msmousc2.drv c:
  1072. if not exist c:msmousc1.drv goto abortcopyfailed
  1073. if not exist c:msmousc2.drv goto abortcopyfailed
  1074. pause
  1075.  
  1076. :hmsgetsetupdisk
  1077. cls
  1078. echo    Please insert a copy of the Windows Setup disk
  1079. echo    in drive A:.
  1080. pause
  1081. if exist a:setup.lbl goto hmssetupdisk
  1082. echo    The disk in drive A: does not appear to be a copy of the
  1083. echo    Windows Setup disk.
  1084. pause
  1085. goto hmsgetsetupdisk
  1086.  
  1087. :hmssetupdisk
  1088. echo    Making room on the Setup disk for the new files . . .
  1089. if exist a:attmouse.drv del a:attmouse.drv
  1090. if exist a:joymouse.drv del a:joymouse.drv
  1091. if exist a:lmouse.drv del a:lmouse.drv
  1092. if exist a:lpc.drv del a:lpc.drv
  1093. if exist a:mouse.drv del a:mouse.drv
  1094. if exist a:msmouse1.drv del a:msmouse1.drv
  1095. if exist a:msmouse2.drv del a:msmouse2.drv
  1096. if exist a:ftg.drv del a:ftg.drv
  1097. echo    Copying Mouse Systems Mouse drivers to the Setup disk . . .
  1098. copy c:msmousc1.drv a:
  1099. copy c:msmousc2.drv a:
  1100. if not exist a:msmousc1.drv goto abortcopyfailed
  1101. if not exist a:msmousc2.drv goto abortcopyfailed
  1102. del c:msmousc1.drv
  1103. del c:msmousc2.drv
  1104. goto done
  1105.  
  1106. :abortnotcopies
  1107. cls
  1108. echo    Please make copies of your Windows Setup and Build disks, and work
  1109. echo    only with your copies.  This installation procedure deletes some of
  1110. echo    the files from the copies to make room for the new files.  You may
  1111. echo    need the deleted files later, so MAKE COPIES NOW. 
  1112. goto end
  1113.  
  1114. :abortcopyfailed
  1115. cls
  1116. echo    Some files were not copied successfully.  Please make sure you are
  1117. echo    working with exact duplicates of the Windows Setup and Build disks,
  1118. echo    and re-run this installation batch file.
  1119. goto end
  1120.  
  1121. :done
  1122. cls
  1123. echo    Installation of the selected drivers is now complete.  You
  1124. echo    may now use your copies of the Windows Setup and Build disks 
  1125. echo    to set up Windows on your system.
  1126. echo    .
  1127. echo    To do so, insert the Setup disk in drive A, change to drive A, 
  1128. echo    and type "setup" at the DOS prompt.
  1129. :end
  1130.