. Filename - INSTALL.MDF .............................................................. . The Automenu(R) Automatic Installation Facility . 11/11/88 - Version 4.5 of INSTALL.MDF . Written by Marshall W. Magee . Revised and Edited by Mark Strelecki November 1, 1988 . .............................................................. %Automenu(R) Version 4.5 Installation Menu *Install Automenu Version 4.5 on a Hard Disk . ?>>>>> Press 1 to Begin the Install Process <<<<< . . We will comment the actions taken in this MDF with lines beginning with . a period {.}. AUTOMENU ignores these lines and allows the placement of . "documentation" within the file . >Automenu will now begin asking the series of questions that will enable it >to install Automenu the way you want it on your system. > >To make a selection, move the [Right Arrow] or [Left Arrow] keys to highlight >your choice, then press ENTER. Once a selection is made, Automenu continues >to the next question. > >At times during the installation procedure, the answer you provided for a >previous question becomes a part of the current question. > >AT ANY TIME DURING THE SELECTION PROCESS, YOU MAY PRESS THE [ESC] KEY TO >QUIT AND RETURN TO THE AUTOMENU INSTALLATION MENU, where you may start again >or quit. > >At the end of the selection process, Automenu will redisplay your choices. >This allows you a final opportunity to accept the choices you made and begin >the actual installation process. At this time, you may reject the choices you >made. If you reject your choices, no installation occurs and you are returned >to the Automenu Installation Menu. > > >Now select the drive to which you wish Automenu copied. > > > > > > > > > > > > > > > > > > > > > > > >Please select the sub-directory name on Drive %1 to which you want Automenu >copied. > <\AUTOMENU,\PUBLIC,\,\BIN,\DOS . . This value will be assigned to %2 . > > > > > > > > > > > > > > > > > > > > > > > >In order for Automenu to gain access to the external DOS commands, it needs >to know the drive and subdirectory that contains such external DOS commands as >CHKDSK, FORMAT, BACKUP, EDLIN, etc. > >From the choices below, please choose the DRIVE where the DOS >commands are located. > >Select from the available drives below with the cursor keys, >Then Press ENTER: > > > > > > > > > > > > > > > > > > > > > > > > >In which Subdirectory are the DOS commands located? > >Please input the entire path to the DOS commands on the dotted line below. >Don't forget to include the "backslash" (i.e., \DOS or \USER\DOS, etc.) > > > < . . This value will be assigned to %4 . > > > > > > > > > > > > > > > > > > > > > >Does your present AUTOEXEC.BAT file set your PATH >to %3%4 >(If you are not sure, respond NO and Automenu will reset the PATH for you.) > > > > > > > > > > > > > > > > > > > > > > > > > >Automenu can automatically display a menu when your system is turned on. This >would require placing the command "AUTO" at the end of AUTOEXEC.BAT. If you >answer YES, any existing AUTOEXEC.BAT will be copied to AUTOEXEC.BAK and >Automenu will append the command "AUTO" to AUTOEXEC.BAT. > >Do you wish Automenu to come up each time your system is turned on? > > > > > > > > > > > > > > > > > > > > > > > > >We'll also need to know the DRIVE from which you are installing >AUTOMENU. The default is A:, but if it is different, >move the highlight bar to that Drive letter and press RETURN. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > . The following screen will ask for verification of all the parameters . you have selected for installation . If they are incorrect, pressing the ESCape key will return to the Menu . > >ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» >º Please check the answers you have provided, and select YES to continue. º >º If you select NO, you are returned to the Automenu Installation Menu, º >º where you may begin again or quit. NO INSTALLATION takes place º >º if you select NO. º >ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ > > > Automenu system files to be copied to: %1%2 > > DOS files are contained in: %3%4 > > Is the PATH to the DOS directory defined?: %5 > > Wish Automenu to come up automatically?: %6 > > Automenu is being Installed from DRIVE: %7\ > > PROCEED WITH INSTALLATION? Please Select YES or NO, or > Press ESCape to Abort Installation > > > AUTO.BAT . . Create a new AUTO.BAT file by ECHOing to it . +ECHO %1>>AUTO.BAT . . Place the name of the drive to log to when running AUTOMENU . +ECHO CD %2>>AUTO.BAT . . Change directories to the AUTOMENU subdirectory . +COPY AUTO.BAT+%7\INSTALL.DAT AUTO.BAT >NUL . . Copy the INSTALL.DAT data file, along with the above, to AUTO.BAT . +COPY AUTO.BAT %3%4 >NUL . . Copy AUTO.BAT to the DOS directory . +COPY AUTO.BAT %1\ >NUL . . Copy AUTO.BAT to the root directory . +ECHO . +ECHO Now Copying Program Files for Automenu... +ECHO . . . Now copy all the important files from the distribution disk . +COPY %7\AUTOMENU.COM >NUL +COPY %7\AUTOCUST.COM >NUL +COPY %7\AUTOMAKE.EXE >NUL +COPY %7\DOS.MDF >NUL +COPY %7\*.DOC >NUL +COPY %7\BATCH.MDF >NUL +COPY %7\NETEXAMP.MDF >NUL +COPY %7\INSTALL.MDF >NUL +COPY %7\ENTER.MDF >NUL +COPY %7\PRINTDOC.BAT >NUL +COPY %7\CRLF.INP >NUL +ECHO . +ECHO Program Files Copied ... +ECHO . +ECHO Now Building AUTOMENU.MDF ... +ECHO . . . Create a new AUTOMENU.MDF from scratch by ECHOing it to a file . one instruction at a time. . . This can be done from the DOS prompt by typing . ECHO Any Message > DEVICE . . where "Any Message" is text to be used . the > (greater then) symbol means TO . and DEVICE is the screen, printer, or a filename . . We are ECHOing our text to FILES called AUTO.BAT, AUTOMENU.MDF, . and AUTOEXEC.BAT. . . For more details on ECHOing text to a file, see your DOS Reference Manual . . First, we'll insert some comment lines to document the MDF. . +ECHO .>AUTOMENU.MDF . . Notice how we are ECHOing a period {.} TO a filename called AUTOMENU.MDF . +ECHO .AUTOMENU Menu Definition File>>AUTOMENU.MDF . . The first time we used a single ">", but to ADD to that existing . file we will use the APPEND function by specifying a double ">" (>>) . +ECHO .>>AUTOMENU.MDF +ECHO .By Marshall W. Magee>>AUTOMENU.MDF +ECHO .................................................>>AUTOMENU.MDF . . Now create the title line of the MDF . +ECHO %%Automenu(R) Application Menu>>AUTOMENU.MDF +ECHO .................................................>>AUTOMENU.MDF . . Now create the first menu selection to appear on the screen . . First, the selection symbol {*} is used . +ECHO *Automenu Menu-Building Facility>>AUTOMENU.MDF . . Now create a prompt that will appear when this selection is highlighted . +ECHO ?Select to Use the AUTOMAKE Menu Editor>>AUTOMENU.MDF . . Now add the actual DOS commands that will perform the desired functions . In this case, run the menu editor AUTOMAKE. . +ECHO +AUTOMAKE>>AUTOMENU.MDF . . After AUTOMAKE completes, restart AUTOMENU by typing "AUTO" . +ECHO +AUTO>>AUTOMENU.MDF +ECHO .................................................>>AUTOMENU.MDF . . For the second menu selection . +ECHO *Automenu Customization Utility>>AUTOMENU.MDF +ECHO ?Select to Use the AUTOCUST Utility>>AUTOMENU.MDF . . Run the customization program to configure AUTOMENU the way you like it! . +ECHO +AUTOCUST>>AUTOMENU.MDF . . And then restart AUTOMENU . +ECHO +AUTO>>AUTOMENU.MDF +ECHO .................................................>>AUTOMENU.MDF . +ECHO *Treeview>>AUTOMENU.MDF +ECHO ?Run MAGEE's File Management Utility>>AUTOMENU.MDF +ECHO +ECHO Place the command TV here to execute Treeview>>AUTOMENU.MDF +ECHO +ECHO If you don't have Treeview, order it today!>>AUTOMENU.MDF +ECHO +ECHO Call Magee Enterprises, Inc. at 1-800-662-4330>>AUTOMENU.MDF +ECHO +PAUSE>>AUTOMENU.MDF +ECHO +AUTO>>AUTOMENU.MDF +ECHO .>>AUTOMENU.MDF +ECHO *Basic>>AUTOMENU.MDF +ECHO ?Run BASIC directly>>AUTOMENU.MDF . . The following command will execute a SINGLE command, then return . to AUTOMENU without a pause . +ECHO -basica>>AUTOMENU.MDF +ECHO .................................................>>AUTOMENU.MDF +ECHO *DOS Command Menu>>AUTOMENU.MDF +ECHO ?This menu contains commonly used DOS commands>>AUTOMENU.MDF . . The following command will load another MDF . +ECHO @DOS.MDF>>AUTOMENU.MDF +ECHO .................................................>>AUTOMENU.MDF +ECHO *Batch Command Menu>>AUTOMENU.MDF +ECHO ?This menu contains some special commands>>AUTOMENU.MDF +ECHO @BATCH.MDF>>AUTOMENU.MDF +ECHO .................................................>>AUTOMENU.MDF +ECHO *Exit to DOS>>AUTOMENU.MDF +ECHO ?Return to Disk Operating System>>AUTOMENU.MDF +ECHO +ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿>>AUTOMENU.MDF +ECHO +ECHO ³²²±±°° Exiting to DOS °°±±²²³>>AUTOMENU.MDF +ECHO +ECHO ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´>>AUTOMENU.MDF +ECHO +ECHO ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´>>AUTOMENU.MDF +ECHO +ECHO ³ Please Enter ¯¯¯ AUTO ®®® ³>>AUTOMENU.MDF +ECHO +ECHO ³ To Return to Automenu ³>>AUTOMENU.MDF +ECHO +ECHO ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´>>AUTOMENU.MDF +ECHO +ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ>>AUTOMENU.MDF +ECHO +ECHO .>>AUTOMENU.MDF . . The above commands print a small box on-screen reminding you . that you are in DOS . Then a small "Thank You" message will be displayed (ECHOed) to the screen . +ECHO ...................................................>>AUTOMENU.MDF +ECHO .------------------------------>>AUTOMENU.MDF +ECHO .Define another sub-menu>>AUTOMENU.MDF +ECHO .------------------------------>>AUTOMENU.MDF +ECHO ................................................>>AUTOMENU.MDF . . * * * * * * * * Now for PAGE TWO * * * * * * * * * * * . +ECHO .The following line is the start of Page 2>>AUTOMENU.MDF +ECHO %%Automenu(R) ***** Example Second Menu *****>>AUTOMENU.MDF +ECHO .These are examples ONLY - Programs NOT Included>>AUTOMENU.MDF +ECHO *Chess>>AUTOMENU.MDF +ECHO ?Play the game of Chess>>AUTOMENU.MDF . . The next line will use the {=} command to execute a single DOS instruction . and then PAUSING before returning to AUTOMENU . +ECHO =ECHO No GAMES are included. Example only.>>AUTOMENU.MDF +ECHO .................................................>>AUTOMENU.MDF +ECHO *Backgammon>>AUTOMENU.MDF +ECHO =ECHO No GAMES are included. Example only.>>AUTOMENU.MDF +ECHO #End of AUTOMENU.MDF Menu Definition File>>AUTOMENU.MDF +COPY AUTOMENU.MDF+NUL:/A >NUL +ECHO Now Checking AUTOEXEC.BAT . . . . Change directories to the ROOT of the drive on which AUTOMENU is being +CD \ +IF %6==NO GOTO DONE . . If you don't want AUTOMENU to come up at boot time, go to the DONE label . +ECHO Now adjusting AUTOEXEC.BAT so that AUTOMENU will startup automatically. +IF NOT EXIST AUTOEXEC.BAT GOTO MAKE +COPY AUTOEXEC.BAT AUTOEXEC.BAK >NUL +ERASE AUTOEXEC.BAT >NUL +COPY AUTOEXEC.BAK/A AUTOEXEC.BAT/B >NUL +IF %5==NO ECHO PATH %3%4>>AUTOEXEC.BAT +ECHO AUTO>>%1\AUTOEXEC.BAT +GOTO DONE +:MAKE +ECHO Now building AUTOEXEC.BAT from start ... +ECHO ECHO OFF>%1\AUTOEXEC.BAT +ECHO CLS>>%1\AUTOEXEC.BAT +ECHO ECHO .>>%1\AUTOEXEC.BAT +ECHO DATE>>%1\AUTOEXEC.BAT +ECHO TIME>>%1\AUTOEXEC.BAT +ECHO PATH %3%4>>%1\AUTOEXEC.BAT +ECHO PROMPT $P$G>>%1\AUTOEXEC.BAT +ECHO AUTO>>%1\AUTOEXEC.BAT +:DONE +ECHO Automenu is finished installing the Automenu system files to your disk. +IF %6==NO GOTO DONE1 +ECHO Your System will now display the menu automatically if you restart your +ECHO system. Remove the Automenu Diskette and Press [CTRL]-[ALT]-[DEL]. +ECHO . +GOTO END +:DONE1 +ECHO Your Automenu system is now ready for you by entering the command "AUTO" +ECHO at the %1 prompt. +ECHO . +:END +ECHO Now, to exit from the installation procedure, just +PAUSE . . . Because we used the NON-RESIDENT {+} commands, we must issue an instruction . to re-start AUTOMENU. We do this with the " +AUTO " command . We can also specify the name of a Menu Definition File to use by . following the "AUTO" command with the name of the menu file - in this case . we want to return to the INSTALL.MDF menu. Note that the name of the file . must be completely spelled out, including the ".MDF" extension. . +auto install.mdf . . Finally, we MUST always include an option to return to DOS . This will terminate AUTOMENU and display a message on the screen . *Return to Disk Operating System ?Select to Exit INSTALL and Return to DOS +ECHO If you Installed Automenu, Remove the Disk from Drive A: +ECHO and store it in a safe place. +ECHO Press [Ctrl]-[Alt]-[Del] to restart your system with Automenu. +ECHO . +ECHO . +ECHO Type "AUTO" to Return to Automenu +ECHO . +ECHO . +ECHO . +ECHO . +ECHO . . . Installation File for Automenu . #End of INSTALL.MDF Menu Definition File