Version info StringFileInfo lacks SpecialBuild string

ID PE050 Level WARNING Category Configuration

Description

Version information StringFileInfo block lacks the SpecialBuild string, which is required when version info has the VS_FF_SPECIALBUILD flag, which is the case for the executable.

Windows Explorer and other file version info viewers may not be able to show the version information correctly.

Mitigation

If using Visual C++:

  • Make sure you include the SpecialBuild string to the StringFileInfo block.
  • Alternatively, remove the VS_FF_SPECIALBUILD flag from the VERSIONINFO resource.

Arguments

This rule has the following output arguments:

  • string_lcid - Affected VERSIONINFO StringFileInfo block language integral code
  • string_lcid_tag - Affected VERSIONINFO StringFileInfo block language tag (e.g. en, nl-NL or en-US)
  • string_lcid_location - Affected VERSIONINFO StringFileInfo block language location (e.g. Spain, neutral or process_default)
  • string_cpid - Affected VERSIONINFO StringFileInfo block code page integral code
  • string_cpid_name - Affected VERSIONINFO StringFileInfo block code page name (e.g. windows-1251 or utf-8)