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

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