1. Make a working copy of your Windows XP Pro CD.
2. In the I386 directory, delete the file BOOTFIX.BIN (This is the file that is responsible for displaying the "Press any key to boot from CD..." message when you boot from a WinXP CD).
3. Do any other custom modifications to the files in I386.
4. Make multiple copies of the I386 directory.
5. For this example, we will make 1 copy of the I386 directory. The copy will be called ALT1. You can pick any name that you want, but the requirement is that it must be 4 characters long and in CAPS.
6. Get a XP CD boot sector and name it BOOTI386.BIN
7. Copy BOOTI386.BIN and rename the copy to BOOTALT1.BIN.
8. Edit BOOTALT1.BIN with a hex editor and change I386 to ALT1. There is only 1 location where I386 is found:
0x0495
9. Edit ALT1/SETUPLDR.BIN with a hex editor and change all instances of I386 (also i386) to ALT1. There are 4 locations inside the file where i386 are found. For Windows XP Pro SP2, these locations are as follows:
0x225DA
0x2650B
0x375E9
0x3C21B
10. Using a CD Menu Boot Shell such as CDSHELL, make a menu system that points to the different boot sectors based on what the use chooses. Use your imagination here.
11. Use Microsoft's CDIMAGE tool to make the ISO. The command line that I use is as follows:
CDIMAGE -l"<CD Volume Name>WXPUPG_EN" -b"<path to cdshell boot image>" -t08-23-2001,09:00:00 -h -j1 -m -x -o "<path to source files>" "<path to ISO output file and filename>"
CDIMAGE -l"WXPUPG_EN" -b"E:\CDROM\BOOT\loader.bin" -t08-23-2001,09:00:00 -h -j1 -m -x -o "E:\CDROM" "C:\TEMP\WinBootImage.iso"
Notes:
* You can have different versions of WINNT.SIF to configure your unattended and attended setups. Just place each config in the approperiate directory.
* There are only 6 files that are different between the various versions of XP Pro (Retail Full, Retail Upgrade, OEM, Volume). This is as of SP2.
* By using Microsoft's CDIMAGE tool, duplicate files are only written once. So you can have 4 different configurations of an operating system on a single 700MB CD...with room to spare.
* This was based loosely off of Flyakite's guide and I decided to skip a few steps. I don't know WHY you need the unpacked boot files though when using the files as is seems to work just fine...at least for me.
[EDIT 08-13-2006 0753PST]
Changed cdshell.bin to loader.bin to reflect the cdshell distribution to help reduce confusion about which file to boot the cd/dvd from.
[EDIT 08-14-2006 0108 PST]
Added file offsets to steps 8 and 9.
This post has been edited by Maelstorm: 14 August 2006 - 02:09 AM



Help

Back to top









