home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / v1dsk2.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1987-01-16  |  17KB  |  537 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 2.  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 to
  12. echo    modify copies of your Windows Setup and Build disks.  Make copies 
  13. echo    of these two disks and store the originals in a safe place.  Work 
  14. echo    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    Volume 1, Disk 2 contains drivers for the following displays:
  20. echo            1)    Conographics ConoVision 1440
  21. echo            2)    STB HT Chauffer
  22. echo            3)    STB Multires
  23. echo    .
  24. ync /c "yn"    Do you wish to install one of these display drivers?
  25. if errorlevel 1 goto pointingdevice
  26. echo    .
  27. ync /c "123"    Which display driver do you wish to install?
  28. if errorlevel 2 goto muinstall
  29. if errorlevel 1 goto htinstall
  30. if errorlevel 0 goto coinstall
  31. goto pointingdevice
  32.  
  33. :coinstall
  34. cls
  35. echo    This procedure transfers the files required to set up Windows
  36. echo    for the ConoVision 1440 display onto copies of the Windows Setup 
  37. echo    and Build disks.
  38. echo    You should make copies of your Setup and Build disks, and put
  39. echo    the originals in a safe place.  Do not use the original disks
  40. echo    in this procedure.  Work only with your duplicate copies.
  41. pause
  42.  
  43. :costart
  44. ync /c "yn" "Does your machine have two floppy disk drives?"
  45. if errorlevel 1 goto hcostart
  46. cls
  47. echo    Please insert Driver Library Disk #2 into drive A, and your 
  48. echo    duplicate of the Windows Setup disk in drive B.
  49. pause
  50. if exist a:drvlib2.lbl goto codrvlibdisk
  51. echo    The disk in drive A does not appear to be Windows Driver
  52. echo    Library Disk #2.
  53. pause
  54. goto costart
  55.  
  56. :codrvlibdisk
  57. if exist b:setup.lbl goto cosetupdisk
  58. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  59. pause
  60. goto costart
  61.  
  62. :cosetupdisk
  63. echo    Making room on the Setup disk for the new files . . .
  64. if exist b:emm.pc del b:emm.pc
  65. if exist b:emm.at del b:emm.at
  66. if exist b:attdc.drv del b:attdc.drv
  67. if exist b:attdeb.drv del b:attdeb.drv
  68. if exist b:egahires.drv del b:egahires.drv
  69. if exist b:egalores.drv del b:egalores.drv
  70. if exist b:egahibw.drv del b:egahibw.drv
  71. echo    Copying Conovision driver to the Setup disk . . .
  72. copy a:vision.drv b:
  73. if not exist b:vision.drv goto abortcopyfailed
  74. if exist b:hifonts.fon del b:hifonts.fon
  75. if exist b:fonts400.fon del b:fonts400.fon
  76. echo    Copying Conovision fonts to the Setup disk . . .
  77. copy a:vision.fon b:hifonts.fon
  78.  
  79. :coneedbld
  80. pause
  81. cls
  82. echo    Please insert your duplicate of the Windows build disk in drive B.
  83. pause
  84. if exist b:build.lbl goto coblddisk
  85. echo    The disk in drive B does not appear to be the Windows build disk.  
  86. goto coneedbld
  87.  
  88. :coblddisk
  89. echo    Making room on the build disk for the new files . . .
  90. if exist b:att*.* del b:att*.*
  91. if exist b:egahires.* del b:egahires.*
  92. if exist b:egalores.* del b:egalores.*
  93. if exist b:egahibw.* del b:egahibw.*
  94. echo    Copying Conovision files to the build disk . . .
  95. copy a:vision.lgo b:
  96. copy a:vision.lgo b:
  97. if not exist b:vision.lgo goto abortcopyfailed
  98. if not exist b:vision.grb goto abortcopyfailed
  99. goto pointingdevice
  100.  
  101. :hcostart
  102. cls
  103. echo    Please insert Driver Library Disk #2 into drive A.
  104. pause
  105. if exist a:drvlib2.lbl goto hcodrvlibdisk
  106. echo    The disk in drive A does not appear to be Windows Driver
  107. echo    Library Disk #2.
  108. pause
  109. goto hcostart
  110.  
  111. :hcodrvlibdisk
  112. echo    Copying Conographics files to the hard disk . . .
  113. copy a:ync.exe c:
  114. copy a:vision.drv c:
  115. copy a:vision.lgo c:
  116. copy a:vision.grb c:
  117. copy a:vision.fon c:
  118. if not exist c:vision.drv goto abortcopyfailed
  119. if not exist c:vision.lgo goto abortcopyfailed
  120. if not exist c:vision.grb goto abortcopyfailed
  121. if not exist c:vision.fon goto abortcopyfailed
  122. pause
  123.  
  124. :hcogetsetupdisk
  125. cls
  126. echo    Please insert a copy of the Windows Setup disk
  127. echo    in drive A:.
  128. pause
  129. if exist a:setup.lbl goto hcosetupdisk
  130. echo    The disk in drive A: does not appear to be a copy of the
  131. echo    Windows Setup disk.
  132. pause
  133. goto hcogetsetupdisk
  134.  
  135. :hcosetupdisk
  136. echo    Making room on the Setup disk for the new files . . .
  137. if exist a:emm.pc del a:emm.pc
  138. if exist a:emm.at del a:emm.at
  139. if exist a:attdc.drv del a:attdc.drv
  140. if exist a:attdeb.drv del a:attdeb.drv
  141. if exist a:egahires.drv del a:egahires.drv
  142. if exist a:egalores.drv del a:egalores.drv
  143. if exist a:egahibw.drv del a:egahibw.drv
  144. echo    Copying Conographics drivers to the Setup disk . . .
  145. copy c:vision.drv a:
  146. if not exist a:vision.drv goto abortcopyfailed
  147. del c:vision.drv
  148. copy c:vision.fon a:hifonts.fon
  149. if not exist a:hifonts.fon goto abortcopyfailed
  150. del c:vision.fon
  151.  
  152. :hcogetbuilddisk
  153. cls
  154. echo    Please insert a copy of the Windows Build disk
  155. echo    in drive A:.
  156. pause
  157. if exist a:build.lbl goto hcobuilddisk
  158. echo    The disk in drive A does not appear to be a copy of the
  159. echo    Windows Build disk.
  160. pause
  161. goto hcogetbuilddisk
  162.  
  163. :hcobuilddisk
  164. echo    Making room on the build disk for the new files . . .
  165. if exist a:att*.* del a:att*.*
  166. if exist a:egahires.* del a:egahires.*
  167. if exist a:egahibw.* del a:egahibw.*
  168. echo    Copying Conographics files to the build disk . . .
  169. copy c:vision.lgo a:
  170. copy c:vision.grb a:
  171. if not exist a:vision.lgo goto abortcopyfailed
  172. if not exist a:vision.grb goto abortcopyfailed
  173. del c:vision.lgo
  174. del c:vision.grb
  175. goto pointingdevice
  176.  
  177. :muinstall
  178. cls
  179. echo    This procedure transfers the files required to set up Windows
  180. echo    for the STB Multires display onto copies of the Windows Setup 
  181. echo    and Build disks.
  182. echo    You should make copies of your Setup and Build disks, and put
  183. echo    the originals in a safe place.  Do not use the original disks
  184. echo    in this procedure.  Work only with your duplicate copies.
  185. pause
  186.  
  187. :mustart
  188. ync /c "yn" "Does your machine have two floppy disk drives?"
  189. if errorlevel 1 goto hmustart
  190. cls
  191. echo    Please insert Driver Library Disk #2 into drive A, and your 
  192. echo    duplicate of the Windows Setup disk in drive B.
  193. pause
  194. if exist a:drvlib2.lbl goto mudrvlibdisk
  195. echo    The disk in drive A does not appear to be Windows Driver
  196. echo    Library Disk #2.
  197. pause
  198. goto mustart
  199.  
  200. :mudrvlibdisk
  201. if exist b:setup.lbl goto musetupdisk
  202. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  203. pause
  204. goto mustart
  205.  
  206. :musetupdisk
  207. echo    Making room on the Setup disk for the new files . . .
  208. if exist b:emm.pc del b:emm.pc
  209. if exist b:emm.at del b:emm.at
  210. if exist b:attdc.drv del b:attdc.drv
  211. if exist b:attdeb.drv del b:attdeb.drv
  212. if exist b:egahires.drv del b:egahires.drv
  213. if exist b:egalores.drv del b:egalores.drv
  214. if exist b:egahibw.drv del b:egahibw.drv
  215. echo    Copying STB Multires drivers to the Setup disk . . .
  216. copy a:stbmr400.drv b:
  217. copy a:stbmr480.drv b:
  218. copy a:stbmr752.drv b:
  219. copy a:stbmr832.drv b:
  220. if not exist b:stbmr400.drv goto abortcopyfailed
  221. if not exist b:stbmr480.drv goto abortcopyfailed
  222. if not exist b:stbmr752.drv goto abortcopyfailed
  223. if not exist b:stbmr832.drv goto abortcopyfailed
  224.  
  225. :muneedbld
  226. pause
  227. cls
  228. echo    Please insert your duplicate of the Windows build disk in drive B.
  229. pause
  230. if exist b:build.lbl goto mublddisk
  231. echo    The disk in drive B does not appear to be the Windows build disk.  
  232. goto muneedbld
  233.  
  234. :mublddisk
  235. echo    Making room on the build disk for the new files . . .
  236. if exist b:att*.* del b:att*.*
  237. if exist b:egahires.* del b:egahires.*
  238. if exist b:egahibw.* del b:egahibw.*
  239. echo    Copying STB Multires files to the build disk . . .
  240. copy a:stbmr400.grb b:
  241. copy a:stbmr400.lgo b:
  242. copy a:stbmr480.grb b:
  243. copy a:stbmr480.lgo b:
  244. copy a:stbmr752.grb b:
  245. copy a:stbmr752.lgo b:
  246. copy a:stbmr832.grb b:
  247. copy a:stbmr832.lgo b:
  248. if not exist b:stbmr400.grb goto abortcopyfailed
  249. if not exist b:stbmr400.lgo goto abortcopyfailed
  250. if not exist b:stbmr480.grb goto abortcopyfailed
  251. if not exist b:stbmr480.lgo goto abortcopyfailed
  252. if not exist b:stbmr752.grb goto abortcopyfailed
  253. if not exist b:stbmr752.lgo goto abortcopyfailed
  254. if not exist b:stbmr832.grb goto abortcopyfailed
  255. if not exist b:stbmr832.lgo goto abortcopyfailed
  256. goto pointingdevice
  257.  
  258. :hmustart
  259. cls
  260. echo    Please insert Driver Library Disk #2 into drive A.
  261. pause
  262. if exist a:drvlib2.lbl goto hmudrvlibdisk
  263. echo    The disk in drive A does not appear to be Windows Driver
  264. echo    Library Disk #2.
  265. pause
  266. goto hmustart
  267.  
  268. :hmudrvlibdisk
  269. echo    Copying STB Multires files to the hard disk . . .
  270. copy a:ync.exe c:
  271. copy a:stbmr400.drv c:
  272. copy a:stbmr480.drv c:
  273. copy a:stbmr752.drv c:
  274. copy a:stbmr832.drv c:
  275. if not exist c:stbmr400.drv goto abortcopyfailed
  276. if not exist c:stbmr480.drv goto abortcopyfailed
  277. if not exist c:stbmr752.drv goto abortcopyfailed
  278. if not exist c:stbmr832.drv goto abortcopyfailed
  279. copy a:stbmr400.grb c:
  280. copy a:stbmr400.lgo c:
  281. copy a:stbmr480.grb c:
  282. copy a:stbmr480.lgo c:
  283. copy a:stbmr752.grb c:
  284. copy a:stbmr752.lgo c:
  285. copy a:stbmr832.grb c:
  286. copy a:stbmr832.lgo c:
  287. if not exist c:stbmr400.grb goto abortcopyfailed
  288. if not exist c:stbmr400.lgo goto abortcopyfailed
  289. if not exist c:stbmr480.grb goto abortcopyfailed
  290. if not exist c:stbmr480.lgo goto abortcopyfailed
  291. if not exist c:stbmr752.grb goto abortcopyfailed
  292. if not exist c:stbmr752.lgo goto abortcopyfailed
  293. if not exist c:stbmr832.grb goto abortcopyfailed
  294. if not exist c:stbmr832.lgo goto abortcopyfailed
  295. pause
  296.  
  297. :hmugetsetupdisk
  298. cls
  299. echo    Please insert a copy of the Windows Setup disk
  300. echo    in drive A:.
  301. pause
  302. if exist a:setup.lbl goto hmusetupdisk
  303. echo    The disk in drive A: does not appear to be a copy of the
  304. echo    Windows Setup disk.
  305. pause
  306. goto hmugetsetupdisk
  307.  
  308. :hmusetupdisk
  309. echo    Making room on the Setup disk for the new files . . .
  310. if exist a:emm.pc del a:emm.pc
  311. if exist a:emm.at del a:emm.at
  312. if exist a:attdc.drv del a:attdc.drv
  313. if exist a:attdeb.drv del a:attdeb.drv
  314. if exist a:egahires.drv del a:egahires.drv
  315. if exist a:egalores.drv del a:egalores.drv
  316. if exist a:egahibw.drv del a:egahibw.drv
  317. echo    Copying STB Multires drivers to the Setup disk . . .
  318. copy c:stbmr400.drv a:
  319. copy c:stbmr480.drv a:
  320. copy c:stbmr752.drv a:
  321. copy c:stbmr832.drv a:
  322. if not exist a:stbmr400.drv goto abortcopyfailed
  323. if not exist a:stbmr480.drv goto abortcopyfailed
  324. if not exist a:stbmr752.drv goto abortcopyfailed
  325. if not exist a:stbmr832.drv goto abortcopyfailed
  326. del c:stbmr400.drv
  327. del c:stbmr480.drv
  328. del c:stbmr752.drv
  329. del c:stbmr832.drv
  330.  
  331. :hmugetbuilddisk
  332. cls
  333. echo    Please insert a copy of the Windows Build disk
  334. echo    in drive A:.
  335. pause
  336. if exist a:build.lbl goto hmubuilddisk
  337. echo    The disk in drive A does not appear to be a copy of the
  338. echo    Windows Build disk.
  339. pause
  340. goto hmugetbuilddisk
  341.  
  342. :hmubuilddisk
  343. echo    Making room on the build disk for the new files . . .
  344. if exist a:att*.* del a:att*.*
  345. if exist a:egahires.* del a:egahires.*
  346. if exist a:egahibw.* del a:egahibw.*
  347. echo    Copying STB Multires files to the build disk . . .
  348. copy c:stbmr400.grb a:
  349. copy c:stbmr400.lgo a:
  350. copy c:stbmr480.grb a:
  351. copy c:stbmr480.lgo a:
  352. copy c:stbmr752.grb a:
  353. copy c:stbmr752.lgo a:
  354. copy c:stbmr832.grb a:
  355. copy c:stbmr832.lgo a:
  356. if not exist a:stbmr400.grb goto abortcopyfailed
  357. if not exist a:stbmr400.lgo goto abortcopyfailed
  358. if not exist a:stbmr480.grb goto abortcopyfailed
  359. if not exist a:stbmr480.lgo goto abortcopyfailed
  360. if not exist a:stbmr752.grb goto abortcopyfailed
  361. if not exist a:stbmr752.lgo goto abortcopyfailed
  362. if not exist a:stbmr832.grb goto abortcopyfailed
  363. if not exist a:stbmr832.lgo goto abortcopyfailed
  364. del c:stbmr400.grb
  365. del c:stbmr400.lgo
  366. del c:stbmr480.grb
  367. del c:stbmr480.lgo
  368. del c:stbmr752.grb
  369. del c:stbmr752.lgo
  370. del c:stbmr832.grb
  371. del c:stbmr832.lgo
  372. goto pointingdevice
  373.  
  374. :htinstall
  375. cls
  376. echo    This procedure transfers the files required to set up Windows
  377. echo    for the STB HT Chauffer display onto copies of the Windows Setup 
  378. echo    and Build disks.
  379. echo    You should make copies of your Setup and Build disks, and put
  380. echo    the originals in a safe place.  Do not use the original disks
  381. echo    in this procedure.  Work only with your duplicate copies.
  382. pause
  383.  
  384. :htstart
  385. ync /c "yn" "Does your machine have two floppy disk drives?"
  386. if errorlevel 1 goto hhtstart
  387. cls
  388. echo    Please insert Driver Library Disk #2 into drive A, and your 
  389. echo    duplicate of the Windows Setup disk in drive B.
  390. pause
  391. if exist a:drvlib2.lbl goto htdrvlibdisk
  392. echo    The disk in drive A does not appear to be Windows Driver
  393. echo    Library Disk #2.
  394. pause
  395. goto htstart
  396.  
  397. :htdrvlibdisk
  398. if exist b:setup.lbl goto htsetupdisk
  399. echo    The disk in drive B does not appear to be the Windows Setup disk.  
  400. pause
  401. goto htstart
  402.  
  403. :htsetupdisk
  404. echo    Making room on the Setup disk for the new files . . .
  405. if exist b:emm.pc del b:emm.pc
  406. if exist b:emm.at del b:emm.at
  407. if exist b:attdc.drv del b:attdc.drv
  408. if exist b:attdeb.drv del b:attdeb.drv
  409. if exist b:egahires.drv del b:egahires.drv
  410. if exist b:egalores.drv del b:egalores.drv
  411. if exist b:egahibw.drv del b:egahibw.drv
  412. echo    Copying STB HT driver to the Setup disk . . .
  413. copy a:stbht.drv b:
  414. if not exist b:stbht.drv goto abortcopyfailed
  415.  
  416. :htneedbld
  417. pause
  418. cls
  419. echo    Please insert your duplicate of the Windows build disk in drive B.
  420. pause
  421. if exist b:build.lbl goto htblddisk
  422. echo    The disk in drive B does not appear to be the Windows build disk.  
  423. goto htneedbld
  424.  
  425. :htblddisk
  426. echo    Making room on the build disk for the new files . . .
  427. if exist b:att*.* del b:att*.*
  428. if exist b:egahires.* del b:egahires.*
  429. if exist b:egalores.* del b:egalores.*
  430. if exist b:egahibw.* del b:egahibw.*
  431. echo    Copying STB HT files to the build disk . . .
  432. copy a:stbht.lgo b:
  433. copy a:stbht.grb b:
  434. if not exist b:stbht.lgo goto abortcopyfailed
  435. if not exist b:stbht.grb goto abortcopyfailed
  436. goto pointingdevice
  437.  
  438. :hhtstart
  439. cls
  440. echo    Please insert Driver Library Disk #2 into drive A.
  441. pause
  442. if exist a:drvlib2.lbl goto hhtdrvlibdisk
  443. echo    The disk in drive A does not appear to be Windows Driver
  444. echo    Library Disk #2.
  445. pause
  446. goto hhtstart
  447.  
  448. :hhtdrvlibdisk
  449. echo    Copying STB HT Chauffer files to the hard disk . . .
  450. copy a:ync.exe c:
  451. copy a:stbht.drv c:
  452. copy a:stbht.lgo c:
  453. copy a:stbht.grb c:
  454. if not exist c:stbht.drv goto abortcopyfailed
  455. if not exist c:stbht.lgo goto abortcopyfailed
  456. if not exist c:stbht.grb goto abortcopyfailed
  457. pause
  458.  
  459. :hhtgetsetupdisk
  460. cls
  461. echo    Please insert a copy of the Windows Setup disk
  462. echo    in drive A:.
  463. pause
  464. if exist a:setup.lbl goto hhtsetupdisk
  465. echo    The disk in drive A: does not appear to be a copy of the
  466. echo    Windows Setup disk.
  467. pause
  468. goto hhtgetsetupdisk
  469.  
  470. :hhtsetupdisk
  471. echo    Making room on the Setup disk for the new files . . .
  472. if exist a:emm.pc del a:emm.pc
  473. if exist a:emm.at del a:emm.at
  474. if exist a:attdc.drv del a:attdc.drv
  475. if exist a:attdeb.drv del a:attdeb.drv
  476. if exist a:egahires.drv del a:egahires.drv
  477. if exist a:egalores.drv del a:egalores.drv
  478. if exist a:egahibw.drv del a:egahibw.drv
  479. echo    Copying STB HT driver to the Setup disk . . .
  480. copy c:stbht.drv a:
  481. if not exist a:stbht.drv goto abortcopyfailed
  482. del c:stbht.drv
  483.  
  484. :hhtgetbuilddisk
  485. cls
  486. echo    Please insert a copy of the Windows Build disk
  487. echo    in drive A:.
  488. pause
  489. if exist a:build.lbl goto hhtbuilddisk
  490. echo    The disk in drive A does not appear to be a copy of the
  491. echo    Windows Build disk.
  492. pause
  493. goto hhtgetbuilddisk
  494.  
  495. :hhtbuilddisk
  496. echo    Making room on the build disk for the new files . . .
  497. if exist a:att*.* del a:att*.*
  498. if exist a:egahires.* del a:egahires.*
  499. if exist a:egahibw.* del a:egahibw.*
  500. echo    Copying STB HT files to the build disk . . .
  501. copy c:stbht.lgo a:
  502. copy c:stbht.grb a:
  503. if not exist a:stbht.lgo goto abortcopyfailed
  504. if not exist a:stbht.grb goto abortcopyfailed
  505. del c:stbht.lgo
  506. del c:stbht.grb
  507. goto pointingdevice
  508.  
  509. :pointingdevice
  510. rem    There are no pointing device drivers on this disk.
  511. goto done
  512.  
  513. :abortnotcopies
  514. cls
  515. echo    Please make copies of your Windows Setup and Build disks, and work
  516. echo    only with your copies.  This installation procedure deletes some of
  517. echo    the files from the copies to make room for the new files.  You may
  518. echo    need the deleted files later, so MAKE COPIES NOW! 
  519. goto end
  520.  
  521. :abortcopyfailed
  522. cls
  523. echo    Some files were not copied successfully.  Please make sure you are
  524. echo    working with exact duplicates of the Windows Setup and Build disks,
  525. echo    and re-run this installation batch file.
  526. goto end
  527.  
  528. :done
  529. cls
  530. echo    Installation of the selected drivers is now complete.  You
  531. echo    may now use your copies of the Windows Setup and Build disks 
  532. echo    to set up Windows on your system.
  533. echo    .
  534. echo    To do so, insert the Setup disk in drive A, change to drive A, 
  535. echo    and type "setup" at the DOS prompt.
  536. :end
  537.