home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / FACLFT01.ZIP / FLMENU.BAT < prev    next >
Encoding:
DOS Batch File  |  1990-08-13  |  5.7 KB  |  193 lines

  1. echo off
  2. cls
  3. echo FaceLift V.1.0 Installation for Windows 2.xx
  4. echo --------------------------------------------
  5. rem Written by Gerald Lukas - GCA mbh, D-7149 Freiberg/N. (FRG)
  6. echo.
  7. echo Welcome to the FaceLift installation program.
  8. echo.
  9. echo The installation program installs FaceLift and Windows 2.x together
  10. echo in the current directory of your hard disk.
  11. echo The current directory should be a new, empty directory.
  12. echo.
  13. echo If you need more information
  14. echo.
  15. echo    1. Press CTRL+BREAK to exit this program.
  16. echo    2. Print the INSTALL.TXT file from the FaceLift disk.
  17. echo    3. When you are ready, start the FaceLift installation program again.
  18. echo.
  19. echo.
  20. echo The new FaceLift-modified version of Windows will be installed in
  21. echo.
  22. cd
  23. echo.
  24. echo Press any key to continue. Or press CTRL+BREAK to exit the program.
  25. pause
  26.  
  27. :START
  28. cls
  29. echo Installation is in progress, please wait ...
  30. set       x=***********************************
  31. if not %x%==*********************************** goto NOMEMORY
  32. set x=
  33. set x=FIND.COM or FIND.EXE
  34. if not exist FLCHECK.BAT goto ONE
  35. del flcheck.bat >nul
  36. :ONE
  37. echo>flcheck.tmp
  38. find "echo" <flcheck.tmp >flcheck.bat
  39. if not exist flcheck.bat goto MSDOS_ERROR
  40.  
  41. set x=MORE.COM or MORE.EXE
  42. del flcheck.bat >nul
  43. more <flcheck.tmp >flcheck.bat
  44. if not exist flcheck.bat goto MSDOS_ERROR
  45.  
  46. set x=COMMAND.COM
  47. echo>flcheck.tmp
  48. echo>flcheck.bat del flcheck.tmp
  49. command /c flcheck
  50. cls
  51. echo Installation is in progress, please wait ...
  52. if exist flcheck.tmp goto MSDOS_ERROR
  53. del flcheck.bat >nul
  54.  
  55. if exist FLDRIVER.LST goto TWO
  56. if .%1==. goto NODISKDRIVE
  57. if not exist %1INSTALL.EXE goto WRONGDISK
  58. if not exist %1FLDRIVER.PCK goto WRONGDISK
  59. %1INSTALL %1FLDRIVER.PCK >nul
  60.  
  61. :TWO
  62. if exist FLCOPY.BAT goto THREE
  63. if .%1==. goto NODISKDRIVE
  64. if not exist %1INSTALL.EXE goto WRONGDISK
  65. if not exist %1FLCOPY.PCK goto WRONGDISK
  66. %1INSTALL %1FLCOPY.PCK >nul
  67.  
  68. :THREE
  69. if exist FL.BAT goto FOUR
  70. if .%1==. goto NODISKDRIVE
  71. if not exist %1INSTALL.EXE goto WRONGDISK
  72. if not exist %1FLINST.PCK goto WRONGDISK
  73. %1INSTALL %1FLINST.PCK >nul
  74.  
  75. :FOUR
  76. cls
  77. echo FaceLift V.1.0 Installation for Windows 2.x
  78. echo --------------------------------------------
  79. echo.
  80. echo Next, the installation program will show you a list of Windows 2.x
  81. echo display drivers. Entries, or group of entries, in the list are
  82. echo followed by an arrow and a number. For example,
  83. echo.
  84. echo --------------------------------------------------------
  85. echo Hercules Adapter with High-Resolution Monochrome Display --) 2
  86. echo --------------------------------------------------------
  87. echo.
  88. echo MAKE A NOTE OF THE NUMBER of the driver you want to select.
  89. echo Don't try to enter this number right away. Just remember it.
  90. echo.
  91. echo (If your driver is not in the list, press CTRL+BREAK. Then modify
  92. echo the file FLDRIVER.LST, which contains the driver list. Open
  93. echo FLDRIVER.LST with any text editor, and read the instructions)
  94. echo.
  95. pause
  96. cls
  97. find "--" <fldriver.lst |more
  98. pause
  99. cls
  100. echo FaceLift V.1.0 Installation for Windows 2.x
  101. echo --------------------------------------------
  102. echo.
  103. echo At the DOS prompt enter the following FaceLift command :
  104. echo.
  105. echo FL x: y z [Enter]
  106. echo       where x: is your diskette drive
  107. echo             y  is the number of Windows 2.x Setup disks you have.
  108. echo                  (If you use a driver supplied by the manufacturer
  109. echo                   of your display, "y" must equal the number of Windows
  110. echo                   disks PLUS the one manufacturer supplied driver disk)
  111. echo             z  is the number you noted for your Windows display driver.
  112. echo.
  113. echo FOR EXAMPLE, if you use drive A:, have 4 Windows 2.x disks, and
  114. echo use the Windows driver for a Hercules monochrome high resolution
  115. echo graphics adapter, type
  116. echo.
  117. echo    FL A: 4 2 [Enter]
  118. echo.
  119. echo (To see the display driver menu again, type : FLMENU [Enter])
  120. echo.
  121. goto END
  122.  
  123.  
  124.  
  125.  
  126. :MSDOS_ERROR
  127. cls
  128. echo FaceLift V.1.0 Installation Error :
  129. echo -----------------------------------
  130. echo.
  131. echo %x% is not present!
  132. echo.
  133. echo This file is part of MSDOS and must be available for installation
  134. echo of FaceLift. It must be in the search path.
  135. echo Please make it available and start installation again!
  136. echo.
  137. goto END
  138.  
  139. :NODISKDRIVE
  140. cls
  141. echo FaceLift V.1.0 Installation Error :
  142. echo -----------------------------------
  143. echo.
  144. echo When calling FLMENU the first time, you have to enter the disk drive
  145. echo containing the FaceLift Installation Disk as a parameter.
  146. echo.
  147. echo For example:
  148. echo.
  149. echo        FLMENU A:
  150. echo.
  151. echo Please restart !
  152. echo.
  153. goto END
  154.  
  155. :WRONGDISK
  156. cls
  157. echo FaceLift V.1.0 Installation Error :
  158. echo -----------------------------------
  159. echo.
  160. echo Diskdrive %1 should contain the FaceLift Installation Disk.
  161. echo.
  162. echo Please insert this disk and start again!
  163. echo.
  164. goto END
  165.  
  166. :NOMEMORY
  167. cls
  168. echo FaceLift V.1.0 Installation Error :
  169. echo -----------------------------------
  170. echo.
  171. echo There is not enough memory available to run the FaceLift installation
  172. echo program. To make additional memory available on your system
  173. echo.
  174. echo 1. Backup your CONFIG.SYS file
  175. echo 2. Add the followig line to the CONFIG.SYS file
  176. echo    SHELL=C:\COMMAND.COM C:\ /P /E:2048
  177. echo 3. Reboot your computer and start FaceLift installation again.
  178. echo.
  179. echo If there is still not enough memory,
  180. echo.
  181. echo 1. Backup your AUTOEXEC.BAT file.
  182. echo 2. Edit AUTOEXEC.BAT and remove any SET commands (or "turn them off"
  183. echo    by inserting the characters REM (followed by a space) before the
  184. echo    SET commands). Reduce the number of directories that appear after
  185. echo    PATH=
  186. echo 3. Reboot your computer and start FaceLift installation again.
  187. echo.
  188.  
  189. :END
  190.  
  191.  
  192.  
  193.