Version info string mismatch across StringFileInfo blocks

ID PE069 Level WARNING Category Configuration

Description

Version information resource contains several StringFileInfo blocks. The string which likely should be the same across blocks (e.g. FileVersion, ProductVersion or OriginalFilename) is different in some of them. This is likely a configuration error.

Mitigation

  • Make sure you include the same FileVersion, ProductVersion and OriginalFilename values in all StringFileInfo blocks in the version info resource.

Arguments

This rule has the following output arguments:

  • resource_lang - Affected VERSIONINFO resource language integral code
  • resource_lang_tag - Affected VERSIONINFO resource language tag (e.g. en, nl-NL or en-US)
  • resource_lang_location - Affected VERSIONINFO resource language location (e.g. Spain, neutral or process_default)
  • key - Affected StringFileInfo string key
  • string1 - First string value
  • string2 - Second (mismatching) string value