home *** CD-ROM | disk | FTP | other *** search
/ Big Blue Disk 10 / bbd10new.zip / INSTALL.MDF < prev    next >
Text File  |  1987-05-15  |  8KB  |  308 lines

  1. .INSTALL.MDF
  2. .Automenu Automatic Installation Facility
  3. .Designed for Version 4.01
  4. .5/05/87 - Version 2
  5. %Automenu Installation Menu
  6. *Install Automenu
  7. ?>>>> Press 1 to begin the Install Process <<<<
  8. >Automenu will now begin asking the series of questions that will enable it
  9. >to install Automenu the way you want it on your system.
  10. >
  11. >To make a selection, move the [Right Arrow] or [Left Arrow] keys to highlight
  12. >your choice, then press ENTER.  Once a selection is made, Automenu continues
  13. >to the next question.
  14. >
  15. >At times during the installation procedure, the answer you provided for a
  16. >previous question becomes a part of the current question.
  17. >
  18. >At any time during the selection process, you may press the [ESC] key to
  19. >quit and return to the Automenu Installation Menu, where you may start again
  20. >or quit.
  21. >
  22. >At the end of the selection process, Automenu will redisplay your choices.
  23. >This allows you a final opportunity to accept the choices you made and begin
  24. >the actual installation process.  At this time, you may reject the choices you
  25. >made.  If you reject your choices, no installation occurs and you are returned
  26. >to the Automenu Installation Menu.
  27. >
  28. >
  29. >Now select the drive to which you wish Automenu copied.
  30. >
  31. <C:,D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:
  32. >
  33. >
  34. >
  35. >
  36. >
  37. >
  38. >
  39. >
  40. >
  41. >
  42. >
  43. >
  44. >
  45. >
  46. >
  47. >
  48. >
  49. >
  50. >
  51. >
  52. >
  53. >
  54. >
  55. >Please select the sub-directory name on Drive %1 to which you want Automenu
  56. >copied.
  57. <\AUTOMENU,\PUBLIC,\,\BIN,\DOS
  58. >
  59. >
  60. >
  61. >
  62. >
  63. >
  64. >
  65. >
  66. >
  67. >
  68. >
  69. >
  70. >
  71. >
  72. >
  73. >
  74. >
  75. >
  76. >
  77. >
  78. >
  79. >
  80. >
  81. >In order for Automenu to gain access to the external DOS commands, it needs
  82. >to know the sub-directory that contains such external DOS commands as
  83. >CHKDSK.COM, FORMAT.COM, BACKUP.COM, etc.
  84. >
  85. >For example: If the sub-directory is %1\DOS enter             \DOS
  86. >             or if the sub-directory is %1\BIN enter          \BIN
  87. >             or if the commands are on the root then enter    \
  88. >
  89. >Please type the sub-directory name and then press ENTER:
  90. <
  91. >
  92. >
  93. >
  94. >
  95. >
  96. >
  97. >
  98. >
  99. >
  100. >
  101. >
  102. >
  103. >
  104. >
  105. >
  106. >
  107. >
  108. >
  109. >
  110. >
  111. >
  112. >
  113. >
  114. >Does your present AUTOEXEC.BAT file set your PATH
  115. >to %1%3
  116. >(If you are not sure, respond NO and Automenu will set the PATH for you.)
  117. <YES,NO
  118. >
  119. >
  120. >
  121. >
  122. >
  123. >
  124. >
  125. >
  126. >
  127. >
  128. >
  129. >
  130. >
  131. >
  132. >
  133. >
  134. >
  135. >
  136. >
  137. >
  138. >
  139. >
  140. >
  141. >Automenu can automatically display a menu when your system is turned on. This
  142. >would require placing the command "AUTO" at the end of AUTOEXEC.BAT. If you
  143. >answer YES, any existing AUTOEXEC.BAT will be copied to AUTOEXEC.BAK and
  144. >Automenu will append the command "AUTO" to AUTOEXEC.BAT.
  145. >
  146. >Do you wish Automenu to come up each time your system is turned on?
  147. <YES,NO
  148. >
  149. >
  150. >
  151. >
  152. >
  153. >
  154. >
  155. >
  156. >
  157. >
  158. >
  159. >
  160. >
  161. >
  162. >
  163. >
  164. >
  165. >
  166. >
  167. >Please check the answers you have provided, and select OK to continue.
  168. >If you select WRONG, you are returned to the Automenu Installation Menu,
  169. >where you may begin again or quit.  No installation takes place when you
  170. >you select WRONG.
  171. >
  172. >Automenu system files to be copied to:         %1%2
  173. >DOS files contained on sub-directory:          %1%3
  174. >PATH to the DOS directory is defined:          %4
  175. >Wish Automenu is come up automatically:        %5
  176. >
  177. >
  178. <WRONG,OK
  179. !ECHO OFF
  180. !CLS
  181. !IF %6==WRONG GOTO END
  182. !ECHO Now preforming the installation of Automenu System files to: %1%2
  183. !IF %2==\ GOTO L001
  184. !MKDIR %1%2
  185. !:L001
  186. !%1
  187. !CD %2
  188. !ECHO Now building AUTO.BAT ...
  189. !ECHO ECHO OFF>AUTO.BAT
  190. !ECHO %1>>AUTO.BAT
  191. !ECHO CD %2>>AUTO.BAT
  192. !COPY AUTO.BAT+A:INSTALL.DAT AUTO.BAT >NUL
  193. !COPY AUTO.BAT %1%3 >NUL
  194. !COPY AUTO.BAT %1\ >NUL
  195. !ECHO Now copying program files ...
  196. !COPY A:AUTOMENU.COM >NUL
  197. !COPY A:AUTOCUST.COM >NUL
  198. !COPY A:AUTOMAKE.EXE >NUL
  199. !COPY A:DOS.MDF >NUL
  200. !COPY A:PRINTER.MDF >NUL
  201. !ECHO Now building AUTOMENU.MDF ...
  202. !ECHO .>AUTOMENU.MDF
  203. !ECHO .AUTOMENU Menu Definition File>>AUTOMENU.MDF
  204. !ECHO .>>AUTOMENU.MDF
  205. !ECHO .By Marshall W. Magee>>AUTOMENU.MDF
  206. !ECHO .................................................>>AUTOMENU.MDF
  207. !ECHO %%Automenu(tm) Application Menu>>AUTOMENU.MDF
  208. !ECHO .................................................>>AUTOMENU.MDF
  209. !ECHO *Automenu Menu Building Facility>>AUTOMENU.MDF
  210. !ECHO ?This selection helps build Menu Definition Files>>AUTOMENU.MDF
  211. !ECHO +AUTOMAKE>>AUTOMENU.MDF
  212. !ECHO +AUTO>>AUTOMENU.MDF
  213. !ECHO .................................................>>AUTOMENU.MDF
  214. !ECHO *Automenu Customization Utility>>AUTOMENU.MDF
  215. !ECHO ?This selection changes features of Automenu>>AUTOMENU.MDF
  216. !ECHO +AUTOCUST>>AUTOMENU.MDF
  217. !ECHO +AUTO>>AUTOMENU.MDF
  218. !ECHO .................................................>>AUTOMENU.MDF
  219. !ECHO *Basic>>AUTOMENU.MDF
  220. !ECHO ?Run BASIC directly>>AUTOMENU.MDF
  221. !ECHO -basica>>AUTOMENU.MDF
  222. !ECHO .................................................>>AUTOMENU.MDF
  223. !ECHO *Printer control codes Menu>>AUTOMENU.MDF
  224. !ECHO ?This menu contains selections to set printer>>AUTOMENU.MDF
  225. !ECHO @PRINTER.MDF>>AUTOMENU.MDF
  226. !ECHO .................................................>>AUTOMENU.MDF
  227. !ECHO *DOS Command Menu>>AUTOMENU.MDF
  228. !ECHO ?This menu contains commonly used DOS commands>>AUTOMENU.MDF
  229. !ECHO @DOS.MDF>>AUTOMENU.MDF
  230. !ECHO .................................................>>AUTOMENU.MDF
  231. !ECHO *Disk Operating System>>AUTOMENU.MDF
  232. !ECHO ?Return to Disk Operating System>>AUTOMENU.MDF
  233. !ECHO +CLS>>AUTOMENU.MDF
  234. !ECHO +ECHO ┌─────────────────────┐>>AUTOMENU.MDF
  235. !ECHO +ECHO │▓▒░░░░  D O S  ░░░░▒▓│>>AUTOMENU.MDF
  236. !ECHO +ECHO ├─────────────────────┤>>AUTOMENU.MDF
  237. !ECHO +ECHO │   Enter » AUTO «    │>>AUTOMENU.MDF
  238. !ECHO +ECHO │to return to the Menu│>>AUTOMENU.MDF
  239. !ECHO +ECHO └─────────────────────┘>>AUTOMENU.MDF
  240. !ECHO +CD \>>AUTOMENU.MDF
  241. !ECHO +ECHO ON>>AUTOMENU.MDF
  242. !ECHO .>>AUTOMENU.MDF
  243. !ECHO .------------------------------>>AUTOMENU.MDF
  244. !ECHO .Define another sub-menu>>AUTOMENU.MDF
  245. !ECHO .------------------------------>>AUTOMENU.MDF
  246. !ECHO .>>AUTOMENU.MDF
  247. !ECHO %%******* Example Second Menu *******>>AUTOMENU.MDF
  248. !ECHO *Chess>>AUTOMENU.MDF
  249. !ECHO ?Play the game of Chess>>AUTOMENU.MDF
  250. !ECHO !CD \GAMES>>AUTOMENU.MDF
  251. !ECHO !CHESS>>AUTOMENU.MDF
  252. !ECHO !CD %2>>AUTOMENU.MDF
  253. !ECHO .................................................>>AUTOMENU.MDF
  254. !ECHO *Backgammon>>AUTOMENU.MDF
  255. !ECHO +CD \GAMES>>AUTOMENU.MDF
  256. !ECHO +BACK>>AUTOMENU.MDF
  257. !ECHO +CD %2>>AUTOMENU.MDF
  258. !ECHO +AUTO>>AUTOMENU.MDF
  259. !ECHO #End of Menu Definition File>>AUTOMENU.MDF
  260. .Put a end-of-file character on the end of AUTOMENU.MDF using copy
  261. !COPY AUTOMENU.MDF+NUL:/A >NUL
  262. !ECHO Now checking AUTOEXEC.BAT ...
  263. !%1
  264. !CD \
  265. !IF %5==NO GOTO DONE
  266. !ECHO Now adjusting AUTOEXEC.BAT so that AUTOMENU will come-up automatically.
  267. !IF NOT EXIST AUTOEXEC.BAT GOTO MAKE
  268. !COPY AUTOEXEC.BAT AUTOEXEC.BAK >NUL
  269. !ERASE AUTOEXEC.BAT >NUL
  270. !COPY AUTOEXEC.BAK/A AUTOEXEC.BAT/B >NUL
  271. !IF %4==NO ECHO PATH %1%3>>AUTOEXEC.BAT
  272. !ECHO AUTO>>%1\AUTOEXEC.BAT
  273. !GOTO DONE
  274. !:MAKE
  275. !ECHO Now building AUTOEXEC.BAT from start ...
  276. !ECHO ECHO OFF>%1\AUTOEXEC.BAT
  277. !ECHO CLS>>%1\AUTOEXEC.BAT
  278. !ECHO VER>>%1\AUTOEXEC.BAT
  279. !ECHO ECHO .>>%1\AUTOEXEC.BAT
  280. !ECHO DATE>>%1\AUTOEXEC.BAT
  281. !ECHO TIME>>%1\AUTOEXEC.BAT
  282. !ECHO PATH %1%3>>%1\AUTOEXEC.BAT
  283. !ECHO PROMPT $P$G>>%1\AUTOEXEC.BAT
  284. !ECHO AUTO>>%1\AUTOEXEC.BAT
  285. !:DONE
  286. !ECHO Automenu is now finished installing the Automenu system files to your disk.
  287. !IF %5==NO GOTO DONE1
  288. !ECHO Your System will now display the menu automatically if you restart your
  289. !ECHO system. To do so, remove the Automenu Diskette and Press [CTRL]-[ALT]-[DEL].
  290. !ECHO .
  291. !GOTO END
  292. !:DONE1
  293. !ECHO Your Automenu system is now ready for you by entering the command "AUTO"
  294. !ECHO at the %1 prompt.
  295. !ECHO .
  296. !:END
  297. !%1
  298. !CD \
  299. !PAUSE
  300. *Return to the Disk Operating System
  301. ?This selection will return you to the DOS Prompt
  302. >If you did Install Automenu, Remove the Automenu Diskette and store it in a safe
  303. >place. Press [Ctrl]-[Alt]-[Del] to restart your system with Automenu.
  304. >
  305. +CD \
  306. +ECHO ON
  307. #End of Menu Definition File
  308.