[LT2013]
[reactos.git] / make_hybridcd.cmd
index 00e850b..6195d64 100644 (file)
 ::   - the user already built Boot-CDs and Live-CDs\r
 ::   - put his extra stuff into "hybridcd_extras"\r
 ::   - added a copy of mkisofs\r
-if exist "output-i386\bootcd\." (\r
-    if exist "output-i386\livecd\." (\r
+if exist "boot\bootcd\." (\r
+    if exist "boot\livecd\." (\r
         if exist "hybridcd_extras\." (\r
-            if exist "mkisofs.exe" (\r
-                goto NEXT\r
+            if exist "hybridcd_freeldr.ini" (\r
+                if exist "mkisofs.exe" (\r
+                    goto NEXT\r
+                )\r
             )\r
         )\r
     )\r
 )\r
 \r
-echo Please build regular Boot-CDs and Live-CDs first!\r
-echo Also create a directory "hybridcd_extras" and put everything else\r
-echo for the CD root into this directory.\r
+echo Please make sure to copy this file (make_hybridcd.cmd) and\r
+echo hybridcd_freeldr.ini to the "reactos" subfolder in your build directory.\r
+echo You should run make_hybridcd from there.\r
 echo.\r
-echo You also need to put a version of "mkisofs.exe" into this\r
+echo Also build regular Boot-CDs and Live-CDs first, and create a directory\r
+echo "hybridcd_extras" (inside the reactos folder). Put everything else\r
+echo that should go in the CD root into that directory.\r
+echo.\r
+echo You also need to put a version of "mkisofs.exe" into the reactos\r
 echo directory. Get one from e.g. "PE Builder" at http://nu2.nu/.\r
 echo Our cdmake doesn't support creating an ISO9660:1999 filesystem, which is\r
 echo important for a universally usable disc.\r
@@ -37,9 +43,9 @@ mkdir "hybridcd"
 mkdir "hybridcd\live"\r
 mkdir "hybridcd\Profiles"\r
 \r
-xcopy /e "output-i386\bootcd" "hybridcd"\r
-xcopy /e "output-i386\livecd\reactos" "hybridcd\live"\r
-xcopy /e "output-i386\livecd\Profiles" "hybridcd\Profiles"\r
+xcopy /e "boot\bootcd" "hybridcd"\r
+xcopy /e "boot\livecd\reactos" "hybridcd\live"\r
+xcopy /e "boot\livecd\Profiles" "hybridcd\Profiles"\r
 \r
 :: Copy our modified "freeldr.ini"\r
 copy /y "hybridcd_freeldr.ini" "hybridcd\freeldr.ini"\r
@@ -48,4 +54,4 @@ copy /y "hybridcd_freeldr.ini" "hybridcd\freeldr.ini"
 xcopy /e "hybridcd_extras" "hybridcd"\r
 \r
 :: Create the ISO\r
-mkisofs -iso-level 4 -volid "ReactOS-HybridCD" -b "loader/isoboot.bin" -no-emul-boot -boot-load-size 4 -hide "boot.catalog" -o "hybridcd.iso" "hybridcd"
\ No newline at end of file
+mkisofs -iso-level 4 -volid "ReactOS-HybridCD" -b "loader/isoboot.bin" -no-emul-boot -boot-load-size 4 -hide "boot.catalog" -o "hybridcd.iso" "hybridcd"\r