home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if not exist \wireplay\install.bat goto wrongdrv
- cd \
- cd > c:\wptemp.bat
- echo cd \wireplay\install >> c:\wptemp.bat
- cd \wireplay\install
- showtext copyrite.txt %1
- :menu
- call c:\wptemp.bat
- mode CO80
- cls
- menu MAINMENU.DAT %1
- if errorlevel 100 goto fatal
- if errorlevel 27 goto stop
- if errorlevel 9 goto 9
- if errorlevel 8 goto 8
- if errorlevel 7 goto 7
- if errorlevel 6 goto 6
- if errorlevel 5 goto 5
- if errorlevel 4 goto 4
- if errorlevel 3 goto 3
- if errorlevel 2 goto 2
- if errorlevel 1 goto 1
- cls
- goto stop
- :1
- REM install Wireplay
- write wireplay.dat %1
- showtext final.txt
- goto menu
- :2
- Rem install IPX game drivers
- call IPXMENU.BAT %1
- goto menu
- :3
- REM install EF2000
- showtext ef619.txt
- cd \wireplay\ef2000
- install
- call c:\wptemp.bat
- if exist c:\efwplay\efwplay.bat copy \wireplay\ef2000\did1st.dat c:\efwplay\did1st.dat
- if exist d:\efwplay\efwplay.bat copy \wireplay\ef2000\did1st.dat d:\efwplay\did1st.dat
- goto menu
- :4
- REM install EF2000 multimedia
- REM only worth doing for Windows
- inwin
- if errorlevel 2 goto dosetup
- showtext needwin.txt %1
- goto menu
- :dosetup
- showtext efmedia.txt %1
- cd \wireplay\ef2000
- setup
- call c:\wptemp.bat
- goto menu
- :5
- REM Wireplay FAQ text file
- edit faq.txt
- goto menu
- :6
- REM go back to DOS
- showtext final.txt %1
- pause
- goto stop
- :wrongdrv
- echo The Wireplay Installer must be run from the root directory of
- echo your CD drive. Change drive to D: (assuming D: is your CD-ROM)
- echo and try again.
- pause
- goto stop
- :fatal
- echo Fatal error in Menu program
- :stop
- del c:\wptemp.bat
-