home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / w / walmastr.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-03-12  |  1KB  |  76 lines

  1. CLS
  2. @ECHO OFF
  3. SET VAL1=%1%
  4. IF "%VAL1%" == "NOANSI" GOTO NOANSI
  5. IF "%VAL1%" == "noansi" GOTO NOANSI
  6. IF "%VAL1%" == "NOANSI16" GOTO NOANSI16
  7. IF "%VAL1%" == "noansi16" GOTO NOANSI16
  8. REM RUNS INTRO PAGE
  9. BE TITLE.PAG                                                                                                                                                              
  10. BE ASK ""
  11. REM RUNS OPTIONS PAGE
  12. :OPTIONS
  13. CLS
  14. BE OPT.CFG
  15. BE ASK "" 54321 DEF=1 BLACK
  16. IF ERRORLEVEL 5 GOTO DEFAULT
  17. IF ERRORLEVEL 4 GOTO CUSTOM
  18. IF ERRORLEVEL 3 GOTO BITMAPS
  19. IF ERRORLEVEL 2 GOTO BITMAPS
  20. IF ERRORLEVEL 1 GOTO EXIT
  21. REM DEFAULT SECTION
  22. :DEFAULT
  23. CLS
  24. IF NOT EXIST C:\WINDOWS\NUL GOTO NODEF
  25. BE DEF.CFG
  26. BE SA BLUE ON WHITE /N /C
  27. IF %VAL1% == 16 GOTO 16COLUNZIP
  28. PKUNZIP -3 -) WALSAMPL C:\WINDOWS *.*
  29. :NEXT
  30. BE DELAY 40
  31. GOTO LOADED
  32. :NODEF
  33. CLS
  34. BE NODEF.CFG
  35. REM CUSTOM SECTION
  36. :CUSTOM
  37. IF %VAL1% == 16 GOTO SET16COL
  38. :NEXT2
  39. CLS
  40. BE NEW1.CFG
  41. ECHO 
  42. PROMPT $e[15;36H$e[30;47m? 
  43. GOTO OUT
  44. REM INSTALLATION COMPLETE MESSAGES
  45. :LOADED
  46. CLS
  47. BE LDED1.CFG
  48. BE ASK ""
  49. BE LDED2.CFG
  50. BE ASK ""
  51. GOTO EXIT
  52. REM UNZIPS 16 COLOR BMP'S TO WINDOWS DIRECTORY
  53. :16COLUNZIP
  54. PKUNZIP -3 -) WALSAM16 C:\WINDOWS *.*
  55. GOTO NEXT
  56. :SET16COL
  57. COPY 16.COL 16.SET
  58. GOTO NEXT2
  59. REM BITMAPS VERIFICATION
  60. :BITMAPS
  61. BE LDED.CFG
  62. BE ASK ""
  63. GOTO OPTIONS
  64. REM USER DEFINED COLOR AND ANSI REQUIREMENTS
  65. :NOANSI
  66. CALL NOANSI
  67. GOTO OUT
  68. :NOANSI16
  69. CALL NOANS16
  70. GOTO OUT
  71. REM EXIT OPTIONS
  72. :EXIT
  73. CALL EXITING
  74. :OUT
  75.  
  76.