home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today (BR) Volume 4 #16 / Cdrtv4n16.iso / Jogos / Football / INSTALL.FIL < prev    next >
Text File  |  1998-01-07  |  2KB  |  108 lines

  1. ' **** Football Masters Install Script ****
  2. BACKGROUND 127
  3. LANGUAGE ENGLISH
  4. BORDER 0
  5. TELESCOPE OFF
  6. WINOPEN 0 2 30
  7. "      Football Masters 97/98        "
  8. ""
  9. "          version 8.02"
  10. ""
  11. "          ESP Software"
  12. "      5th of January 1998"
  13. ' **** Input Drive and Path ****
  14. :START
  15. SPACE 20000
  16. DRIVE C 0 12 127 112 0 18 95
  17. PATH \FM98 0 12 127 112 0 18 95
  18. WINOPEN 0 12 95
  19. "Football Masters will now be installed to"
  20. ""
  21. ""
  22. ""
  23. "Press [Y] to continue or [N] to start again."
  24. WINUPDATE +4 +3 94
  25. "~1~2."
  26. ASK +46 +5
  27. WINCLOSE
  28. JUMP.NO START
  29. JUMP.FAIL INSTALL_FAILURE
  30.  
  31. ' **** Copy Root Directory Files ****
  32. SHELL
  33. "pkunzip -d -o ~0\fm98net.zip ~1~2\"
  34. ' *** Create Data & Batch Files ****
  35. DELETE ~0\fm98net.zip 23 10 127
  36. DELETE ~0\pkunzip.exe 23 10 127
  37. DELETE ~0\install.exe 23 10 127
  38. DELETE ~0\install.fil 23 10 127
  39. :BATCH
  40. EXIST ~1~2\Pathname.DAT
  41. JUMP.YES HELP_BATCH
  42. FILE ~1~2\Pathname.DAT
  43. "~1~2\SaveGame\"
  44. :HELP_BATCH
  45. EXIST ~1~2\FM_Help.BAT
  46. JUMP.YES WIN95
  47. FILE ~1~2\FM_Help.BAT
  48. "@~1"
  49. "@cd ~2"
  50. "@cls"
  51. "@echo  To start Football Masters, type"
  52. "@echo."
  53. "@echo      ~1"
  54. "@echo      cd ~2"
  55. "@echo      FM98"
  56. "@echo."
  57. "@echo  and press ENTER."
  58. "@echo."
  59. :WIN95
  60. WINOPEN 0 12 95
  61. "Is Windows '95 installed on this PC?"
  62. ""
  63. "           Press [Y] for YES or [N] for NO.           "
  64. ASK +45 +3
  65. WINCLOSE
  66. JUMP.NO GO_BATCH
  67. EXIST ~1~2\FM98.PIF
  68. JUMP.YES SUCCESS
  69. COPY FM98.PIF ~1~2\FM98.PIF 23 10 127
  70. 'JUMP SUCCESS
  71. :GO_BATCH
  72. 'EXIST ~1\FM.BAT
  73. 'JUMP.YES SUCCESS
  74. 'FILE ~1\FM.BAT
  75. '"@~1"
  76. '"@cd ~2"
  77. '"@FM.BAT %1"
  78. :SUCCESS
  79. WINOPEN 0 12 95
  80. "Football Masters has installed"
  81. "successfully in the directory"
  82. ""
  83. ""
  84. ""
  85. "Press the [Enter] key to continue."
  86. WINUPDATE +4 +4 94
  87. "~1~2."
  88. WAIT +36 +6
  89. WINCLOSE
  90. SHELL 
  91. "echo Please wait a moment..."
  92. "attrib -r ~1~2\*.* /s"
  93. RUN ~1~2\FM_Help.BAT
  94. END
  95. :INSTALL_FAILURE
  96. WINOPEN 0 12 95
  97. "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
  98. ""
  99. "Possible reasons:"
  100. "   - Your Hard Disk does not have enough space for all the files."
  101. "   - The original CD was damaged during shipping."
  102. ""
  103. rem "Press [Enter] to remove incomplete program files."
  104. WAIT 62 20
  105. WINCLOSE
  106. SHELL
  107. END
  108.