home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 16 / 16.iso / w / w012 / 1.ddi / INSTALL.CNF < prev    next >
Encoding:
Text File  |  1990-06-22  |  27.7 KB  |  663 lines

  1. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  3. * *                                                                       * *
  4. * *    (c) Copyright 1989-1990, Calera Recognition Systems, Inc.,         * *
  5. * *       All Rights Reserved.                                            * *
  6. * *       UUI  Install Script                                             * *
  7. * *                                                                       * *
  8. * *    install_cnf = @(#)rp1200.cnf     1.5 7/28/89, js88 (changes for MCA, mk 2/89)* *
  9. * *    06/29/89         rkj     Adapted for NOMDA ReadPro                 * *
  10. * *    03/23/90   changes for WordScan + ,Henryt                          * *
  11. * *    04/29/90   adopt pkunzip to compress program ,Henryt               * *
  12. * *    05/21/90   this script is used for 5.25" disks for huey and lewie, henryt * *
  13. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  14. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  15.  
  16. * ************************************************************************* *
  17. *                                                                           *
  18. *       set selected values                                                 *
  19. *                                                                           *
  20. * ************************************************************************* *
  21.  
  22. years       "1990"
  23. name        "WordScan Plus"
  24. dirname     "UUI"
  25. release     "1.0"
  26. dir         "C:\CALERA"
  27. ddir        "C:\WORDTEMP"
  28. az          0
  29. getmach
  30.  
  31. * ************************************************************************* *
  32. *                                                                           *
  33. *       introduction                                                        *
  34. *                                                                           *
  35. * ************************************************************************* *
  36.  
  37. title
  38. stitle      "Welcome to INSTALL"
  39.  
  40. show        "   @bINSTALL@r helps you set up @bWordScan Plus@r on your hard disk by:\n\n"
  41.  
  42. show        "  - @bcopying@r the necessary WordScan Plus programs\n"
  43. show        "  - telling WordScan Plus what kind of @brecognition device@r you have\n"
  44. show        "  - telling WordScan Plus what kind of @bscanners@r you have\n"
  45. show        "  - modifying or creating @bsystem configuration@r files\n\n"
  46.  
  47. show        "You can leave the installation program  and  return  to  DOS  by  pressing\n"
  48. show        "@bCTRL-C@r (press and hold down the @bCTRL@r key and press the @bC@r key).\n\n" show        "
  49.  
  50. pause
  51. clear
  52.  
  53. * ************************************************************************* *
  54. *                                                                           *
  55. *       make sure user has DOS Version 3.0 or above                         *
  56. *                                                                           *
  57. * ************************************************************************* *
  58.  
  59. dos         3.0
  60.  
  61. * ************************************************************************* *
  62. *                                                                           *
  63. *       make sure user has at least 450K of RAM                             *
  64. *                                                                           *
  65. * ************************************************************************* *
  66.  
  67. memory      400
  68.  
  69. * ************************************************************************* *
  70. *                                                                           *
  71. *       check for a windows installation by find win.ini in the path        *
  72. *                                                                           *
  73. * ************************************************************************* *
  74.  
  75. chkwin      no-windows
  76.  
  77. * ************************************************************************* *
  78. *                                                                           *
  79. *       select an install directory                                         *
  80. *                                                                           *
  81. * ************************************************************************* *
  82.  
  83. title
  84. stitle      "Directory Selection"
  85.  
  86. show        "\nUnless you have very special requirements, you should install \n"
  87. show        "WordScan Plus in the standard directory (#i).\n\n"
  88. show        "Do you want to install @bWordScan Plus@r in the directory\n"
  89. getdir      "@b%s@r?\n"
  90. show        "\n"
  91.  
  92. * ************************************************************************* *
  93. *                                                                           *
  94. *       do size thing                                                       *
  95. *                                                                           *
  96. * ************************************************************************* *
  97.  
  98. *unlink      "#i\BIN\INSTALL.TMP"
  99. *unlink      "#i\LIB\INSTALL.TMP"
  100. *unlink      "#i\DIAG\INSTALL.TMP"
  101. *unlink      "#i\LIB\SCANNERS\INSTALL.TMP"
  102. *unlink      "#i\LIB\OIL\INSTALL.TMP"
  103.  
  104. space       6000
  105.             "#i\BIN\C_ID.EXE"
  106.             "#i\BIN\C_SYNC.EXE"
  107.             "#i\BIN\INPATH.EXE"
  108.             "#i\BIN\S_CONFIG.EXE"
  109.             "#i\BIN\UEDITPRO.EXE"
  110.             "#i\BIN\DIAGNOSE.EXE"
  111.             "#i\BIN\WORDSCAN.EXE"
  112.             "#i\BIN\W2BIFFW.EXE"
  113.             "#i\BIN\W2LOTUSW.EXE"
  114.             "#i\BIN\W4W????.EXE"
  115.             "#i\BIN\UFILTER.EXE"
  116.             "#i\BIN\CDP.EXE"
  117.             "#i\BIN\W3DCOL.EXE"
  118.             "#i\BIN\UFILTER.EXE"
  119.             "#i\BIN\LADYHAWK.EXE"
  120.             "#i\BIN\PASS??.EXE"
  121.             "#i\BIN\CALEMS?.EXE"
  122.             "#i\BIN\TMKDLL.???"
  123.  
  124.             "#i\DIAG\EMM_SIZE.EXE"
  125.  
  126.             "#i\LIB\CIL.ERR"
  127.             "#i\LIB\OIL.ERR"
  128.  
  129.  
  130.  
  131.  
  132.             "#i\DIAG\P3DUMP.EXE"
  133.  
  134.             "#i\LIB\DIAG.BIN"
  135.  
  136.  
  137.  
  138.             "#i\LIB\PCCDP.BIN"
  139.  
  140.  
  141.             "#i\LIB\SCANNERS\*.WDR"
  142.             "#i\LIB\OIL\*.WIL"
  143.  
  144.             "#i\LIB\UUI\*.*"
  145.     end
  146.  
  147. * ************************************************************************* *
  148. *                                                                           *
  149. *       create the required directories                                     *
  150. *                                                                           *
  151. * ************************************************************************* *
  152.  
  153. mkdir       "#i\BIN"
  154. mkdir       "#i\LIB"
  155. mkdir       "#i\DIAG"
  156. mkdir       "#i\LIB\UUI"
  157. mkdir       "#i\LIB\SCANNERS"
  158. mkdir       "#i\LIB\OIL"
  159. * ************************************************************************* *
  160. *                                                                           *
  161. *       select a data directory                                             *
  162. *                                                                           *
  163. * ************************************************************************* *
  164.  
  165. title
  166. stitle      "Directory Selection"
  167.  
  168. getddir     "Do you want to use the directory @b%s@r to store your temporary files?\n"
  169. mkdir       "#h"
  170.  
  171. * ************************************************************************* *
  172. *                                                                           *
  173. *       copy stuff on install disk                                          *
  174. *                                                                           *
  175. * ************************************************************************* *
  176. title
  177. stitle      "Copying Programs"
  178. show        "\nPlease wait...\n\n"
  179. disk        "WS-01"  "##1 Installation"
  180. copy        "#a\PKUNZIP.EXE"  "#i\BIN\%s"
  181. copy        "#a\README.TXT"  "#i\DIAG\%s"
  182. ifeqn       "#o"        "1"    1       select-dev
  183. show        "Copying @b#a\CALERA\BIN\DIAGNOSE.ZIP@r\n"
  184. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\DIAGNOSE #i\BIN"
  185. show        "Copying @b#a\CALERA\BIN\BIN.ZIP@r\n"
  186. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\BIN #i\BIN"
  187. show        "Copying @b#a\CALERA\BIN\W3DCOL.ZIP@r\n"
  188. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\W3DCOL #i\BIN"
  189. show        "Copying @b#a\CALERA\DIAG\DIAG.ZIP@r\n"
  190. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\DIAG\DIAG #i\DIAG"
  191. show        "Copying @b#a\CALERA\LIB\LIB.ZIP@r\n"
  192. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\LIB\LIB #i\LIB"
  193. show        "Copying @b#a\CALERA\LIB\UUI\UUI.ZIP@r\n"
  194. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\LIB\UUI\UUI #i\LIB\UUI"
  195. show        "Copying @b#a\CALERA\LIB\OIL\OIL.ZIP@r\n"
  196. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\LIB\OIL\OIL #i\LIB\OIL"
  197. show        "Copying @b#a\CALERA\BIN\UEDITPRO.ZIP@r\n"
  198. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\UEDITPRO #i\BIN"
  199. show        "Copying @b#a\CALERA\BIN\HELP.ZIP@r\n"
  200. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\HELP #i\BIN"
  201.  
  202. * ************************************************************************* *
  203. *                                                                           *
  204. *       find out recognition product                                        *
  205. *                                                                           *
  206. * ************************************************************************* *
  207.  
  208. label       select-dev
  209. title
  210. stitle      "Copying Programs"
  211.  
  212. disk        "WS-02"  "##2 Recognition"
  213.  
  214. find        "#a\CALERA\LIB\PCCDP.ZIP"                          do_card
  215. find        "#a\CALERA\BIN\PASS.ZIP"                           do_lady
  216.  
  217. show        "@bERROR:@rInstall cannot figure out what product it is.\n"
  218. goto        contact
  219.  
  220. * ************************************************************************* *
  221. *                                                                           *
  222. *       configure WordScan Plus (ladyhawk)                                  *
  223. *                                                                           *
  224. * ************************************************************************* *
  225. label    do_lady
  226. clear
  227. *title
  228. *stitle      "Connection to WordScan Plus"
  229. devname     rsp:CALisrc,1,0
  230. ifeqn       "#o"        "1"    1       disk3
  231. *pause
  232. title
  233. stitle      "Copying Programs"
  234.  
  235. disk        "WS-02"  "##2 Recognition"
  236. show        "\nPlease wait...\n\n"
  237. show        "Copying @b#a\CALERA\BIN\PASS.ZIP@r\n"
  238. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\PASS.ZIP #i\BIN"
  239. show        "Copying @b#a\CALERA\BIN\CALEMS.ZIP@r\n"
  240. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\CALEMS.ZIP #i\BIN"
  241. show        "Copying @b#a\CALERA\DIAG\DIAG.ZIP@r\n"
  242. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\DIAG\DIAG.ZIP  #i\DIAG"
  243.  
  244. goto        disk3
  245.  
  246. * ************************************************************************* *
  247. *                                                                           *
  248. *       configure recognition card                                          *
  249. *                                                                           *
  250. * ************************************************************************* *
  251.  
  252. label       do_card
  253.  
  254. title
  255. ifeqn       "#e"    "mc"   2     dn_mc
  256. stitle      "Connection to WordScan Plus AT Card"
  257. devname     atbus:
  258. goto        copyp
  259. label       dn_mc
  260. stitle      "Connection to WordScan Plus MCA Card"
  261. devname     mca
  262. label       copyp
  263.  
  264. ifeqn       "#o"        "1"    1       download_p3
  265.  
  266. title
  267. stitle      "Copying Programs"
  268.  
  269. disk        "WS-02"  "##2 Recognition"
  270. show        "\nPlease wait...\n\n"
  271. show        "Copying @b#a\CALERA\BIN\BIN.ZIP@r\n"
  272. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\BIN.ZIP #i\BIN"
  273. show        "Copying @b#a\CALERA\DIAG\DIAG.ZIP@r\n"
  274. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\DIAG\DIAG.ZIP  #i\DIAG"
  275. show        "Copying @b#a\CALERA\LIB\PCCDP.ZIP@r\n"
  276. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\LIB\PCCDP.ZIP #i\LIB"
  277.  
  278. * ************************************************************************* *
  279. *                                                                           *
  280. *       download code to phase 3                                            *
  281. *                                                                           *
  282. * ************************************************************************* *
  283.  
  284. label       download_p3
  285. title
  286. stitle      "Initializing Recognition Card"
  287. cdp         #d #i\LIB\SCANNERS/#f #i\LIB\PCCDP.BIN exec-fail
  288. pause
  289. goto        skip-exec
  290.  
  291. label       exec-fail
  292. show        "\n\n\n\n\n\n\n"
  293. show        "Error: @b#1@r\n\n"
  294. goto        not-done
  295.  
  296. label       skip-exec
  297. goto        p3-test
  298.  
  299. label       p3-test
  300.  
  301. title
  302. stitle      "Testing Recognition Device"
  303.  
  304. show        "The installation program is now testing your recognition device.  This  test\n"
  305. show        "should  take @b no  longer than 30 seconds.@r If the test does take more than 30\n"
  306. show        "seconds, you might have to reboot your computer.  Please refer to  @bWordScan@r\n"
  307. show        "@bPlus@r installation instructions in this case.\n\n"
  308.  
  309. show        "Please wait... "
  310.  
  311. test        "#d" test-fail
  312. goto        test-skip
  313.  
  314. label       test-fail
  315. clear
  316. stitle      "Recognition Device Error"
  317. show        "The Recognition Device Test has failed on @b#d@r.\n"
  318. show        "(Error ###1: #2)\n\n"
  319.  
  320. show        "Please verify that the recognition device is installed correctly:\n\n"
  321.  
  322. show        "    1. Check the @binterface cables@r  and  make  sure  that  you  have\n"
  323. show        "        secure connections.\n"
  324. show        "    2. Check @bpower cords@r and @bswitches@r and make sure that everything\n"
  325. show        "        is turned on.\n"
  326. show        "    3. Once you have checked these things, please put  the  instal-\n"
  327. show        "        lation  disk  in @bDrive #a@r, type @b#aINSTALL@r, and press the\n"
  328. show        "        @bEnter@r key.\n\n"
  329. goto        contact
  330.  
  331. label       test-skip
  332. show        "done.  Test succeeded.\n\n"
  333. show        "Your @bRecognition Device@r is selected and operational.\n"
  334. pause
  335.  
  336. ifeqn       "#o"        "1"    1       disk3
  337.  
  338.  
  339. * ************************************************************************* *
  340. *                                                                           *
  341. *       copy programs /conversions                                          *
  342. *                                                                           *
  343. * ************************************************************************* *
  344. label       disk3
  345. title
  346. stitle      "Copying Programs"
  347. disk        "WS-03" "##3 Drivers"
  348. ifeqn       "#o"        "1"    1       pick_sc1
  349. show        "\nPlease wait...\n\n"
  350. show        "Copying @b#a\CALERA\BIN\W4W.ZIP@r\n"
  351. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\W4W.ZIP #i\BIN"
  352. show        "Copying @b#a\CALERA\BIN\UFILTER.ZIP@r\n"
  353. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\UFILTER.ZIP #i\BIN"
  354. show        "Copying @b#a\CALERA\BIN\W4W2.ZIP@r\n"
  355. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\W4W2.ZIP #i\BIN"
  356. show        "Copying @b#a\CALERA\BIN\WORDSCAN.ZIP@r\n"
  357. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\BIN\WORDSCAN.ZIP #i\BIN"
  358. show        "Copying @b#a\CALERA\LIB\SCANNERS\FILTERS.ZIP@r\n"
  359. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\LIB\SCANNERS\FILTERS.ZIP #i\LIB\SCANNERS"
  360.  
  361.  
  362. * ************************************************************************* *
  363. *                                                                           *
  364. *       scanner selection                                                   *
  365. *                                                                           *
  366. * ************************************************************************* *
  367. label       pick_sc1
  368. title
  369. stitle      "Scanner Selection"
  370. show        "\nPlease wait...\n\n"
  371. show        "Copying @b#a\CALERA\LIB\SCANNERS\SCANNERS.ZIP@r\n"
  372. mkdir       "#i\TMP"
  373. mkdir       "#i\TMP\MCASCANS"
  374. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\LIB\MCASCANS\MCASCANS.ZIP #i\TMP\MCASCANS"
  375. mkdir       "#i\TMP\SCANNERS"
  376. spawnv      "#i\BIN\PKUNZIP #p #a\CALERA\LIB\SCANNERS\SCANNERS.ZIP #i\TMP\SCANNERS"
  377.  
  378. title
  379. stitle      "Scanner Selection"
  380. scanner     "WS-03" "##3 Drivers" setsil-error
  381. system      "del #i\TMP\SCANNERS\*.WDR"
  382. system      "del #i\TMP\SCANNERS\*.TST"
  383. system      "del #i\TMP\SCANNERS\*.SDC"
  384. system      "del #i\TMP\MCASCANS\*.WDR"
  385. system      "rd  #i\TMP\MCASCANS"
  386. system      "rd  #i\TMP\SCANNERS"
  387. system      "rd  #i\TMP"
  388. label       end_scanners
  389.  
  390.  
  391. * ************************************************************************* *
  392. *                                                                           *
  393. *       take out disks                                                      *
  394. *                                                                           *
  395. * ************************************************************************* *
  396.  
  397. title
  398. stitle      "Remove Disk"
  399.  
  400. show        "\nPlease remove the @b##3 Drivers Disk@r and save it with\n"
  401. show        "the other installation disks in a safe place.\n\n"
  402.  
  403. pause
  404.  
  405. * ************************************************************************* *
  406. *                                                                           *
  407. *       modify batch file                                                   *
  408. *                                                                           *
  409. * ************************************************************************* *
  410. label       done
  411. uui
  412. title
  413. stitle      "Modifying Batch Files"
  414.  
  415. batch
  416.  
  417. * ************************************************************************* *
  418. *                                                                           *
  419. *       modify config.sys (set buffers=20)                                  *
  420. *                                                                           *
  421. * ************************************************************************* *
  422.  
  423. buffers     "Modify CONFIG.SYS"     20
  424.  
  425. * ************************************************************************* *
  426. *                                                                           *
  427. *       done                                                                *
  428. *                                                                           *
  429. * ************************************************************************* *
  430.  
  431. title
  432. stitle      "Diagnose Programs"
  433. show        "A system diagnose program will check your system environment\n"
  434. show        "to ensure your WordScan Plus installed correctly.\n"
  435. show        "If you want to run the system diagnose program,  type    \n"
  436. show        "@b#i\BIN\CHECKOUT@r to launch the system diagnose program. \n"
  437. pause
  438. title
  439. stitle      "Installation Complete"
  440.  
  441. show        "You have selected the following installation parameters.\n\n"
  442.  
  443. show        "                Install Directory:  @b#i@r\n"
  444. show        "                   Data Directory:  @b#h@r\n\n"
  445.  
  446. ifeqn       "#d"    "rsp"   3      sw_only
  447.  
  448. show        "               Recognition Device:  @b#d@r\n"
  449. label      sw_only
  450. show        "     Default Image Scanner:  @b#c@r\n\n"
  451.  
  452. show        "\n@bWordScan Plus@r has been installed.  Please reboot your\n"
  453. show        "machine at this time by pressing Ctrl, Alt, and Del keys all at the\n"
  454. show        "same time.  After this, enter   @bwin wordscan@r  to run\n"
  455. show        "@bWordScan Plus@r.\n"
  456. show        "\n\nHappy Recognition !!!\n"
  457. exit        0
  458.  
  459. * ************************************************************************* *
  460. *                                                                           *
  461. *       handle errors                                                       *
  462. *                                                                           *
  463. * ************************************************************************* *
  464.  
  465. * ************************************************************************* *
  466. *                                                                           *
  467. *       windows not installed                                               *
  468. *                                                                           *
  469. * ************************************************************************* *
  470.  
  471. label       no-windows
  472.  
  473. title
  474. stitle      "Windows Is Not Installed"
  475. show        "Install can not find @bMicrosoft Windows@r in the PATH.\n"
  476. show        "@bWordScan Plus@r runs as an application under @bMicrosoft Windows.@r  In\n"
  477. show        "order for this installation to be successful, @bMicrosoft Windows@r\n"
  478. show        "must first be installed.  Please do this now and then return to\n"
  479. show        "this installation.\n\n"
  480.  
  481. goto        not-done1
  482.  
  483.  
  484. * ************************************************************************* *
  485. *                                                                           *
  486. *       handle control-c events                                             *
  487. *                                                                           *
  488. * ************************************************************************* *
  489.  
  490. label       control-c
  491.  
  492. title
  493. stitle      "Control-C"
  494.  
  495. goto        not-done1
  496.  
  497. * ************************************************************************* *
  498. *                                                                           *
  499. *       go here if the installation is not done                             *
  500. *                                                                           *
  501. * ************************************************************************* *
  502.  
  503. label       not-done
  504.  
  505. show        "The installation has been halted, and is not complete. @bWordScan@r\n"
  506. show        "@bPlus@r will not run properly  on your computer until you finish the\n"
  507. show        "installation. You can restart the installation by putting the @bInstallation@r \n"
  508. show        "disk in drive @b#a@r, typing @b#aINSTALL@r, and pressing @bEnter.@r\n\n"
  509.  
  510. goto        contact
  511.  
  512. label       not-done1
  513.  
  514. show        "The installation has been halted, and is not complete. @bWordScan@r\n"
  515. show        "@bPlus@r will not run properly  on your computer until you finish the\n"
  516. show        "installation. You can restart the installation by putting the @bInstallation@r \n"
  517. show        "disk in drive @b#a@r, typing @b#aINSTALL@r, and pressing @bEnter.@r\n\n"
  518. exit        99
  519. * ************************************************************************* *
  520. *                                                                           *
  521. *       wrong version of DOS                                                *
  522. *                                                                           *
  523. * ************************************************************************* *
  524.  
  525. label       dos-version
  526.  
  527. title
  528. stitle      "DOS Version Check"
  529.  
  530. show        "This software requires @bDOS Version #1@r or higher. You are now running  @bDOS\n"
  531. show        "@bVersion #2.@r\n\n"
  532.  
  533. show        "You will need to install a new version of DOS before you  can  install  this\n"
  534. show        "software.\n\n"
  535.  
  536. goto        not-done1
  537. * ************************************************************************* *
  538. *                                                                           *
  539. *       not enough RAM in the computer                                      *
  540. *                                                                           *
  541. * ************************************************************************* *
  542.  
  543. label       no-ram
  544.  
  545. title
  546. stitle      "Not Enough Memory"
  547.  
  548. show        "This software requires at least @b#1 bytes@r of available  memory  in  your\n"
  549. show        "computer. You have only @b#2 bytes@r free.\n\n"
  550.  
  551. show        "You will need to install more  memory  or  remove  any  terminate  but  stay\n"
  552. show        "resident programs before you can install this software.\n\n"
  553.  
  554. goto        not-done1
  555. * ************************************************************************* *
  556. *                                                                           *
  557. *       not enough disk space                                               *
  558. *                                                                           *
  559. * ************************************************************************* *
  560.  
  561. label       disk-space
  562.  
  563. title
  564. stitle      "Disk Space Check"
  565.  
  566. show        "This software requires at least @b#1 Kbytes@r of disk  space.  You  have  only\n"
  567. show        "@b#2 Kbytes@r of space available on drive @b#u@r.\n\n"
  568.  
  569. show        "You will need to erase or move  some  files  before  you  can  install  this\n"
  570. show        "software.\n\n"
  571.  
  572. goto        not-done
  573.  
  574. * ************************************************************************* *
  575. *                                                                           *
  576. *       got read error during copy                                          *
  577. *                                                                           *
  578. * ************************************************************************* *
  579.  
  580. label       read-error
  581.  
  582. title
  583. stitle      "Disk Read Error"
  584.  
  585. show        "The installation program has  encountered  a  problem  while trying to copy a\n"
  586. show        "program. The error, on file @b#1@r, is @b#3@r.\n\n"
  587.  
  588. show        "   - make sure the diskette is undamaged.\n"
  589. show        "   - make sure the diskette was inserted in the drive correctly, and\n"
  590. show        "      that the diskette drive drawer was closed.\n"
  591. show        "   - if you have a network or security program, make sure  that  you\n"
  592. show        "      have write permission for the file listed.\n"
  593. show        "   - check your diskette drive using the testing programs that  came\n"
  594. show        "      with your computer. (usually called SETUP or TEST).\n\n"
  595.  
  596. goto        not-done
  597.  
  598. * ************************************************************************* *
  599. *                                                                           *
  600. *       got write error during copy                                         *
  601. *                                                                           *
  602. * ************************************************************************* *
  603.  
  604. label       write-error
  605.  
  606. title
  607. stitle      "Disk Write Error"
  608.  
  609. show        "The installation program has  encountered  a  problem  while trying to copy a\n"
  610. show        "program. The error, on file @b#2@r, is @b#3@r.\n\n"
  611.  
  612. show        "   - make sure your hard disk is not full.\n\n"
  613.  
  614. show        "   - check your  hard disk using the testing programs that came with\n"
  615. show        "       your computer.  (usually called @bSETUP@r or @bTEST@r).\n\n"
  616.  
  617. show        "   - reboot your computer, run @bCHKDSK@r (described in your @bDOS manual@r),\n"
  618. show        "       and try again.\n\n"
  619.  
  620. goto        not-done
  621.  
  622. * ************************************************************************* *
  623. *                                                                           *
  624. *       got hard error while checking directory                             *
  625. *                                                                           *
  626. * ************************************************************************* *
  627.  
  628. label       dir-error
  629.  
  630. title
  631. stitle      "Directory Search Error"
  632.  
  633. show        "The installation program has encountered a problem  while trying to examine a\n"
  634. show        "program. The error, searching  @b#1@r, is @b#2@r.\n\n"
  635.  
  636. show        "   - check your  hard disk using the testing programs that came with\n"
  637. show        "       your computer.  (usually called @bSETUP@r or @bTEST@r).\n\n"
  638.  
  639. show        "   - reboot your computer, run @bCHKDSK@r (described in your @bDOS manual@r),\n"
  640. show        "       and try again.\n\n"
  641.  
  642. show        "   - make sure the diskette was inserted in the drive correctly, and\n"
  643. show        "      that the diskette drive drawer was closed.\n\n"
  644.  
  645. goto        not-done
  646.  
  647. * ************************************************************************* *
  648. *                                                                           *
  649. *       all errors come here eventually.                                    *
  650. *                                                                           *
  651. * ************************************************************************* *
  652.  
  653. label       contact
  654.  
  655. diagnose
  656. show        "Please check your @bWordScan Troubleshooting Guide@r  for assistance.\n"
  657. show        "If you want to use a separate scanner, also check the @bScanner Interface Card@r\n"
  658. show        "and @bScanner@r installation instructions.\n"
  659. show        "\n\nYou may also run system diagnose program by type in \n"
  660. show        "@I#i\bin\checkout@r to inspect your system environment.\n"
  661. exit        99
  662. 
  663.