We search a function or procedure in delphi (2006) that change or patch the volumeid number in an iso image file. With volumeid we mean the 4 bytes long number that given a drive after install.
When you use the "dir" command in the dos prompt then you got it in the second line. example: F3H2-A123 or A384-FF23 and so one.
Is this possible to patch this in an iso image file? So when this iso is burning then exact the patched number must on the cd too.
We need to support follow iso images:
with and without Joilet
with and without UDF-Format
for BD (when possible)
So all(most) iso image files must supported. When the code is to long then it must create in an own unit to inlcude it easy.
Example function: PatchISOID('c:\[url removed, login to view]', VolumeID);
c:\[url removed, login to view] = string for a filename
VolumeID = string
So the string must support all 256 x 4 ways.
The next function that we search is a random procedure that can create per random 256 x 4 ways in a string that can use in PatchISOID.
Example: string := MakeRandomID;
string is now a random "F5A11289" volume id number.
Patch for an example my attached [url removed, login to view] with VolumeID FFFF-FFFF.