home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 July
/
CMCD0704.ISO
/
Software
/
Complet
/
FreeDOS
/
fdbootcd.iso
/
FREEDOS
/
SETUP
/
LANGUAGE
/
EN
/
INSTMSG.BAT
< prev
Wrap
DOS Batch File
|
2003-07-14
|
6KB
|
178 lines
@echo off
ctty con
if not [%1]==[] goto %1
if not [%1]==[] echo Sorry, the message you should see now could not be displayed.
if [%1]==[] echo This file should be called with an argument (label where to jump to)
goto end
rem Keep for Dutch translation, I first want to work on English message-file
rem if not [%1]==[] echo Sorry, het bericht dat u nu zou moeten zien kon niet worden weergegeven.
rem if [%1]==[] echo Dit bestand dient met een parameter te worden aangeroepen (labelnaam)
rem Here start the messages you want to display, each should end with GOTO END on last line
rem of the message. Message-label has a maximum of 8 characters!
:pickLANG
type %cdrom%\freedos\install\docs\instlang.txt
goto end
:showmenu
cls
if not [%header%]==[] %header%
ECHO
ECHO 1) FreeDOS Ripcord Beta9 Installation
ECHO 2) Run FreeDOS from CD-ROM (return to command prompt)
ECHO 3) Create FreeDOS boot floppy (1.44MB)
ECHO
if [%pqpart%]==[true] ECHO 4) Partition harddisk(s) using PartitionMagic
if [%pqbackup%]==[true] ECHO 5) Backup or Restore harddisk(s)/partition(s) using Drive Image
ECHO
if [%oemcmd%]==[true] ECHO o) OEM tools
if not [%VM%]==[TRUE] ECHO x) Install XOSL boot manager (486+, 4MB+, VESA+)
ECHO
ECHO v) View the Install text for using this CD-ROM
ECHO (Press ESC key to exit the viewer)
ECHO
ECHO r) Reboot
ECHO
goto end
:runoem
ECHO Run OEM tools from here.
ECHO There are presently none bundled with this Distribution.
ECHO Feel free to add your own! See %cdrom%\FREEDOS\AUTORUN\AUTORUN.BAT
ECHO and A:\CONFIG\CFG.BAT
pause Press a key to return to FreeDOS menu
goto end
:runxosl
ECHO WARNING! XOSL recommends you run it from a FLOPPY so you can
ECHO backup existing partition information during install!
ECHO Would you like to continue XOSL installation?
goto end
:setHeadr
SET line1=FreeDOS Installation FreeDOS Ripcord Beta 9 [Methusalem] Distribution
SET HEADER=for %%x in ( %line1% ) do echo %%x
goto end
:KeybEnd
if [%KEY%]==[FALSE] ECHO XKeyB not loaded.
rem set KEY=
PAUSE
goto end
:STDPRMTS
ECHO If you have not already created a DOS partition then you should
ECHO run FDISK now, otherwise you may omit this step.
ECHO Follow the on-screen prompts to create a new primary partition
ECHO and mark it as active. After running FDISK you will need to reboot.
ECHO Just boot off the install boot floppy again, & select no this prompt.
ECHO.
goto end
:POSTFDSK
ECHO If you just created a new partition for FreeDOS then you must FORMAT
ECHO it now. You may also format the partition if you wish to wipe it clean.
ECHO WARNING: All data on your C: drive will be lost, so only select YES
ECHO if you are sure. (You must also type 'Y' at Format's prompt).
ECHO.
goto end
:MAKEBOOT
ECHO You now need to make the drive bootable (that is copy the KERNEL and
ECHO COMMAND to it along with setting up the boot record).
ECHO.
goto end
:DO_INST
ECHO %DISTRO% installation selected.
ECHO.
REM ECHO For the source you may specify \ (or full path, e.g. A:\)
ECHO For the source you may specify %cdrom%\FREEDOS\INSTALL\DISKSETS
ECHO You will also be prompted where to install FreeDOS,
ECHO most people will choose C:\FDOS (or C:\DOS).
ECHO.
pause
goto end
:DO_INST2
ECHO.
ECHO Your hard drive should be ready to boot FreeDOS,
ECHO (optional:) please copy the sample CONFIG.SYS & AUTOEXEC.BAT
ECHO to C:\ & edit as needed, and then reboot.
goto end
:makebf
echo Creating generic CD boot disk.
echo Please insert a floppy into floppy drive.
echo When asked for a target (drive to write to), please specify
echo If you are booting from the CD use B: for your 1st floppy drive
echo otherwise use normal drive letters (i.e. A: for 1st floppy drive)
goto end
:makebf2
echo.
goto end
:the_end
echo Following things have just been done during postconfiguration:
echo.
echo * Set up alternate Config.sys file
echo * Set up alternate Autoexec.bat file
echo * Transfer FREEDOS core files, so your harddisk is almost bootable.
echo * Translate command.com into the language you used during installation.
echo * Translate mouse driver (CTMOUSE.EXE) into language used during install
echo * loading of some drivers and boot-settings.
echo * Save bootsector in C:\FDBTSECT.BIN for easy adding to a bootmanager
echo - for NT,2000 or XP's c:\boot.ini file, append the following line:
echo - C:\FDBTSECT.BIN="FreeDOS beta 9"
echo.
echo !!! Please type BOOT if you want to make your harddisk bootable, !!!
echo !!! else reboot the system now. !!!
goto end
:makesys
echo Your system is now bootable. We recommend to reboot the system
goto end
:makehelp
echo BOOT
echo.
echo Writes bootsectorcode to harddisk. This enables FreeDOS to startup
echo If you have any other operating system(s) installed on this computer,
echo please use the bootmanager that was provided with it to add FreeDOS.
echo.
echo Warning: BOOT can make non-DOS operating systems unbootable.
goto end
:showbeta
PAUSE
goto end
:ABORTINST
ECHO Install Aborted!
GOTO FINI
:FINI
ECHO Type MENU to return to the menu :)
ECHO.
goto end
:showb2
ECHO Installation complete.
goto end
:seal2
Pause press a key to start manual Seal Desktop install
goto end
:mono_msg
choice /N /C:YN"Enable monochrome (/MONO) mode [YN]?"
goto end
:fullmini
choice /C:FM "Do you wish to do a [F]ULL or [M]INI install"
goto end
:end
rem return to calling batchfile...