home *** CD-ROM | disk | FTP | other *** search
- $$$nomsg$$$
- @echo off
-
- :set 21
-
- :string 8
-
- Please enter the serial number found on
- the label of your MetaWare Debugger distribution disk.
-
- Serial Number: :endstring
-
- :if 6
- :msg
- :msg
- :msg The MetaWare Debugger requires approximately 700K of disk space.
- :msg You do not have enough available disk space.
- :msg
- :askyn 21 Do you wish to continue?
- :msg
- :endif
-
- :if 21
-
- :msg
- :msg
- :msg Each MetaWare debugger is assigned a serial number.
- :msg This serial number is required when you call MetaWare Technical
- :msg Support. To make it easier for you to find this number, the
- :msg debugger will display it each time it is run.
-
- rem :serial
-
- echo
- echo
- echo │
- echo │ Installing the MetaWare Debugger from %1 to %2
- echo │
- echo
- echo
-
- :ask1
- if exist %1mw_db.1 goto dsk1ok
- echo
- echo │
- echo │ The disk in drive %1 is not the Debugger diskette.
- echo │ Please put the Debugger diskette in drive %1.
- echo │
- pause
- goto ask1
- :dsk1ok
-
- echo │ Installing debugger and support files.
- copy %1\installt.com %2 > nul:
- %1find %1\bin %1\examples %1\readme.mdb -t -cp %2
-
- echo │ Uncompressing the debugger.
- bin\cx bin\mdb1.cx bin\mdb1.exp x
- del bin\mdb1.cx > nul:
-
- cd bin
- %1\mdbser mdb1.exp -1-:=8
- cd ..
-
-
- echo $$$thisdir$$$>%2\bin\xpq87.tmp
- echo :=5>>%2\bin\xpq87.tmp
- %2\installt **;%2\bin\xpq87.tmp;%2\bin\serialno
- if errorlevel 1 goto finis
- del %2\installt.com > nul:
- del %2\bin\xpq87.tmp > nul:
-
- echo ┌────────────────────────────────────────────────────────────────────┐
- echo │ │
- echo │ Installation of the MetaWare Debugger is complete. │
- echo │ │
- echo │ You should include │
- type %2\bin\serialno
- del %2\bin\serialno > nul:
- echo │ in your autoexec.bat PATH= command. │
- echo │ │
- echo │ To modify the configuration file, edit bin\mdb.cnf │
- echo │ │
- echo └────────────────────────────────────────────────────────────────────┘
- :finis
- :endif 21
- if exist %1cleanup.bat %1cleanup %1 %2\
-