PRB: Internal Error Message 2351 When You Apply a Windows Installer Patch (283243)



The information in this article applies to:

  • Microsoft Windows Installer 1.0
  • Microsoft Windows Installer 1.1
  • Microsoft Windows Installer 1.2

This article was previously published under Q283243

SYMPTOMS

When you apply a Windows Installer patch to an installed product, you receive the following error message:
Error 2351: File key '[2]' not found in cabinet '[3]'. The installation cannot continue.

CAUSE

This problem can be caused by one of the following two scenarios, both of which are in the patch creation properties (.pcp) file that is used to create the patches:
  • The value for MediaSrcPropName in the ImageFamilies table is not unique.

    -or-

  • The value for the FileSequenceStart field in the ImageFamilies table is incorrect.

RESOLUTION

You can edit the .pcp file with the Windows Installer SDK tool named Orca. (If you use a wizard from a third-party application to create the patch, the .pcp file is created automatically and is placed on your computer.) In the ImageFamilies table, do the following:
  1. Make the value for MediaSrcPropName unique for each .pcp file for each patch that is applied to the same product.
  2. Verify that the value for the FileSequenceStart field is correct. This field is the sequence number for the starting file of the patch. This same file sequence number must not exist in two patches for the same product. To ensure this, the value in this field must be greater than all sequence numbers that are used in previous patches or in the original installation package. You can determine the greatest sequence number in a patch if you add the total number of entries in the patch cabinet file to the FileSequenceStart number for that patch. Additionally, you can determine this if you look at the .ddf file that is generated by PatchWiz.dll during the creation of the patch.

    For example, the first patch starts at 4 and includes 3 files or patches in its cabinet. The FileSequenceStart value of the next patch needs to be at least 7.

REFERENCES

For additional information about the Orca tool, click the article number below to view the article in the Microsoft Knowledge Base:

255905 HOWTO: Use the Orca Database Editor to Edit Windows Installer Files

For more information about the .pcp file and its tables and entries, see the Windows Installer Help file on the following Microsoft Web site at:

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbAppSetup kbprb KB283243