Using LFPatch Wizard (LPFWIZ.EXE)

LFPatch Wizard is the tool which will help You to create patches. It can automatically create the list of differences between two version of your product. The main screen of this application looks like this:

 

wpe1.jpg (46475 bytes)

 

Before using LFPatch Wizard, you should prepare your product for patching (see How to prepare your software for patching).

To create the patch you have to fill in the following fields:

  1. Patch name - this is the file name of the patch file
  2. Main application name - in this field you should enter the name of main executable file of your product. This name is used by the LFPATCH.EXE program to determine the root path of your product.
  3. Default application path - in this field you should enter the default installation path of your application. This name is used by the LFPATCH.EXE program to determine the root path of your product. In this field you can use LFPatch Macros.
  4. Source path - in this field you should enter the directory in which you have installed the original version of your product (see How to prepare your software for patching).
  5. Destination path - in this field you should enter the directory in which you have installed the new version of your product (see How to prepare your software for patching).
  6. With subdirectories - if this check-box is checked, the directory synchronization will be recursive.
  7. Files to modify - this is the list of files for which the Modification patch will be created.
  8. Files to add - this is the list of files for which the Add patch will be created.
  9. Files to delete - this is the list of files for which the Delete patch will be created.

To automatically generate list of files to modify/add/delete you should click the Synchronize button. If you want to modify the lists of files, you can use button Clear all to delete all the items or the Delete item button to delete selected item. You can also drag&drop files from Explorer.

Clicking the Create Batch button will create batch file (*.BAT) for use with LFPGEN.EXE program.

Clicking the CREATE PATCH FILE will automatically generate the patch file.