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.
The root cause of the issue is not known at this time. The issue occurs when the MsiGetFileHash() API fails on large files.
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.
The option to disable File hashing at build time is not available in InstallShield Express. This document will be updated as InstallShield Express is enhanced to include this functionality. Currently InstallShield Express users are advised to ignore this build error as it should not have a direct impact on the setup.
This error being a result of ODBC Translators is being tracked as Master Issue Number: IOJ-1591989
For more information on File Hashing, see the Windows Installer Help Library topic MsiFileHash.