Using LFPGen (LFPGEN.EXE)
LFPGEN.EXE is the command-line utility which can be used to automate the process of
creating patch (especially combined with option Create batch of LFPWIZ.EXE). The program has the following
command-line options:
- To add the modification patch to your patch file you should use:
LFPGEN -m <patch file> <from file> <to
file> <file path>
where <patch file> is the name of patch file
(.LFP), <form file> is the name of the old version of the file, <to file> is
the name of the new version of the file and <file path> (usually enclosed in
"") is the target location of this file (for example if this file LIB.DLL is
supposed to be located in the BIN subdirectory of you application, it should read:
"&ROOT&\BIN\LIB.DLL").
- To add the Add patch to your patch file you should use:
LFPGEN -c <patch file> <from file> <file
path>
where <patch file> is the name of patch file (.LFP),
<form file> is the name of the file to add and <file path> (usually enclosed
in "") is the target location of this file (for example if this file LIB.DLL is
supposed to be located in the BIN subdirectory of you application, it should read:
"&ROOT&\BIN\LIB.DLL").
- To add the Delete patch to your patch file you should use:
LFPGEN -d <patch file> <from file> <file
path>
where <patch file> is the name of patch file (.LFP),
<form file> is the name of the file to delete and <file path> (usually
enclosed in "") is the target location of this file (for example if this file
LIB.DLL is supposed to be located in the BIN subdirectory of you application, it should
read: "&ROOT&\BIN\LIB.DLL").
- To compress the LFP file and generate LFC file for distribution you should use:
LFPGEN -p <patch file> <distribution file>
where <patch file> is the name of patch file (LFP) and
<distribution name> is the name of compressed (LFC) file. Files are
compressed using Microsoft Cabinet technology.