home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l353 / 1.img / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1990-11-25  |  2.7 KB  |  54 lines

  1. @echo off
  2. if not exist %0t.com goto wrong
  3. if not exist %01.dat goto wrong
  4. if not "%1" == "" if not "%1" == "CONTINUE" goto wrong
  5. if exist install1.dat goto wrong
  6. echo ┌────────────────────────────────────────────────────────────────────────┐
  7. echo │                                                                        │
  8. echo │                     MetaWare Debugger Installation.                    │
  9. echo │                                                                        │
  10. echo └────────────────────────────────────────────────────────────────────────┘
  11.  
  12. echo dummy > install1.bat
  13. if exist %01.bat goto unsafe2
  14. if not exist install1.bat goto unsafe
  15. del install1.bat
  16. :: %1 == CONTINUE if installed along with compiler
  17. if "%1" == "CONTINUE" %0t **;%02.dat;install1.bat;1000=%0=
  18. if not "%1" == "CONTINUE" %0t **;%01.dat;install1.bat;1000=%0=
  19. if errorlevel 1 goto finis
  20. install1
  21. goto finis
  22.  
  23. :wrong
  24. echo ┌────────────────────────────────────────────────────────────────────────┐
  25. echo │                                                                        │
  26. echo │   The install command was not entered correctly. Please re-enter it    │
  27. echo │   in this form for installing from the a: disk drive -                 │
  28. echo │        a:install                                                       │
  29. echo │   or in this form for installing from the b: disk drive -              │
  30. echo │        b:install                                                       │
  31. echo │   The current (default) disk should be your hard disk, and the         │
  32. echo │   current directory is where the MetaWare Debugger will be installed.  │
  33. echo │                                                                        │
  34. echo │                                                                        │
  35. echo │   You can make any directory current with these commands:              │
  36. echo │       x:          to select the drive where the compiler will install. │
  37. echo │       mkdir \dir-name        to create the directory for the compiler. │
  38. echo │       chdir \dir-name        to make this the current directory.       │
  39. echo │                                                                        │
  40. echo │                                                                        │
  41. echo └────────────────────────────────────────────────────────────────────────┘
  42. goto finis
  43.  
  44. :unsafe2
  45. del install1.bat
  46. :unsafe
  47. echo 
  48. echo │  THE TARGET DISK IS THE SAME AS THE DISTRIBUTION DISK! INSTALLATION HALTED
  49. echo │  The target disk (the current drive) is the same drive as the distribution
  50. echo │  diskette.  You MUST run this installation program from the drive and
  51. echo │  directory in which you wish the compiler to be installed.
  52.  
  53. :finis
  54.