home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 18 / 18.iso / w / w364 / 6.img / FLINST.PCK / FL.BAT
Encoding:
DOS Batch File  |  1991-01-29  |  5.1 KB  |  169 lines

  1. echo off
  2. cls
  3. rem FaceLift V.1.2 Installation for Windows 2.xx - Part 2
  4. rem =====================================================
  5. rem Written by Gerald Lukas - GCA mbh, D-7149 Freiberg/N. (FRG)
  6. if .%2==. goto NOPARMS
  7. if not .%4==. goto NOPARMS
  8. set    x=15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
  9. if .%2==.15 goto DISKNUMBERSET
  10. set    x=14 13 12 11 10 9 8 7 6 5 4 3 2 1
  11. if .%2==.14 goto DISKNUMBERSET
  12. set    x=13 12 11 10 9 8 7 6 5 4 3 2 1
  13. if .%2==.13 goto DISKNUMBERSET
  14. set    x=12 11 10 9 8 7 6 5 4 3 2 1
  15. if .%2==.12 goto DISKNUMBERSET
  16. set    x=11 10 9 8 7 6 5 4 3 2 1
  17. if .%2==.11 goto DISKNUMBERSET
  18. set    x=10 9 8 7 6 5 4 3 2 1
  19. if .%2==.10 goto DISKNUMBERSET
  20. set    x=9 8 7 6 5 4 3 2 1
  21. if .%2==.9 goto DISKNUMBERSET
  22. set    x=8 7 6 5 4 3 2 1
  23. if .%2==.8 goto DISKNUMBERSET
  24. set    x=7 6 5 4 3 2 1
  25. if .%2==.7 goto DISKNUMBERSET
  26. set    x=6 5 4 3 2 1
  27. if .%2==.6 goto DISKNUMBERSET
  28. set    x=5 4 3 2 1
  29. if .%2==.5 goto DISKNUMBERSET
  30. set    x=4 3 2 1
  31. if .%2==.4 goto DISKNUMBERSET
  32. set    x=3 2 1
  33. if .%2==.3 goto DISKNUMBERSET
  34. set    x=2 1
  35. if .%2==.2 goto DISKNUMBERSET
  36. set    x=1
  37. if .%2==.1 goto DISKNUMBERSET
  38. echo FaceLift Installation Error:
  39. echo ----------------------------
  40. echo.
  41. echo The number of disks you want to use must be between 1 and 15.
  42. echo Please start this program again and enter a valid number!
  43. echo.
  44. echo If you don't know how to do this enter "FLMENU" !
  45. goto END
  46.  
  47. :NOPARMS
  48. echo FaceLift V.1.2 Installation Error :
  49. echo -----------------------------------
  50. echo.
  51. echo You have not entered three parameters.
  52. echo Please start this program again and enter all parameters!
  53. echo.
  54. echo If you don't know how to do this enter "FLMENU" !
  55. goto END
  56.  
  57. :DISKNUMBERSET
  58. echo FaceLift V.1.2 Installation for Windows 2.x
  59. echo -------------------------------------------
  60. echo.
  61. echo You decided to install Windows with display driver number %3.
  62. echo The %2 disks you want to use will be inserted in drive %1 and
  63. echo Windows will be installed in the currently selected directory,
  64. echo which is
  65. echo.
  66. cd
  67. echo.
  68. echo If this is not what you want to do, please press Ctrl + Break!
  69. echo.
  70. echo Any other key will start the installation.
  71. echo.
  72. pause
  73.  
  74. set Y=%1
  75. find "(%3)" <fldriver.lst >flcheck.bat
  76. copy flcopy.bat (%3).bat
  77. command /e:1228 /c flcheck
  78.  
  79. if exist %1SETUP.EXE goto WINDISKOK
  80. if exist %1SETUP.INF goto WINDISKOK
  81. cls
  82. echo FaceLift Installation Error:
  83. echo ----------------------------
  84. echo.
  85. echo Maybe you selected a display driver which does not exist, or you
  86. echo forgot the ":" after the disk drive, or something else went wrong.
  87. echo In either case the installation is aborted without installing
  88. echo FaceLift. Please try it again.
  89. goto END
  90.  
  91. :WINDISKOK
  92. cls
  93. echo FaceLift V.1.2 Installation for Windows 2.xx
  94. echo --------------------------------------------
  95. echo.
  96. echo Now FaceLift installs Windows 2.xx. During the procedure it
  97. echo installs a modified version of the display driver you selected
  98. echo in the previous list. The modified display driver is called
  99. echo         "WIN2 Screen Driver Interface V 1.2".
  100. echo.
  101. echo As you continue, answer the Windows Setup prompts carefully :
  102. echo.
  103. echo 1. Choose your current directory as the Windows directory.
  104. echo 2. If SETUP prompts you, choose the option to change the display driver,
  105. echo    even if the driver appears to be correct.
  106. echo 3. Choose "Other.." from the end of the list of available drivers.
  107. echo 4. When SETUP prompts you for the drive where the new driver is stored,
  108. echo    type in the drive letter of your hard disk (For example, C:).
  109. echo 5. Choose the display driver "WIN2 Screen Driver Interface V 1.2"
  110. if not exist \printer.lst goto NOPRINTER
  111. echo 6. The same procedure (as described in 3 .. 5) is to be done for
  112. echo    installing the direct printer driver.
  113. :NOPRINTER
  114. echo.
  115. echo Answer all other Windows Setup prompts as you would for a normal setup.
  116. echo If you press any key, SETUP will be started.
  117. pause
  118. cls
  119. echo Installation is in progress, please wait ...
  120. %1
  121. setup
  122.  
  123. if not exist FL.BAT goto WINSETUPABORTED
  124. cls
  125. echo Installation is in progress, please wait ...
  126. set X=
  127. set Y=
  128. command /e:1228 /c flcheck
  129. del (%3).bat
  130. del flcopy.bat
  131. del flcheck.bat
  132. cls
  133. echo FaceLift V.1.2 Installation for Windows 2.x
  134. echo -------------------------------------------
  135. echo.
  136. echo Next, Windows will be started, and the Bitstream Typefaces will be
  137. echo added. Please follow the dialogs on your screen.
  138. echo.
  139. echo After you finish installing FaceLift and Windows,
  140. echo use the Windows Control Panel (CONTROL.EXE) to remove three of
  141. echo the Windows standard fonts:
  142. echo.
  143. echo        - Roman
  144. echo        - Script
  145. echo        - Modern
  146. echo.
  147. echo (Select "Delete Fonts..." from the Installation pull-down menu in
  148. echo  the Windows Control Panel to remove the fonts.)
  149. echo.
  150. echo Exit and restart Windows so that the change can take effect.
  151. echo.
  152. pause
  153. if not exist WIN.COM goto WIN386
  154. win FACELIFT 
  155. goto END
  156. :WIN386
  157. win86 FACELIFT 
  158. goto END
  159.  
  160. :WINSETUPABORTED
  161. cls
  162. echo The installation process has terminated.
  163. echo.
  164. echo Microsoft Windows and FaceLift are not installed.
  165. echo.
  166. pause
  167.  
  168. :END
  169.