Miscelleaneous Options

-version
-v

Display the GenPatch version information.

-help
-h

Output very brief usage information of GenPatch. Please refer to this manual instead that documents all features.

-cache

Preserve patch information for later reuse. May speed up your testing of BinPatch options to just enter and be done once you have created the patch information for files. When you change a single file not all other information needs to be renewed. While BinPatch is so really fast that you may not need it in most cases, this option is a big helper if you got some hard nuts for BinPatch in your software.

-g=info

Protect parts of the patched files to kept intact during the patching process. This option will only be documented to commercial users, because it's only useful for commercial software and abuse shall be avoided.

-K=@RegManip.reg,HKLM/Software/YX/Install,yourmain.exe,r

(not implemented yet)

Specify a registry manipulation to be done after successfully applying the patch file. The file given is expected to be in REGEDIT4 file format as output by the registry editor on Win32 platforms. A single exception: You specify a single replacement character that is being replaced with the contents of the specified key's content at runtime. Ie. all occurances of %r in the values will be replaced with what is found on the client machine at the time the patch is appied. You are free to choose any numeric or alpha character and the replace marking is case sensitive. The manipulation requires full access to manipulated keys and read access to the lookup key. To maximize use of this, you can specify a base value which is known to be always present and that e.g. parts a path part that you want to replace elsewhere from the not needed filename.