First, extract all the files on the UBCD to a directory on your harddisk such as c:\ubcd-exracted. If you wish, you can directly extract the files from the ISO image using a tool such as WinISO, Daemon Tools or 7-Zip.
Put 7-zip first ==> freeware (useful for extracting other archives too).
Don't recommend ISO editors like WinISO, UltraISO, ... (you have to pay for it too), because modifiying an ISO with such tools won't always result in a good ISO.
I am not sure about this, so here I ask:
Do all scripts work when UBCD is extracted to a path with spaces in the name?
If not mention it explicitly.
In the "Adding floppy disk images", http://www.woundedmoon.org/win32/floppyimage.html
is a dead link.
Maybe another example than Partition Magic could be used as example. Partition Magic can easily destroy partitions (because it doesn't understand new partition schemes correctly).
Adding FreeDOS-based applications
To add a DOS app to UBCD that is launched via FreeDOS, create a CAB archive of the application files. For example, if the program contains the following files:
Create the CAB archive by typing:
cabarc -r -p -m lzx:21 n myapp.cab *
Mention that you need to create a directory to which you add the myapp.exe and myapp.dat files.
cd to this directory.
run: cabarc -r -p -m lzx:21 n myapp.cab *
Or maybe even better, create the myapp.cab file in the directory one level up.
The format for each entry in the INI file can be found here. Section names should only contain numbers, letters and spaces.
Mention what each parameter does at this location, instead of referring to my post on the forum.
Generating customized ISO image
At the command prompt, type:
ubcd2iso c:\ubcd-extracted c:\ubcd40.iso
This will create ubcd50.iso in C:\.
It should be c:\ubcd50.iso
But I think it is better to use another name for the iso in the example, so the official UBCD ISO won't get overwritten by accident:
ubcd2iso c:\ubcd-extracted c:\myubcd50.iso
For those running Linux, the equivalent tools for syslinux2grub4dos, ubcd2iso and ubcd2usb etc. are available under ./ubcd-extracted/ubcd/tools/linux.
Also add (linux section):
It might be possible that you need to make the tools executable:
$ cd ./ubcd-extracted/ubcd/tools/linux
$ chmod a+x ./*/*.sh
$ chmod a+x ./ubcd2usb/syslinux