Duplicate version info resource block
ID PE032 Level CRITICAL Category Format
Description
The VERSIONINFO
resource
block is present more than once in the VERSIONINFO
resource.
Each block (StringFileInfo
and VarFileInfo
) must occur only once.
Windows Explorer and other file version info viewers may not be able to show the version information correctly.
Mitigation
If using Visual C++:
- Follow the Microsoft guides to add the correct
VERSIONINFO
resource. - You can use this Microsoft example and reference for the correct
VERSIONINFO
resource. - If you are adding several languages to the version info, make sure to add them to the single existing
StringFileInfo
andVarFileInfo
blocks.
Arguments
This rule has the following output arguments:
-
resource_lang
- AffectedVERSIONINFO
resource language integral code -
resource_lang_tag
- AffectedVERSIONINFO
resource language tag (e.g.en
,nl-NL
oren-US
) -
resource_lang_location
- AffectedVERSIONINFO
resource language location (e.g.Spain
,neutral
orprocess_default
) -
block
- Affected block type (eitherStringFileInfo
orVarFileInfo
)
Loading...
Unable to load this documentation page.