Build Error 6271
Build error 6271 file hashing with unusually large files that do not have version information
While building a release, the following error occurs:
** Error: -6271: File \file.exe not found. An error occurred building the MsiFileHash table record for this file. Verify that the file exists in the specified location.
Alternately, you may get the following error:
Error 6254: An error occurred building the MsiFileHash table for File \file.exe.
This happens with unusually large files that do not have version information. During build time, the builder extracts hash information from versionless files to populate the MsiFileHash table, which seems to cause the error message.
To workaround the issue at this point, it is recommended that users turn off file hashing at build time. To do this, follow these steps:
All other products
- Open the Releases view.
- Click on the desired Release Name under Product Configuration. This displays the Release property grid.
- Scroll down until you find the "Generate File Hash Values" property.
- Set the "Generate File Hash Values" property to No.
- Right-click on your Release Name in the middle window and select Build to build your release.
For more information on File Hashing, see the Windows Installer Help Library topic MsiFileHash.