To run BatchResourceUpdater, you can do the following:
BatchResourceUpdater test.bru
Where "bru" files are actually just XML files, with the following format:
......
...
...
...
The and blocks may come in any order and any number of them.
The source, destination, and remove values are specifications of either files
or resource IDs, for example:
File: file1.bmp
PE Resource: shell32.dll|BITMAP|100|1033
RES Resource: rsrc.res|BITMAP|100|1033
PE Files must have an extention of:
exe, dll, sys, ocx, mui, drv, cpl, efi, com, fnt, msstyles, scr, ax, acm, ime, pe
RES Files must have an extension of res.
For more examples see the examples zip file.
The block may have more than one destination, but only one source.
It also can have an "overwrite" attribute:
Default is always.
Always means to always overwrite the resource/file
Never means to save the resource/file only if it does not already exist
Only means to save the resource/file only if it does already exist
The other set of blocks that can be used is , like so:
...
...
The # must be an integer from 0 to 9 (inclusive).
There may be any number of blocks.
After this block, whenever a %# (e.g. %1) is used it is replaced with all of the
values defined by the blocks for that index. There are some limitations
on replacements that can be made. Also %% is replaced by %. For examples, so
the examples zip file.
One very convient thing to do is register BRU files with the BatchResourceUpdater
program so that you can double click the files.