home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / CMCD0704.ISO / Software / Complet / FreeDOS / fdbootcd.iso / FREEDOS / SETUP / LANGUAGE / EN / INSTMSG.BAT < prev   
DOS Batch File  |  2003-07-14  |  6KB  |  178 lines

  1. @echo off
  2. ctty con
  3. if not [%1]==[] goto %1
  4. if not [%1]==[] echo Sorry, the message you should see now could not be displayed.
  5. if [%1]==[]     echo This file should be called with an argument (label where to jump to)
  6. goto end
  7.  
  8. rem Keep for Dutch translation, I first want to work on English message-file
  9. rem if not [%1]==[] echo Sorry, het bericht dat u nu zou moeten zien kon niet worden weergegeven.
  10. rem if [%1]==[]     echo Dit bestand dient met een parameter te worden aangeroepen (labelnaam)
  11. rem Here start the messages you want to display, each should end with GOTO END on last line
  12. rem of the message. Message-label has a maximum of 8 characters!
  13.  
  14. :pickLANG
  15. type %cdrom%\freedos\install\docs\instlang.txt
  16. goto end
  17.  
  18. :showmenu
  19. cls
  20. if not [%header%]==[] %header%
  21. ECHO  
  22. ECHO         1)   FreeDOS Ripcord Beta9 Installation
  23. ECHO         2)   Run FreeDOS from CD-ROM (return to command prompt)
  24. ECHO         3)   Create FreeDOS boot floppy (1.44MB)
  25. ECHO   
  26. if [%pqpart%]==[true]   ECHO         4)   Partition harddisk(s) using PartitionMagic
  27. if [%pqbackup%]==[true] ECHO         5)   Backup or Restore harddisk(s)/partition(s) using Drive Image
  28. ECHO   
  29. if [%oemcmd%]==[true]   ECHO         o)   OEM tools
  30. if not [%VM%]==[TRUE]   ECHO         x)   Install XOSL boot manager (486+, 4MB+, VESA+)
  31. ECHO   
  32. ECHO         v)   View the Install text for using this CD-ROM
  33. ECHO              (Press ESC key to exit the viewer)
  34. ECHO   
  35. ECHO         r)   Reboot
  36. ECHO  
  37. goto end
  38.  
  39. :runoem
  40. ECHO Run OEM tools from here.
  41. ECHO There are presently none bundled with this Distribution.  
  42. ECHO Feel free to add your own!  See %cdrom%\FREEDOS\AUTORUN\AUTORUN.BAT
  43. ECHO and A:\CONFIG\CFG.BAT
  44. pause Press a key to return to FreeDOS menu
  45. goto end
  46.  
  47. :runxosl
  48. ECHO WARNING! XOSL recommends you run it from a FLOPPY so you can
  49. ECHO backup existing partition information during install!
  50. ECHO Would you like to continue XOSL installation?
  51. goto end
  52.  
  53. :setHeadr
  54. SET line1=FreeDOS Installation FreeDOS Ripcord Beta 9 [Methusalem] Distribution  
  55. SET HEADER=for %%x in ( %line1% ) do echo %%x
  56. goto end
  57.  
  58. :KeybEnd
  59. if [%KEY%]==[FALSE] ECHO XKeyB not loaded.
  60. rem set KEY=
  61. PAUSE
  62. goto end
  63.  
  64. :STDPRMTS
  65. ECHO If you have not already created a DOS partition then you should
  66. ECHO run FDISK now, otherwise you may omit this step.  
  67. ECHO    Follow the on-screen prompts to create a new primary partition
  68. ECHO    and mark it as active.  After running FDISK you will need to reboot.
  69. ECHO    Just boot off the install boot floppy again, & select no this prompt.
  70. ECHO.
  71. goto end
  72.  
  73. :POSTFDSK
  74. ECHO If you just created a new partition for FreeDOS then you must FORMAT
  75. ECHO it now.  You may also format the partition if you wish to wipe it clean.
  76. ECHO WARNING: All data on your C: drive will be lost, so only select YES
  77. ECHO          if you are sure. (You must also type 'Y' at Format's prompt).
  78. ECHO.
  79. goto end
  80.  
  81. :MAKEBOOT
  82. ECHO You now need to make the drive bootable (that is copy the KERNEL and
  83. ECHO COMMAND to it along with setting up the boot record).
  84. ECHO.
  85. goto end
  86.  
  87. :DO_INST
  88. ECHO %DISTRO% installation selected.
  89. ECHO.
  90. REM ECHO For the source you may specify \ (or full path, e.g. A:\)
  91. ECHO For the source you may specify %cdrom%\FREEDOS\INSTALL\DISKSETS
  92. ECHO You will also be prompted where to install FreeDOS,
  93. ECHO most people will choose C:\FDOS (or C:\DOS).
  94. ECHO.
  95. pause
  96. goto end
  97.  
  98. :DO_INST2
  99. ECHO.
  100. ECHO Your hard drive should be ready to boot FreeDOS,
  101. ECHO (optional:) please copy the sample CONFIG.SYS & AUTOEXEC.BAT
  102. ECHO to C:\ & edit as needed, and then reboot.
  103. goto end
  104.  
  105. :makebf
  106. echo Creating generic CD boot disk.
  107. echo Please insert a floppy into floppy drive.
  108. echo When asked for a target (drive to write to), please specify
  109. echo    If you are booting from the CD use B: for your 1st floppy drive
  110. echo    otherwise use normal drive letters (i.e. A: for 1st floppy drive)
  111. goto end
  112.  
  113. :makebf2
  114. echo.
  115. goto end
  116.  
  117. :the_end
  118. echo Following things have just been done during postconfiguration:
  119. echo.
  120. echo * Set up alternate Config.sys file
  121. echo * Set up alternate Autoexec.bat file
  122. echo * Transfer FREEDOS core files, so your harddisk is almost bootable.
  123. echo * Translate command.com into the language you used during installation.
  124. echo * Translate mouse driver (CTMOUSE.EXE) into language used during install
  125. echo * loading of some drivers and boot-settings.
  126. echo * Save bootsector in C:\FDBTSECT.BIN for easy adding to a bootmanager 
  127. echo   - for NT,2000 or XP's c:\boot.ini file, append the following line:
  128. echo   -    C:\FDBTSECT.BIN="FreeDOS beta 9"
  129. echo.
  130. echo !!! Please type BOOT if you want to make your harddisk bootable, !!!
  131. echo !!! else reboot the system now.                                  !!!
  132. goto end
  133.  
  134. :makesys
  135. echo Your system is now bootable. We recommend to reboot the system
  136. goto end
  137.  
  138. :makehelp
  139. echo BOOT
  140. echo.
  141. echo Writes bootsectorcode to harddisk. This enables FreeDOS to startup
  142. echo If you have any other operating system(s) installed on this computer, 
  143. echo please use the bootmanager that was provided with it to add FreeDOS.
  144. echo.
  145. echo Warning: BOOT can make non-DOS operating systems unbootable.
  146. goto end
  147.  
  148. :showbeta
  149. PAUSE
  150. goto end
  151.  
  152. :ABORTINST
  153. ECHO Install Aborted!
  154. GOTO FINI
  155. :FINI
  156. ECHO Type MENU to return to the menu :)
  157. ECHO.
  158. goto end
  159.  
  160. :showb2
  161. ECHO Installation complete.
  162. goto end
  163.  
  164. :seal2
  165. Pause press a key to start manual Seal Desktop install
  166. goto end
  167.  
  168. :mono_msg
  169. choice /N /C:YN"Enable monochrome (/MONO) mode [YN]?"
  170. goto end
  171.  
  172. :fullmini
  173. choice /C:FM "Do you wish to do a [F]ULL or [M]INI install"
  174. goto end
  175.  
  176. :end
  177. rem return to calling batchfile...
  178.