home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT070.ZIP / INSTALL.BAT next >
DOS Batch File  |  1991-03-20  |  2KB  |  101 lines

  1. Echo OFF
  2. Cls
  3. Echo *======[[ Computer Tyme Software Installation ]]========*
  4. Echo .
  5. Echo If you are installing MarxMenu ......
  6. Echo .
  7. Echo This program will unpack the compressed files and compile
  8. Echo the menus. Then MarxMenu will create the MARX.BAT file for
  9. Echo your system.
  10. Echo .
  11. Echo *===============[[ I M P O R T A N T ! ]]===============*
  12. Echo .
  13. Echo You should be running this on your hard disk or network
  14. Echo If you're not, copy the files onto your hard disk or network
  15. Echo and run INSTALL from there.
  16. Echo .
  17. Echo Be sure to copy ALL the disks that came with your software
  18. Echo your hard disk or network before running INSTALL.
  19. Echo .
  20. Echo *===============[[ I M P O R T A N T ! ]]===============*
  21. Echo .
  22. Echo If you are running this on a floppy disk, press CTRL-C now!
  23. Echo .
  24. Pause
  25.  
  26. if not exist NSK.EXE goto skip
  27. Cls
  28. Echo Unpacking Network Survival Kit . . .
  29. NSK -o
  30. if ErrorLevel 1 goto Err
  31. DEL NSK.EXE
  32.  
  33. :skip
  34. if not exist NSKEVAL.EXE goto skip1
  35. Cls
  36. Echo Unpacking Network Survival Kit Evaluation . . .
  37. NSKEVAL -o
  38. if ErrorLevel 1 goto Err
  39. DEL NSKEVAL.EXE
  40.  
  41. :skip1
  42. if not exist MARXDOC.EXE goto skip2
  43. Cls
  44. Echo UnPacking MarxMenu Documentation Files . . .
  45. MarxDoc -o
  46. if ErrorLevel 1 goto Err
  47. DEL MARXDOC.EXE
  48.  
  49. :skip2
  50. if not exist MENUS.EXE goto skip3
  51. Cls
  52. Echo Unpacking Sample Menus . . .
  53. Menus -o
  54. if ErrorLevel 1 goto Err
  55. DEL MENUS.EXE
  56.  
  57. :skip3
  58. if not exist DISK2.EXE goto skip4
  59. Cls
  60. Echo Unpacking MarxEdit and TSR Utilities . . .
  61. Disk2 -o
  62. if ErrorLevel 1 goto Err
  63. DEL DISK2.EXE
  64.  
  65. :skip4
  66. if not exist TOOLBOX.EXE goto skip5
  67. Cls
  68. Echo Unpacking Dos ToolBox . . .
  69. ToolBox -o
  70. if ErrorLevel 1 goto Err
  71. DEL TOOLBOX.EXE
  72.  
  73. :skip5
  74. if not exist INST.MNU goto skip6
  75. Cls
  76. Echo Compiling Menus . . .
  77. for %%m in (*.mnu) do MarxComp %%m
  78. Cls
  79. Echo Loading Installation Menu . . .
  80. MARXMENU INST
  81.  
  82. :skip6
  83. if exist PIPEDIR.EXE copy PIPEDIR.EXE WHEREIS.EXE >nul
  84. cls
  85. echo All Done!
  86. goto end
  87.  
  88. :Err
  89. cls
  90. echo An error occurred while installing the software!
  91. echo .
  92. echo The most common error is trying to run INSTALL from a floppy
  93. echo disk drive. The correct procedure is to copy all the enclosed
  94. echo disks onto your hard disk or network and then run install.
  95. echo .
  96. echo If you still have a problem call Computer Tyme tech support
  97. echo at 1-417-866-1222.
  98. echo .
  99.  
  100. :end
  101.