Version info string mismatch across resources
ID PE040 Level WARNING Category Configuration
Description
There are multiple VERSIONINFO
resources
with different languages in the executable.
A particular string value which should be likely persistent (e.g. FileVersion
, ProductVersion
or OriginalFilename
),
in some VERSIONINFO
resources differs from other VERSIONINFO
resources.
This is likely a configuration error.
Mitigation
If using Visual C++:
- Make sure you include the same
FileVersion
,ProductVersion
andOriginalFilename
values in allStringFileInfo
blocks across allVERSIONINFO
resources.
Arguments
This rule has the following output arguments:
-
resource_lang1
- Affected firstVERSIONINFO
resource language integral code -
resource_lang1_tag
- Affected firstVERSIONINFO
resource language tag (e.g.en
,nl-NL
oren-US
) -
resource_lang1_location
- Affected firstVERSIONINFO
resource language location (e.g.Spain
,neutral
orprocess_default
) -
resource_lang2
- Affected secondVERSIONINFO
resource language integral code -
resource_lang2_tag
- Affected secondVERSIONINFO
resource language tag (e.g.en
,nl-NL
oren-US
) -
resource_lang2_location
- Affected secondVERSIONINFO
resource language location (e.g.Spain
,neutral
orprocess_default
) -
key
- AffectedStringFileInfo
key name (e.g.FileVersion
,ProductVersion
orOriginalFilename
) -
string1
- First mistatching key value -
string2
- Second mistatching key value
Loading...
Unable to load this documentation page.