cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build Error 6271

Build Error 6271

Summary

Build error 6271 file hashing with unusually large files that do not have version information

Symptoms

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.

 

Cause

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.
 

 

Workaround

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

  1. Open the Releases view.

     

  2. Click on the desired Release Name under Product Configuration. This displays the Release property grid.

     

  3. Scroll down until you find the "Generate File Hash Values" property.

     

  4. Set the "Generate File Hash Values" property to No.

     

  5. Right-click on your Release Name in the middle window and select Build to build your release.

InstallShield Express:

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.
 
Additional notes:
This error being a result of ODBC Translators is being tracked as Master Issue Number: IOJ-1591989

 

Additional Information

For more information on File Hashing, see the Windows Installer Help Library topic MsiFileHash.

Was this article helpful? Yes No
No ratings
Comments

I don't think this is for installshield 2019 as the tags suggest...

 

What does "Open the Releases view" Mean? (there is no "release view")

Does that mean in the install designer click on releases?

 

If so, in installshield 2019, there is no "desired Release Name under Product Configuration"  and Thus no display the Release property grid. (there is no Release Name - there is Product Name and Release Location. Both of which do not have a Release Product Grid)

Hi Lurban,

I am sorry for any inconvenience caused to you.

This error is also included in InstallShield 2019.

Yes, you are correct. On the Installation Designer, under Media, click Releases. You will see the Releases view on the right pane of InstallShield.

By default, the Release Name is "Product Configuration 1" -> "Release 1".

You can rename to your desired Release Name under Product Configuration 1.

To rename, follow the steps below:

1. Right click on "Release 1".

2. Rename to your desired Release Name.

 

Hope I was able to provide you all the required information.

If any queries, please revert. We will be happy to assist you.

 

Regards,

Jayant

Version history
Last update:
‎Apr 18, 2019 11:41 AM
Updated by:
Contributors