home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- rem FaceLift V.1.2 Installation for Windows 2.x - Part 3
- rem ====================================================
- rem Written by Gerald Lukas - GCA mbh, D-7149 Freiberg/N. (FRG)
- :START
- cls
- echo Installation is in progress, please wait ...
- if .%X%==. goto SECONDCALL
- if .%Y%==. goto SECONDCALL
- set X=
- set D=%1
- set L=%2
- set G=%3
- set E=%4
- set F=%5
- if not exist %Y%INSTALL.EXE goto WRONGDISK
- %Y%INSTALL %Y%FLX.PCK >nul
- %Y%INSTALL %Y%FLI.PCK >nul
- %Y%INSTALL %Y%FLH2.PCK >nul
- %Y%INSTALL %Y%SHELLPRT.PCK >nul
- %Y%INSTALL %Y%FLSYS2X.PCK >nul
- %Y%INSTALL %Y%FLWEP2X.PCK >nul
- %Y%INSTALL %Y%MAKESOFT.PCK >nul
- %Y%INSTALL %Y%SFINSTAL.PCK >nul
- %Y%INSTALL %Y%WHLP2X.PCK >nul
- if not exist %Y%PRINTER.LST goto NODRIVER
- %Y%INSTALL %Y%PRINT2H.PCK >nul
- cd \
- copy %Y%PRINTER.LST .
- %Y%INSTALL %Y%PRINT2D.PCK >nul
- :NODRIVER
- cd \
- %Y%INSTALL %Y%SHELLSC2.PCK >nul
-
- if not exist facelift.org goto ONE
- del facelift.org
- :ONE
- if not exist facelift.lgo goto TWO
- del facelift.lgo
- :TWO
- if not exist facelift.grb goto THREE
- del facelift.grb
- :THREE
- if not exist facelift.3ex goto FOUR
- del facelift.3ex
- :FOUR
- if not exist facelift.386 goto LOOP
- del facelift.386
-
- :LOOP
- cls
- echo Please insert Windows Disk number %6 in drive %Y%
- echo
- if %6==1 goto SETUPEXEDISKWANTED
- echo Note : If your Windows disks are not labeled with numbers, don't worry.
- echo Just insert one disk after the other, but be careful to insert
- echo the SETUP disk last.
- goto FIVE
- :SETUPEXEDISKWANTED
- echo Note : Now you MUST have inserted all Windows disks but the one labeled
- echo SETUP. Insert this now.
- :FIVE
- echo.
- pause
- dir %Y% /w >nul
- if exist facelift.org goto SIX
- if not exist %Y%%D% goto SIX
- copy %Y%%D% facelift.org
- :SIX
- if exist facelift.lgo goto SEVEN
- if not exist %Y%%L% goto SEVEN
- copy %Y%%L% facelift.lgo
- :SEVEN
- if exist facelift.grb goto EIGHT
- if not exist %Y%%G% goto EIGHT
- copy %Y%%G% facelift.grb
- :EIGHT
- if %E%==. goto NINE
- if exist facelift.3ex goto NINE
- if not exist %Y%%E% goto NINE
- copy %Y%%E% facelift.3ex
- :NINE
- if %F%==. goto TEN
- if exist facelift.386 goto TEN
- if not exist %Y%%F% goto TEN
- copy %Y%%F% facelift.386
- :TEN
- shift
- if not .%6==. goto LOOP
- goto END
-
- :WRONGDISK
- cls
- echo Please insert the FaceLift Install Disk in drive %Y%
- echo
- pause
- goto START
-
- :SECONDCALL
- copy \facelift.org %1
- del \facelift.*
- del fldriver.lst
- del flmenu.bat
-
- echo.>>WIN.INI
- echo>>WIN.INI [BOOT]
- echo>>WIN.INI display.org = %1
- echo.>>WIN.INI
-
- if not exist \printer.lst goto END
- copy win.ini+\printer.lst win.new
- del win.ini
- ren win.new win.ini
- del \printer.lst
-
- :END