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

  1. echo off
  2. cls
  3. rem FaceLift V.1.2 Installation for Windows 2.x - Part 3
  4. rem ====================================================
  5. rem Written by Gerald Lukas - GCA mbh, D-7149 Freiberg/N. (FRG)
  6. :START
  7. cls
  8. echo Installation is in progress, please wait ...
  9. if .%X%==. goto SECONDCALL
  10. if .%Y%==. goto SECONDCALL
  11. set X=
  12. set D=%1
  13. set L=%2
  14. set G=%3
  15. set E=%4
  16. set F=%5
  17. if not exist %Y%INSTALL.EXE goto WRONGDISK
  18. %Y%INSTALL %Y%FLX.PCK      >nul
  19. %Y%INSTALL %Y%FLI.PCK      >nul
  20. %Y%INSTALL %Y%FLH2.PCK     >nul
  21. %Y%INSTALL %Y%SHELLPRT.PCK >nul
  22. %Y%INSTALL %Y%FLSYS2X.PCK  >nul
  23. %Y%INSTALL %Y%FLWEP2X.PCK  >nul
  24. %Y%INSTALL %Y%MAKESOFT.PCK >nul
  25. %Y%INSTALL %Y%SFINSTAL.PCK >nul
  26. %Y%INSTALL %Y%WHLP2X.PCK   >nul
  27. if not exist %Y%PRINTER.LST goto NODRIVER
  28. %Y%INSTALL %Y%PRINT2H.PCK >nul
  29. cd \
  30. copy %Y%PRINTER.LST .
  31. %Y%INSTALL %Y%PRINT2D.PCK >nul
  32. :NODRIVER
  33. cd \
  34. %Y%INSTALL %Y%SHELLSC2.PCK >nul
  35.  
  36. if not exist facelift.org goto ONE
  37. del facelift.org
  38. :ONE
  39. if not exist facelift.lgo goto TWO
  40. del facelift.lgo
  41. :TWO
  42. if not exist facelift.grb goto THREE
  43. del facelift.grb
  44. :THREE
  45. if not exist facelift.3ex goto FOUR
  46. del facelift.3ex
  47. :FOUR
  48. if not exist facelift.386 goto LOOP
  49. del facelift.386
  50.  
  51. :LOOP
  52. cls
  53. echo Please insert Windows Disk number %6 in drive %Y%
  54. echo 
  55. if %6==1 goto SETUPEXEDISKWANTED
  56. echo Note : If your Windows disks are not labeled with numbers, don't worry.
  57. echo        Just insert one disk after the other, but be careful to insert
  58. echo        the SETUP disk last.
  59. goto FIVE
  60. :SETUPEXEDISKWANTED
  61. echo Note : Now you MUST have inserted all Windows disks but the one labeled
  62. echo        SETUP. Insert this now.
  63. :FIVE
  64. echo.
  65. pause
  66. dir %Y% /w >nul
  67. if exist facelift.org goto SIX
  68. if not exist %Y%%D% goto SIX
  69. copy %Y%%D% facelift.org
  70. :SIX
  71. if exist facelift.lgo goto SEVEN
  72. if not exist %Y%%L% goto SEVEN
  73. copy %Y%%L% facelift.lgo
  74. :SEVEN
  75. if exist facelift.grb goto EIGHT
  76. if not exist %Y%%G% goto EIGHT
  77. copy %Y%%G% facelift.grb
  78. :EIGHT
  79. if %E%==. goto NINE
  80. if exist facelift.3ex goto NINE
  81. if not exist %Y%%E% goto NINE
  82. copy %Y%%E% facelift.3ex
  83. :NINE
  84. if %F%==. goto TEN
  85. if exist facelift.386 goto TEN
  86. if not exist %Y%%F% goto TEN
  87. copy %Y%%F% facelift.386
  88. :TEN
  89. shift
  90. if not .%6==. goto LOOP
  91. goto END
  92.  
  93. :WRONGDISK
  94. cls
  95. echo Please insert the FaceLift Install Disk in drive %Y%
  96. echo 
  97. pause
  98. goto START
  99.  
  100. :SECONDCALL
  101. copy \facelift.org %1
  102. del \facelift.*
  103. del fldriver.lst
  104. del flmenu.bat
  105.  
  106. echo.>>WIN.INI
  107. echo>>WIN.INI [BOOT]
  108. echo>>WIN.INI display.org = %1
  109. echo.>>WIN.INI
  110.  
  111. if not exist \printer.lst goto END
  112. copy win.ini+\printer.lst win.new
  113. del win.ini
  114. ren win.new win.ini
  115. del \printer.lst
  116.  
  117. :END
  118.