![]() ![]() |
Oct 17 2005, 06:52 PM Post
#1 | |
| Newbie Group: Members Posts: 30 Joined: 17-September 05 Member No.: 73431 | Edit: New version. You can automatically create the multi-boot folders and files using my batch file for any version of Windows 2000, XP, 2003. Everything needed is included in the file I have uploaded. File attached so people don't need to wait for RapidShare's download ticket ~ Alanoll Here I will post only the main batch file: create_boot_folder.cmd CODE @echo off if [%1] == [] goto :usage if [%2] == [] goto :usage if [%3] == [] goto :usage if [%4] == [] goto :usage if [%5] == [] goto :usage if not [%6] == [] goto :usage if not exist "%~f1" ( echo Directory "%~f1" does not exist. goto :usage ) if not exist "%~f2" ( echo Directory "%~f2" does not exist. goto :usage ) if exist "%~f2\%3" ( echo "%~f2\%3" already exists so nothing to do, please delete it manually goto :end ) set pth=%~f1 set aio=%~f2 call set pth=%%pth:%aio%=%% if "%pth%" == "%~f1" ( echo "%~f1" must be under "%~f2". goto :end ) if exist "%1\I386\TXTSETUP.SIF" ( set src_dir=%1\I386 set dest_dir=%2\%3 set archit=I386 ) else if exist "%1\AMD64\TXTSETUP.SIF" ( set src_dir=%1\AMD64 set dest_dir=%2\%4 set archit=AMD64 ) else ( echo Cannot find TXTSETUP.SIF in I386 or AMD64 in %1 ) type "%src_dir%\TXTSETUP.SIF" | findstr /r ",_[1-9] ,[1-9]_" | sed -e s/"=.*"/""/g -e s/" .*"/""/g > out.txt type out.txt | sed -e s/".$"/"_"/g > out_.txt mkdir "%dest_dir%" for /f %%i in ('type out.txt') do copy "%src_dir%\%%i" "%dest_dir%" > nul 2>&1 for /f %%i in ('type out_.txt') do copy "%src_dir%\%%i" "%dest_dir%" > nul 2>&1 copy "%src_dir%\BOOTFONT.BIN" "%dest_dir%" > nul 2>&1 copy "%src_dir%\BOOTFONT.BIN" "%2" > nul 2>&1 mkdir "%dest_dir%\SYSTEM32" copy "%src_dir%\system32\*.*" "%dest_dir%\SYSTEM32" > nul 2>&1 set pth=%pth:\=\\% type "%src_dir%\TXTSETUP.SIF" | sed -e s/"SetupSourcePath = \""/"SetupSourcePath = \"%pth%"/g > "%dest_dir%\TXTSETUP.SIF" unix2dos "%dest_dir%\TXTSETUP.SIF" del "%dest_dir%\NTDLL.DLL" > nul 2>&1 if "%archit%" == "AMD64" ( mkdir "%2\%3" copy "%1\I386\NTDETECT.COM" "%2\%3" > nul 2>&1 ) if "%5" == "1" ( copy SETUPLDR.BIN "%2\%3" > nul 2>&1 ) else ( copy "%1\I386\SETUPLDR.BIN" "%2\%3" > nul 2>&1 ) start /w xvi32.exe "%2\%3\SETUPLDR.BIN" /S=replaceI386.xsc "%3" if "%archit%" == "AMD64" ( start /w xvi32.exe "%2\%3\SETUPLDR.BIN" /S=replaceAMD64.xsc "%4" ) copy BOOT.BIN "%2\%3.bin" > nul 2>&1 start /w xvi32.exe "%2\%3.bin" /S=universalrepl.xsc "I386" "%3" del OUT.txt > nul 2>&1 del OUT_.txt > nul 2>&1 copy "%1\CDROM*.*" "%2"\ > nul 2>&1 copy "%1\WIN51*.*" "%2"\ > nul 2>&1 goto :end :usage echo Usage: %~n0 setup_dir aio_dir boot_dir1 boot_dir2 flag_for_using_cracked_setupldr goto :end :end Edit: New version so that you don't need to subst your aio-dvd dir anymore. File attached ~ Alanoll This post has been edited by Alanoll: Jan 9 2006, 12:49 AM Attached File(s) |
| | |
Oct 17 2005, 07:24 PM Post
#2 | |
| Member ![]() ![]() Group: Members Posts: 154 Joined: 8-October 05 Member No.: 76070 |
how does it work? do we just put it in the root of the installation folder?
|
| | |
Oct 17 2005, 08:06 PM Post
#3 | |
| Newbie Group: Members Posts: 30 Joined: 17-September 05 Member No.: 73431 |
Download the self extracting rar file in the first post, execute it and it will ask where to install. Browse to your AIO-DVD folder. When finished it will create #TOOLS in there, open create_boot_folders.cmd which calls create_boot_folder.cmd, modify it in your needs and execute it. It will create the boot folders, modify setupldr.bin, modify txtsetup.sif, create the boot sector and copy the tag files. Everything described in http://flyakite.msfnhosting.com/ for Windows 2000/XP/2003 is made automatically @amd64lover please give us feedback for 64bit version of windows since I don't have an amd64 to test, but I am pretty sure that everything should be fine. This post has been edited by geitonaki: Oct 17 2005, 08:07 PM |
| | |
Oct 17 2005, 08:09 PM Post
#4 | |
| Member ![]() ![]() Group: Members Posts: 154 Joined: 8-October 05 Member No.: 76070 |
@geitonaki the 64bit installed PERFECTLY!!! i used your method to disable the checksum and created XP64 & PRO64 folders and everything worked great. i will try your batch file and see how it works. thanks This post has been edited by amd64lover: Oct 17 2005, 08:18 PM |
| | |
Oct 17 2005, 08:57 PM Post
#5 | |
| Just another techie ![]() ![]() ![]() ![]() Group: Members Posts: 534 Joined: 15-October 05 Member No.: 76664 OS: none |
Say, I don't suppose this'll work for Redhat would it? I'm gonna try it out anyway, just wanted to ask.
|
| | |
Oct 18 2005, 12:09 PM Post
#6 | |
| Newbie Group: Members Posts: 30 Joined: 17-September 05 Member No.: 73431 | |
| | |
Oct 18 2005, 12:27 PM Post
#7 | |
| CODE tags people, CODE tags! Group: Patrons Posts: 5496 Joined: 25-September 03 From: Dallas, Texas Member No.: 7393 OS: none |
That's the second file of yours I've attached so people don't have to go to that dreadful site... I'll try this later on... But as for the sticky...I do believe a random suggestion in a post does nothing. Let alone one for your OWN topic. It's just not really polite in all honesty. I'll unsticky the old thread, but there really isn't any need for this to be a sticky, or the other page. They're still on the first page of the forum, and a simple search should bring these up. |
| | |
Oct 19 2005, 08:39 AM Post
#8 | |
| Newbie Group: Members Posts: 30 Joined: 17-September 05 Member No.: 73431 | |
| | |
Oct 19 2005, 10:08 AM Post
#9 | |
| CODE tags people, CODE tags! Group: Patrons Posts: 5496 Joined: 25-September 03 From: Dallas, Texas Member No.: 7393 OS: none | That's the second file of yours I've attached so people don't have to go to that dreadful site... Having 150kb limit for each post how could I uploaded here? My only option was to upload to rapidshare.de whoops, guess I should have adde the |
| | |
Nov 16 2005, 02:32 AM Post
#10 | |
| Group: Members Posts: 3 Joined: 18-October 04 Member No.: 34069 |
the create_boot_folders.cmd code doesn't work for me... return code: CODE Usage: create_boot_folder setup_dir boot_dir1 boot_dir2 flag_for_using_cracked_setupldr |
| | |
Nov 20 2005, 02:31 PM Post
#11 | |
| Newbie Group: Members Posts: 30 Joined: 17-September 05 Member No.: 73431 |
Make sure you are running create_boot_folders.cmd and not create_boot_folder.cmd Also read carefully the included help. |
| | |
Jan 3 2006, 01:34 PM Post
#12 | |
| Group: Members Posts: 2 Joined: 3-June 05 Member No.: 58809 |
Just a quick question now. I have been looking through the posts and the files and had a play but i just can't seem to get my head around the coding in create_boot_folders.cmd I just seem to get the same message as hardlocke did. Could someone please post a working copy so i can get a better handle on it. Much appriciated. |
| | |
Jan 3 2006, 02:35 PM Post
#13 | |
| Newbie Group: Members Posts: 41 Joined: 21-February 05 Member No.: 44733 OS: XP Pro x86 | That's the second file of yours I've attached so people don't have to go to that dreadful site... Having 150kb limit for each post how could I uploaded here? My only option was to upload to rapidshare.de Rapidshare.de actually changed their method of downloading, you just gotta type in the Verify code, and you get the download now. |
| | |
Jan 6 2006, 05:17 AM Post
#14 | |
| Newbie Group: Members Posts: 30 Joined: 17-September 05 Member No.: 73431 | Just a quick question now. I have been looking through the posts and the files and had a play but i just can't seem to get my head around the coding in create_boot_folders.cmd I just seem to get the same message as hardlocke did. Could someone please post a working copy so i can get a better handle on it. Much appriciated. I have uploaded a new version, check it out and post how it worked for you, the syntax is now: CODE Usage: create_boot_folder setup_dir aio_dir boot_dir1 boot_dir2 flag_for_using_cracked_setupldr You have to open create_boot_folders.cmd with notepad, modify the included examples and then run it by double clicking the file |
| | |
Jan 13 2006, 02:40 AM Post
#15 | |
| Just another techie ![]() ![]() ![]() ![]() Group: Members Posts: 534 Joined: 15-October 05 Member No.: 76664 OS: none |
All righty man. I just did a basic test of your multi-boot dvd prog. It created the the boot stuff perfectly. Since I don't have an x64 rig, I can only test out the cracked setupldr.bin via server2003. I'll post results later. So far so good man. You've done an awesome job!
|
| | |
Feb 23 2006, 03:13 AM Post
#16 | |
| Group: Members Posts: 1 Joined: 6-February 06 Member No.: 87217 |
i addthis copy "%src_dir%\WINNT.SIF" "%dest_dir%" > nul 2>&1 This post has been edited by zuma: Mar 1 2006, 03:47 PM |
| | |
Mar 18 2006, 01:11 PM Post
#17 | |
| Junior ![]() Group: Members Posts: 59 Joined: 29-March 05 Member No.: 49803 OS: Vista Ultimate x64 |
Will this work with 2k3 r2?
|
| | |
Mar 20 2006, 05:46 AM Post
#18 | |
| Newbie Group: Members Posts: 30 Joined: 17-September 05 Member No.: 73431 | |
| | |
May 5 2006, 12:55 AM Post
#19 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 324 Joined: 2-October 05 Member No.: 75379 |
First of all I'd like to say 'Great Job!' with the coding for this! I also wanted to bring up that I have been having some issues trying to get this to work with BTS's Driver Packs. When I select my boot source after Text setup the system reboots & tries to load BTS files, but fails because it can't find the \OEM\BIN folder (not $OEM$). If I copy the entire OEM folder to the root of the AIO disk it works with no issues. The only drawback is that I am doing an AIO with each containing different files from BTS packs. (ex: 1 w/ LAN, 1 w/LAN, SATA and so on). CODE Ex. DIR Structure: ***non-working*** $OEM$ Setup -English ----WINXP --------Original ------------I386 ------------OEM ***Working*** (moved OEM to root) $OEM$ Setup OEM -English ----WINXP --------Original ------------I386 ------------OEM can anyone help me to make my AIO point eich to their respective OEM folder, instead of only looking for OEM in the root of the drive? Thanks |
| | |
May 8 2006, 12:07 AM Post
#20 | |
| Newbie Group: Members Posts: 30 Joined: 17-September 05 Member No.: 73431 | can anyone help me to make my AIO point eich to their respective OEM folder, instead of only looking for OEM in the root of the drive? Thanks You need to modify all BTS scripts that use the directory OEM. (e.g. in I386\PRESETUP.CMD change OEM to anything you want) This post has been edited by geitonaki: May 8 2006, 12:11 AM |
| | |
![]() ![]() |
| Lo-Fi Version | Time is now: 21st November 2009 - 10:16 PM |