These are instructions for modifying the Debian installer CD under Windows. For general information on modifying the CD see http://wiki.debian.org/DebianInstaller/Modify/CD.
Cygwin and the rsync and cdrkit packages are required. cdrkit is available from Cygwin Ports.
Create a copy of the CD contents. The CD drive is D: in this case.
rsync -a /cygdrive/d/ cd
chmod -R u+w cd
It would be nice to be able to extract an ISO under Windows with (Cygwin) symlinks. 7zip will extract ISOs without the symlinks. Edit: Maybe uniso would work. (It requires isoinfo, which is part of cdrkit. Update: It didn't work for me; the files extracted by isoinfo are all empty.
The symlinks don't exist under Windows; recreate them.
cd cd
ln -sf . ./debian
ln -sf etch ./dists/frozen
ln -sf etch ./dists/stable
ln -sf etch ./dists/testing
ln -sf etch ./dists/unstable
ln -sf ch-basic_defs.en.html ./doc/FAQ/html/ch-basic_defs.html
ln -sf ch-contributing.en.html ./doc/FAQ/html/ch-contributing.html
ln -sf ch-compat.en.html ./doc/FAQ/html/ch-compat.html
ln -sf ch-customizing.en.html ./doc/FAQ/html/ch-customizing.html
ln -sf ch-faqinfo.en.html ./doc/FAQ/html/ch-faqinfo.html
ln -sf ch-ftparchives.en.html ./doc/FAQ/html/ch-ftparchives.html
ln -sf ch-getting.en.html ./doc/FAQ/html/ch-getting.html
ln -sf ch-kernel.en.html ./doc/FAQ/html/ch-kernel.html
ln -sf ch-nexttime.en.html ./doc/FAQ/html/ch-nexttime.html
ln -sf ch-pkgtools.en.html ./doc/FAQ/html/ch-pkgtools.html
ln -sf ch-pkg_basics.en.html ./doc/FAQ/html/ch-pkg_basics.html
ln -sf ch-redistrib.en.html ./doc/FAQ/html/ch-redistrib.html
ln -sf ch-software.en.html ./doc/FAQ/html/ch-software.html
ln -sf ch-support.en.html ./doc/FAQ/html/ch-support.html
ln -sf ch-uptodate.en.html ./doc/FAQ/html/ch-uptodate.html
ln -sf footnotes.en.html ./doc/FAQ/html/footnotes.html
ln -sf index.en.html ./doc/FAQ/html/index.html
Create the ISO.
cd ..
mkisofs -o test.iso -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat ./cd