home *** CD-ROM | disk | FTP | other *** search
/ Season's Greetings & Games Unlimited / UGOLD_cd2.iso / basstour / btinstal.bat < prev    next >
DOS Batch File  |  1993-08-03  |  4KB  |  131 lines

  1. @echo off
  2. :begin
  3. BfE clear1
  4. bfe ncsay 15 1 14 1 Olsen Outdoors Software Installer and Document Printer
  5. bfe box 10 3 14 3 64 9
  6. bfe ncsay 0 3 16 4 1. Install BASSTOUR to Floppy or Hard Disk
  7. bfe ncsay 0 3 16 5 2. Print BASSTOUR Manual
  8. bfe ncsay 0 3 16 6 3. Print BASSTOUR Registration Form
  9. bfe ncsay 0 3 16 7 4. Print Software Catalog and Order Form
  10. bfe ncsay 0 3 16 8 5. QUIT this program
  11. BfE ncsay 14 1 18 11 Please enter the NUMBER of your choice: 
  12. BfE instr 12345
  13. if errorlevel 53 goto Abort
  14. if errorlevel 52 goto PrintCat
  15. if errorlevel 51 goto PrintReg
  16. if errorlevel 50 goto PrintMan
  17. if errorlevel 49 goto Install1
  18. bfe beep
  19. goto begin
  20. :Install1
  21. bfe clear1
  22. if "%1" == "" goto Install2
  23. bfe say 15 1 2 1 Ready to install BASSTOUR onto your hard disk.
  24. bfe say 15 1 2 2 The game will be installed in the drive\directory shown
  25. BfE say 15 1 2 3 below.
  26. echo "%1" 
  27. bfe ncsay 15 1 2 5 Is this okay? (y-n) 
  28. BfE y-n
  29. if not errorlevel 89 goto Abort1
  30. bfe clear1
  31. bfe say 14 1 10 1 Beginning installation of BASSTOUR......
  32. if not exist %1\nul md %1
  33. copy *.* %1
  34. copy bt.bat %1
  35. bfe delay3000
  36. bfe clear0
  37. echo Installation of BASSTOUR has been completed. To run BASSTOUR,
  38. echo first change to the directory "%1" then type BASSTOUR.
  39. echo.
  40. echo Please enter the NUMBER of what you want to do next from the list below.
  41. echo.
  42. echo.
  43. echo 1. Quit this program and return to DOS.
  44. echo 2. Return to the MAIN MENU of this program.
  45. echo.
  46. BfE ncsay 14 0 20 12 Please enter either 1 or 2  
  47. BfE instr 12
  48. if errorlevel 50 goto begin
  49. goto abort
  50. :Install2
  51. bfe clear1
  52. bfe say 15 1 2 2 Ready to install BASSTOUR onto your hard disk. The game will be
  53. bfe ncsay 15 1 2 3 installed in the drive\directory C:\BTOUR. Is this okay? (y/n) 
  54. BfE y-n
  55. if not errorlevel 89 goto Abort1
  56. bfe clear1
  57. bfe say 14 1 2 1 beginning installation of BASSTOUR to C:\BTOUR......
  58. if not exist c:\btour\nul md c:\btour
  59. copy *.* c:\btour
  60. copy bt.bat c:\
  61. bfe delay3000
  62. cls
  63. echo Installation of BASSTOUR has been completed. Please enter the
  64. echo  NUMBER of what you want to do next from the list below.
  65. echo.
  66. echo.
  67. echo 1. Quit this program and run BASSTOUR (leave the floppy inserted for now!)
  68. echo 2. Quit this program and return to DOS.
  69. echo 3. Return to the MAIN MENU of this program.
  70. echo.
  71. BfE ncsay 14 1 2 10 Please enter either 1, 2, or 3 
  72. BfE instr 123
  73. if errorlevel 51 goto begin
  74. if errorlevel 50 goto abort
  75. if errorlevel 49 goto RUNBTOUR
  76. goto begin
  77. :PrintMan
  78. bfe clear1
  79. bfe say 15 1 10 1 Ready to print BASSTOUR manual (about 25 pages).
  80. BfE ncsay 14 1 10 3 Press P to PRINT, any other key to CANCEL.
  81. BfE
  82. if not errorlevel 80 goto begin
  83. bfe say 15 1 10 5 Please wait. Printing BASSTOUR users manual....
  84. copy bt.doc prn
  85. bfe delay2000
  86. goto begin
  87. :PrintReg
  88. bfe clear1
  89. bfe say 15 1 10 1 Ready to print BASSTOUR registration form.
  90. BfE ncsay 14 1 10 3 Press P to PRINT, any other key to CANCEL.
  91. BfE
  92. if not errorlevel 80 goto begin
  93. bfe say 15 1 10 5 Please wait. Printing BASSTOUR registration form.....
  94. copy register.txt prn
  95. bfe delay2000
  96. goto begin
  97. :PrintCat
  98. bfe clear1
  99. bfe say 15 1 15 1 Ready to print Software Catalog and Order Form.
  100. BfE ncsay 14 1 15 3 Press P to PRINT, any other key to CANCEL:
  101. bfe
  102. if not errorlevel 80 goto begin
  103. bfe say 10 1 15 5 Please wait. Printing Software Catalog and Order Form.....
  104. copy orderfrm.txt prn
  105. bfe delay2000
  106. goto begin
  107. :Abort1
  108. cls
  109. echo Cancelling BASSTOUR installation.
  110. echo.
  111. echo To specify a directory other than C:\BTOUR, restart the BTINSTAL program
  112. echo with a command similar to this:
  113. echo.
  114. BfE say 14 1 20 6 BTINSTAL (drive)\(directory)
  115. echo.
  116. echo where (drive) specifies the hard disk drive you want (C:, D: etc.) 
  117. echo followed by a back-slash (\ with no spaces) and the name of the
  118. echo directory to install it in (again with no spaces).
  119. echo.
  120. goto finish
  121. :RUNBTOUR1
  122. cd %1
  123. %1\basstour
  124. goto finish
  125. :RUNBTOUR
  126. cd c:\btour
  127. c:\btour\basstour
  128. goto finish
  129. :abort
  130. cls
  131. :finish