Hi,
Some Exe have wrong File-Version-Info. In the "VarFileInfo" they define the Translation for a version they don't provide.
I've added a setter for the Language-Property to set the language back to defaultvalue "040904E4".
Follwing Version-Info (Adobe Illustrator CS3.02 have this bug for example:
1 VERSIONINFO
FILEVERSION 13,0,128,0
PRODUCTVERSION 13,0,128,434
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "CompanyName", "Adobe Systems Inc."
VALUE "FileDescription", "Adobe Illustrator CS3"
VALUE "FileVersion", "CS3"
VALUE "InternalName", "Illustrator"
VALUE "LegalCopyright", "© 1987-2007 Adobe Systems Incorporated. All rights reserved."
VALUE "OriginalFilename", "Illustrator.exe"
VALUE "ProductName", "Adobe Illustrator CS3"
VALUE "ProductVersion", "CS3"
VALUE "OLESelfRegister", ""
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0407 0x04E4
}
}
Comments
yes, I want to get a Setter for FLanguage (I've done this on my ElPack-Sourcecode allready).
But It would be good if you also can handle such defect Version Info.