home *** CD-ROM | disk | FTP | other *** search
/ Shareware Gold 1 / The_Golden_ROM_Series_-_Shareware_Gold_Volume_1_Number_11_-_SK_89-301_-_1989.iso / BBS / LIB027.ARC / INSTALL.MDF < prev    next >
Text File  |  1988-11-11  |  16KB  |  591 lines

  1. .                 Filename - INSTALL.MDF
  2. ..............................................................
  3. .    The  Automenu(R)  Automatic  Installation  Facility
  4. .          11/11/88 - Version 4.5 of INSTALL.MDF
  5. .              Written by Marshall W. Magee
  6. .   Revised and Edited by Mark Strelecki November 1, 1988
  7. .
  8. ..............................................................
  9. %Automenu(R) Version 4.5 Installation Menu
  10. *Install Automenu Version 4.5 on a Hard Disk
  11. .
  12. ?>>>>>  Press 1 to Begin the Install Process  <<<<<
  13. .
  14. .  We will comment the actions taken in this MDF with lines beginning with
  15. .   a period {.}. AUTOMENU ignores these lines and allows the placement of
  16. .                     "documentation" within the file
  17. .
  18. >Automenu will now begin asking the series of questions that will enable it
  19. >to install Automenu the way you want it on your system.
  20. >
  21. >To make a selection, move the [Right Arrow] or [Left Arrow] keys to highlight
  22. >your choice, then press ENTER.  Once a selection is made, Automenu continues
  23. >to the next question.
  24. >
  25. >At times during the installation procedure, the answer you provided for a
  26. >previous question becomes a part of the current question.
  27. >
  28. >AT ANY TIME DURING THE SELECTION PROCESS, YOU MAY PRESS THE [ESC] KEY TO
  29. >QUIT AND RETURN TO THE AUTOMENU INSTALLATION MENU, where you may start again
  30. >or quit.
  31. >
  32. >At the end of the selection process, Automenu will redisplay your choices.
  33. >This allows you a final opportunity to accept the choices you made and begin
  34. >the actual installation process. At this time, you may reject the choices you
  35. >made. If you reject your choices, no installation occurs and you are returned
  36. >to the Automenu Installation Menu.
  37. >
  38. >
  39. >Now select the drive to which you wish Automenu copied.
  40. >
  41. <C:,D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:
  42. .
  43. .                   This value will be assigned to %1
  44. .
  45. >
  46. >
  47. >
  48. >
  49. >
  50. >
  51. >
  52. >
  53. >
  54. >
  55. >
  56. >
  57. >
  58. >
  59. >
  60. >
  61. >
  62. >
  63. >
  64. >
  65. >
  66. >
  67. >
  68. >Please select the sub-directory name on Drive %1 to which you want Automenu
  69. >copied.
  70. >
  71. <\AUTOMENU,\PUBLIC,\,\BIN,\DOS
  72. .
  73. .                 This value will be assigned to %2
  74. .
  75. >
  76. >
  77. >
  78. >
  79. >
  80. >
  81. >
  82. >
  83. >
  84. >
  85. >
  86. >
  87. >
  88. >
  89. >
  90. >
  91. >
  92. >
  93. >
  94. >
  95. >
  96. >
  97. >
  98. >In order for Automenu to gain access to the external DOS commands, it needs
  99. >to know the drive and subdirectory that contains such external DOS commands as
  100. >CHKDSK, FORMAT, BACKUP, EDLIN, etc.
  101. >
  102. >From the choices below, please choose the DRIVE where the DOS
  103. >commands are located.
  104. >
  105. >Select from the available drives below with the cursor keys,
  106. >Then Press ENTER:
  107. >
  108. >
  109. >
  110. <C:,D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:
  111. .
  112. .                    This value will be assigned to %3
  113. .
  114. >
  115. >
  116. >
  117. >
  118. >
  119. >
  120. >
  121. >
  122. >
  123. >
  124. >
  125. >
  126. >
  127. >
  128. >
  129. >
  130. >
  131. >
  132. >
  133. >
  134. >
  135. >
  136. >In which Subdirectory are the DOS commands located?
  137. >
  138. >Please input the entire path to the DOS commands on the dotted line below.
  139. >Don't forget to include the "backslash" (i.e., \DOS or \USER\DOS, etc.)
  140. >
  141. >
  142. >
  143. <
  144. .
  145. .                     This value will be assigned to %4
  146. .
  147. >
  148. >
  149. >
  150. >
  151. >
  152. >
  153. >
  154. >
  155. >
  156. >
  157. >
  158. >
  159. >
  160. >
  161. >
  162. >
  163. >
  164. >
  165. >
  166. >
  167. >
  168. >Does your present AUTOEXEC.BAT file set your PATH
  169. >to %3%4
  170. >(If you are not sure, respond NO and Automenu will reset the PATH for you.)
  171. >
  172. >
  173. >
  174. <YES,NO
  175. .
  176. .                  This value will be assigned to %5
  177. .
  178. >
  179. >
  180. >
  181. >
  182. >
  183. >
  184. >
  185. >
  186. >
  187. >
  188. >
  189. >
  190. >
  191. >
  192. >
  193. >
  194. >
  195. >
  196. >
  197. >
  198. >
  199. >
  200. >
  201. >Automenu can automatically display a menu when your system is turned on. This
  202. >would require placing the command "AUTO" at the end of AUTOEXEC.BAT. If you
  203. >answer YES, any existing AUTOEXEC.BAT will be copied to AUTOEXEC.BAK and
  204. >Automenu will append the command "AUTO" to AUTOEXEC.BAT.
  205. >
  206. >Do you wish Automenu to come up each time your system is turned on?
  207. >
  208. >
  209. >
  210. <YES,NO
  211. .
  212. .                     This value will be assigned to %6
  213. .
  214. >
  215. >
  216. >
  217. >
  218. >
  219. >
  220. >
  221. >
  222. >
  223. >
  224. >
  225. >
  226. >
  227. >
  228. >
  229. >
  230. >
  231. >
  232. >
  233. >
  234. >
  235. >
  236. >We'll also need to know the DRIVE from which you are installing
  237. >AUTOMENU. The default is A:, but if it is different,
  238. >move the highlight bar to that Drive letter and press RETURN.
  239. >
  240. >
  241. >
  242. <A:,B:,C:,D:,E:,F:
  243. .
  244. .                     This value will be assigned to %7
  245. .
  246. >
  247. >
  248. >
  249. >
  250. >
  251. >
  252. >
  253. >
  254. >
  255. >
  256. >
  257. >
  258. >
  259. >
  260. >
  261. >
  262. >
  263. >
  264. >
  265. >
  266. >
  267. >
  268. >
  269. >
  270. >
  271. >
  272. >
  273. >
  274. >
  275. .    The following screen will ask for verification of all the parameters
  276. .                      you have selected for installation
  277. .   If they are incorrect, pressing the ESCape key will return to the Menu
  278. .
  279. >
  280. >╔══════════════════════════════════════════════════════════════════════════╗
  281. >║ Please check the answers you have provided, and select YES to continue.  ║
  282. >║  If you select NO, you are returned to the Automenu Installation Menu,   ║
  283. >║     where you may begin again or quit.  NO INSTALLATION takes place      ║
  284. >║                            if you select NO.                             ║
  285. >╚══════════════════════════════════════════════════════════════════════════╝
  286. >
  287. >
  288. >         Automenu system files to be copied to:         %1%2
  289. >
  290. >         DOS files are contained in:                    %3%4
  291. >
  292. >         Is the PATH to the DOS directory defined?:     %5
  293. >
  294. >         Wish Automenu to come up automatically?:       %6
  295. >
  296. >         Automenu is being Installed from DRIVE:        %7\
  297. >
  298. >         PROCEED WITH INSTALLATION? Please Select YES or NO, or
  299. >                  Press ESCape to Abort Installation
  300. >
  301. >
  302. >
  303. <YES,NO
  304. .
  305. .                This last parameter will be assigned to %8
  306. .
  307. .                 Now begin the actual installation process
  308. .          Use the NON-RESIDENT {+} command - terminate AUTOMENU while
  309. .          executing the Autotemp.BAT file. We will restart it with a
  310. .      " +AUTO " command just before the second menu selection is defined
  311. .
  312. +ECHO OFF
  313. +CLS
  314. +IF %8==NO GOTO END
  315. .
  316. .  Turn Echo OFF, Clear the Screen, then check to see if the user selected
  317. .                        "YES" as the last response
  318. .
  319. .  If so, then continue, otherwise go to the "END" label in the batch file
  320. .
  321. +ECHO Now performing the installation of AUTOMENU System files to: %1%2
  322. +ECHO    **************   INSTALLING  VERSION   ****************
  323. +IF %2==\ GOTO L001
  324. .
  325. .        If installing to the root directory, skip the next instruction
  326. .
  327. +MKDIR %1%2
  328. .
  329. .           Create a directory on Drive "%1" by the name of "%2"
  330. .
  331. +:L001
  332. +%1
  333. +CD %2
  334. .
  335. .     Log to Drive %1, then change directories to %2 (the AUTOMENU place!)
  336. .
  337. +ECHO .
  338. +ECHO Now  Building  AUTO.BAT  . . .
  339. +ECHO ECHO OFF>AUTO.BAT
  340. .
  341. .               Create a new AUTO.BAT file by ECHOing to it
  342. .
  343. +ECHO %1>>AUTO.BAT
  344. .
  345. .        Place the name of the drive to log to when running AUTOMENU
  346. .
  347. +ECHO CD %2>>AUTO.BAT
  348. .
  349. .            Change directories to the AUTOMENU subdirectory
  350. .
  351. +COPY AUTO.BAT+%7\INSTALL.DAT AUTO.BAT >NUL
  352. .
  353. .       Copy the INSTALL.DAT data file, along with the above, to AUTO.BAT
  354. .
  355. +COPY AUTO.BAT %3%4 >NUL
  356. .
  357. .                   Copy AUTO.BAT to the DOS directory
  358. .
  359. +COPY AUTO.BAT %1\ >NUL
  360. .
  361. .                   Copy AUTO.BAT to the root directory
  362. .
  363. +ECHO .
  364. +ECHO Now Copying Program Files for Automenu...
  365. +ECHO .
  366. .
  367. .          Now copy all the important files from the distribution disk
  368. .
  369. +COPY %7\AUTOMENU.COM >NUL
  370. +COPY %7\AUTOCUST.COM >NUL
  371. +COPY %7\AUTOMAKE.EXE >NUL
  372. +COPY %7\DOS.MDF >NUL
  373. +COPY %7\*.DOC >NUL
  374. +COPY %7\BATCH.MDF >NUL
  375. +COPY %7\NETEXAMP.MDF >NUL
  376. +COPY %7\INSTALL.MDF >NUL
  377. +COPY %7\ENTER.MDF >NUL
  378. +COPY %7\PRINTDOC.BAT >NUL
  379. +COPY %7\CRLF.INP >NUL
  380. +ECHO .
  381. +ECHO Program Files Copied ...
  382. +ECHO .
  383. +ECHO Now Building AUTOMENU.MDF ...
  384. +ECHO .
  385. .
  386. .        Create a new AUTOMENU.MDF from scratch by ECHOing it to a file
  387. .                         one instruction at a time.
  388. .
  389. .               This can be done from the DOS prompt by typing
  390. .                        ECHO Any Message  >  DEVICE
  391. .
  392. .                   where "Any Message" is text to be used
  393. .                    the > (greater then) symbol means TO
  394. .             and   DEVICE is the screen, printer, or a filename
  395. .
  396. .       We are ECHOing our text to FILES called AUTO.BAT, AUTOMENU.MDF,
  397. .                              and AUTOEXEC.BAT.
  398. .
  399. .  For more details on ECHOing text to a file, see your DOS Reference Manual
  400. .
  401. .       First, we'll insert some comment lines to document the MDF.
  402. .
  403. +ECHO .>AUTOMENU.MDF
  404. .
  405. .   Notice how we are ECHOing a period {.} TO a filename called AUTOMENU.MDF
  406. .
  407. +ECHO .AUTOMENU Menu Definition File>>AUTOMENU.MDF
  408. .
  409. .        The first time we used a single ">", but to ADD to that existing
  410. .      file we will use the APPEND function by specifying a double ">" (>>)
  411. .
  412. +ECHO .>>AUTOMENU.MDF
  413. +ECHO .By Marshall W. Magee>>AUTOMENU.MDF
  414. +ECHO .................................................>>AUTOMENU.MDF
  415. .
  416. .                   Now create the title line of the MDF
  417. .
  418. +ECHO %%Automenu(R) Application Menu>>AUTOMENU.MDF
  419. +ECHO .................................................>>AUTOMENU.MDF
  420. .
  421. .        Now create the first menu selection to appear on the screen
  422. .
  423. .               First, the selection symbol {*} is used
  424. .
  425. +ECHO *Automenu Menu-Building Facility>>AUTOMENU.MDF
  426. .
  427. .   Now create a prompt that will appear when this selection is highlighted
  428. .
  429. +ECHO ?Select to Use the AUTOMAKE Menu Editor>>AUTOMENU.MDF
  430. .
  431. .   Now add the actual DOS commands that will perform the desired functions
  432. .                In this case, run the menu editor AUTOMAKE.
  433. .
  434. +ECHO +AUTOMAKE>>AUTOMENU.MDF
  435. .
  436. .          After AUTOMAKE completes, restart AUTOMENU by typing "AUTO"
  437. .
  438. +ECHO +AUTO>>AUTOMENU.MDF
  439. +ECHO .................................................>>AUTOMENU.MDF
  440. .
  441. .                    For the second menu selection
  442. .
  443. +ECHO *Automenu Customization Utility>>AUTOMENU.MDF
  444. +ECHO ?Select to Use the AUTOCUST Utility>>AUTOMENU.MDF
  445. .
  446. .   Run the customization program to configure AUTOMENU the way you like it!
  447. .
  448. +ECHO +AUTOCUST>>AUTOMENU.MDF
  449. .
  450. .                           And then restart AUTOMENU
  451. .
  452. +ECHO +AUTO>>AUTOMENU.MDF
  453. +ECHO .................................................>>AUTOMENU.MDF
  454. .
  455. +ECHO *Treeview>>AUTOMENU.MDF
  456. +ECHO ?Run MAGEE's File Management Utility>>AUTOMENU.MDF
  457. +ECHO +ECHO Place the command TV here to execute Treeview>>AUTOMENU.MDF
  458. +ECHO +ECHO If you don't have Treeview, order it today!>>AUTOMENU.MDF
  459. +ECHO +ECHO Call Magee Enterprises, Inc. at 1-800-662-4330>>AUTOMENU.MDF
  460. +ECHO +PAUSE>>AUTOMENU.MDF
  461. +ECHO +AUTO>>AUTOMENU.MDF
  462. +ECHO .>>AUTOMENU.MDF
  463. +ECHO *Basic>>AUTOMENU.MDF
  464. +ECHO ?Run BASIC directly>>AUTOMENU.MDF
  465. .
  466. .        The following command will execute a SINGLE command, then return
  467. .                           to AUTOMENU without a pause
  468. .
  469. +ECHO -basica>>AUTOMENU.MDF
  470. +ECHO .................................................>>AUTOMENU.MDF
  471. +ECHO *DOS Command Menu>>AUTOMENU.MDF
  472. +ECHO ?This menu contains commonly used DOS commands>>AUTOMENU.MDF
  473. .
  474. .              The following command will load another MDF
  475. .
  476. +ECHO @DOS.MDF>>AUTOMENU.MDF
  477. +ECHO .................................................>>AUTOMENU.MDF
  478. +ECHO *Batch Command Menu>>AUTOMENU.MDF
  479. +ECHO ?This menu contains some special commands>>AUTOMENU.MDF
  480. +ECHO @BATCH.MDF>>AUTOMENU.MDF
  481. +ECHO .................................................>>AUTOMENU.MDF
  482. +ECHO *Exit  to  DOS>>AUTOMENU.MDF
  483. +ECHO ?Return to Disk Operating System>>AUTOMENU.MDF
  484. +ECHO +ECHO ┌─────────────────────────────────┐>>AUTOMENU.MDF
  485. +ECHO +ECHO │▓▓▒▒░░  Exiting  to  DOS   ░░▒▒▓▓│>>AUTOMENU.MDF
  486. +ECHO +ECHO ├─────────────────────────────────┤>>AUTOMENU.MDF
  487. +ECHO +ECHO ├─────────────────────────────────┤>>AUTOMENU.MDF
  488. +ECHO +ECHO │  Please  Enter   »»»  AUTO  ««« │>>AUTOMENU.MDF
  489. +ECHO +ECHO │      To Return to Automenu      │>>AUTOMENU.MDF
  490. +ECHO +ECHO ├─────────────────────────────────┤>>AUTOMENU.MDF
  491. +ECHO +ECHO └─────────────────────────────────┘>>AUTOMENU.MDF
  492. +ECHO +ECHO .>>AUTOMENU.MDF
  493. .
  494. .          The above commands print a small box on-screen reminding you
  495. .                           that you are in DOS
  496. .  Then a small "Thank You" message will be displayed (ECHOed) to the screen
  497. .
  498. +ECHO ...................................................>>AUTOMENU.MDF
  499. +ECHO .------------------------------>>AUTOMENU.MDF
  500. +ECHO .Define another sub-menu>>AUTOMENU.MDF
  501. +ECHO .------------------------------>>AUTOMENU.MDF
  502. +ECHO ................................................>>AUTOMENU.MDF
  503. .
  504. .     * * * * * * * *     Now for PAGE TWO     * * * * * * * * * * *
  505. .
  506. +ECHO .The following line is the start of Page 2>>AUTOMENU.MDF
  507. +ECHO %%Automenu(R) ***** Example Second Menu *****>>AUTOMENU.MDF
  508. +ECHO .These are examples ONLY - Programs NOT Included>>AUTOMENU.MDF
  509. +ECHO *Chess>>AUTOMENU.MDF
  510. +ECHO ?Play the game of Chess>>AUTOMENU.MDF
  511. .
  512. . The next line will use the {=} command to execute a single DOS instruction
  513. .               and then PAUSING before returning to AUTOMENU
  514. .
  515. +ECHO =ECHO No GAMES are included. Example only.>>AUTOMENU.MDF
  516. +ECHO .................................................>>AUTOMENU.MDF
  517. +ECHO *Backgammon>>AUTOMENU.MDF
  518. +ECHO =ECHO No GAMES are included. Example only.>>AUTOMENU.MDF
  519. +ECHO #End of AUTOMENU.MDF Menu Definition File>>AUTOMENU.MDF
  520. +COPY AUTOMENU.MDF+NUL:/A >NUL
  521. +ECHO Now   Checking   AUTOEXEC.BAT  . . .
  522. .    Change directories to the ROOT of the drive on which AUTOMENU is being
  523. +CD \
  524. +IF %6==NO GOTO DONE
  525. .
  526. .  If you don't want AUTOMENU to come up at boot time, go to the DONE label
  527. .
  528. +ECHO Now adjusting AUTOEXEC.BAT so that AUTOMENU will startup automatically.
  529. +IF NOT EXIST AUTOEXEC.BAT GOTO MAKE
  530. +COPY AUTOEXEC.BAT AUTOEXEC.BAK >NUL
  531. +ERASE AUTOEXEC.BAT >NUL
  532. +COPY AUTOEXEC.BAK/A AUTOEXEC.BAT/B >NUL
  533. +IF %5==NO ECHO PATH %3%4>>AUTOEXEC.BAT
  534. +ECHO AUTO>>%1\AUTOEXEC.BAT
  535. +GOTO DONE
  536. +:MAKE
  537. +ECHO Now building AUTOEXEC.BAT from start ...
  538. +ECHO ECHO OFF>%1\AUTOEXEC.BAT
  539. +ECHO CLS>>%1\AUTOEXEC.BAT
  540. +ECHO ECHO .>>%1\AUTOEXEC.BAT
  541. +ECHO DATE>>%1\AUTOEXEC.BAT
  542. +ECHO TIME>>%1\AUTOEXEC.BAT
  543. +ECHO PATH %3%4>>%1\AUTOEXEC.BAT
  544. +ECHO PROMPT $P$G>>%1\AUTOEXEC.BAT
  545. +ECHO AUTO>>%1\AUTOEXEC.BAT
  546. +:DONE
  547. +ECHO Automenu is finished installing the Automenu system files to your disk.
  548. +IF %6==NO GOTO DONE1
  549. +ECHO Your System will now display the menu automatically if you restart your
  550. +ECHO system. Remove the Automenu Diskette and Press [CTRL]-[ALT]-[DEL].
  551. +ECHO .
  552. +GOTO END
  553. +:DONE1
  554. +ECHO Your Automenu system is now ready for you by entering the command "AUTO"
  555. +ECHO at the %1 prompt.
  556. +ECHO .
  557. +:END
  558. +ECHO Now, to exit from the installation procedure, just
  559. +PAUSE
  560. .
  561. .
  562. . Because we used the NON-RESIDENT {+} commands, we must issue an instruction
  563. .        to re-start AUTOMENU. We do this with the " +AUTO " command
  564. .      We can also specify the name of a Menu Definition File to use by
  565. .  following the "AUTO" command with the name of the menu file - in this case
  566. .   we want to return to the INSTALL.MDF menu. Note that the name of the file
  567. .       must be completely spelled out, including the ".MDF" extension.
  568. .
  569. +auto install.mdf
  570. .
  571. .          Finally, we MUST always include an option to return to DOS
  572. .        This will terminate AUTOMENU and display a message on the screen
  573. .
  574. *Return to Disk Operating System
  575. ?Select to Exit INSTALL and Return to DOS
  576. +ECHO If you Installed Automenu, Remove the Disk from Drive A:
  577. +ECHO and store it in a safe place.
  578. +ECHO Press [Ctrl]-[Alt]-[Del] to restart your system with Automenu.
  579. +ECHO .
  580. +ECHO .
  581. +ECHO           Type "AUTO" to Return to Automenu
  582. +ECHO .
  583. +ECHO .
  584. +ECHO .
  585. +ECHO .
  586. +ECHO .
  587. .
  588. .           Installation File for Automenu
  589. .
  590. #End of INSTALL.MDF Menu Definition File
  591.