Version info StringFileInfo lacks PrivateBuild string

ID PE049 Level WARNING Category Configuration

Description

Version information StringFileInfo block lacks the PrivateBuild string, which is required when version info has the VS_FF_PRIVATEBUILD 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 PrivateBuild string to the StringFileInfo block.
  • Alternatively, remove the VS_FF_PRIVATEBUILD 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)