home *** CD-ROM | disk | FTP | other *** search
- @echo off
- set /p enter=Please insert 2nd diskette (INSTALL) and press ENTER to continue
- if not "%opt%"=="install" goto end
- set instparm=
- if "%color%"=="Mono" set instparm=%instparm% /mono
- if "%instmode%"=="Mini" set instparm=%instparm% /df %disksrc%\install\INSTALL.MIN
- if "%instmode%"=="Full" set instparm=%instparm% /df %disksrc%\install\INSTALL.DAT
- set instparm=%instparm% /src %disksrc%\FREEDOS\PACKAGES
- CDD %disksrc%\install\
- if exist c:\fdconfig.sys ren c:\fdconfig.sys fdconfig.old
- if exist c:\fdauto.bat ren c:\fdauto.bat fdauto.old
- for %%x in ( Mono ) do if "%color%"=="%%x" goto setuptxt
- for %%x in ( 8086 80186 80286 ) do if "%cputype%"=="%%x" goto setuptxt
- if exist a:\driver\ctmouse.exe a:\driver\ctmouse.exe
- goto setupGUI
-
- :setupGUI
- if exist %disksrc%\install\cwsdpmi.exe %disksrc%\install\cwsdpmi.exe -p -sa:\fdosswap.tmp
- %disksrc%\install\install.exe %instparm% /overwrite
- goto end
-
- :setupTXT
- %disksrc%\install\textinst.exe %instparm%
- goto end
-
- :end
-
-