home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l353 / 1.img / INSTALL2.DAT < prev    next >
Encoding:
Text File  |  1991-04-08  |  2.3 KB  |  88 lines

  1. $$$nomsg$$$
  2. @echo off
  3.  
  4. :set 21
  5.  
  6. :string 8
  7.  
  8. Please enter the serial number found on
  9. the label of your MetaWare Debugger distribution disk.
  10.  
  11. Serial Number: :endstring
  12.  
  13. :if 6
  14. :msg
  15. :msg
  16. :msg The MetaWare Debugger requires approximately 700K of disk space.
  17. :msg You do not have enough available disk space.
  18. :msg
  19. :askyn 21 Do you wish to continue?  
  20. :msg
  21. :endif
  22.  
  23. :if 21
  24.  
  25. :msg
  26. :msg
  27. :msg Each MetaWare debugger is assigned a serial number.
  28. :msg This serial number is required when you call MetaWare Technical
  29. :msg Support. To make it easier for you to find this number, the
  30. :msg debugger will display it each time it is run.
  31.  
  32. rem :serial
  33.  
  34. echo  
  35. echo  
  36. echo │
  37. echo │ Installing the MetaWare Debugger from %1 to %2
  38. echo │
  39. echo  
  40. echo  
  41.  
  42. :ask1
  43. if exist %1mw_db.1 goto dsk1ok
  44. echo 
  45. echo │
  46. echo │  The disk in drive %1 is not the Debugger diskette.
  47. echo │  Please put the Debugger diskette in drive %1.
  48. echo │
  49. pause
  50. goto ask1
  51. :dsk1ok
  52.  
  53. echo │  Installing debugger and support files.
  54. copy %1\installt.com %2 > nul:
  55. %1find %1\bin %1\examples %1\readme.mdb -t -cp %2
  56.  
  57. echo │  Uncompressing the debugger.
  58. bin\cx bin\mdb1.cx bin\mdb1.exp x
  59. del bin\mdb1.cx > nul:
  60.  
  61. cd bin
  62. %1\mdbser mdb1.exp -1-:=8
  63. cd ..
  64.  
  65.  
  66. echo $$$thisdir$$$>%2\bin\xpq87.tmp
  67. echo :=5>>%2\bin\xpq87.tmp
  68. %2\installt **;%2\bin\xpq87.tmp;%2\bin\serialno
  69. if errorlevel 1 goto finis
  70. del %2\installt.com > nul:
  71. del %2\bin\xpq87.tmp > nul:
  72.  
  73. echo ┌────────────────────────────────────────────────────────────────────┐
  74. echo │                                                                    │
  75. echo │         Installation of the MetaWare Debugger is complete.         │
  76. echo │                                                                    │
  77. echo │                         You should include                         │
  78. type %2\bin\serialno
  79. del %2\bin\serialno > nul:
  80. echo │                  in your autoexec.bat PATH= command.               │
  81. echo │                                                                    │
  82. echo │         To modify the configuration file, edit bin\mdb.cnf         │
  83. echo │                                                                    │
  84. echo └────────────────────────────────────────────────────────────────────┘
  85. :finis
  86. :endif 21
  87. if exist %1cleanup.bat %1cleanup %1 %2\
  88.