Seite 1 von 1

GetFileInfoMap liefert keine kompletten Maps

Verfasst: 11 Sep 2012, 12:23
von embl-structures
Hallo zusammen,

GetFileInfoMap scheint bei einigen Applikationen keine vollstaendigen Maps zurueckzuliefern. Im konkreten Fall habe ich dieses Problem mit VLC 2.0.3:

Code: Alles auswählen

[6] [9/11/2012 11:50:49]     retrieving strings from GetFileInfoMap [switch to loglevel 7 for debugging]
[7] [9/11/2012 11:50:49]         (string   0)Language name 0=English (United States)
[7] [9/11/2012 11:50:49]         (string   1)Language ID 0=1033
[7] [9/11/2012 11:50:49]         (string   2)file version=562949953617920
[7] [9/11/2012 11:50:49]         (string   3)file version with dots=2.0.3.0
[7] [9/11/2012 11:50:49]         (string   4)product version=562949953617920
[7] [9/11/2012 11:50:49]         (string   5)Comments=
[7] [9/11/2012 11:50:49]         (string   6)CompanyName=
[7] [9/11/2012 11:50:49]         (string   7)FileDescription=
[7] [9/11/2012 11:50:49]         (string   8)FileVersion=
[7] [9/11/2012 11:50:49]         (string   9)InternalName=
[7] [9/11/2012 11:50:49]         (string  10)LegalCopyright=
[7] [9/11/2012 11:50:49]         (string  11)LegalTrademarks=
[7] [9/11/2012 11:50:49]         (string  12)OriginalFilename=
[7] [9/11/2012 11:50:49]         (string  13)PrivateBuild=
[7] [9/11/2012 11:50:49]         (string  14)ProductName=
[7] [9/11/2012 11:50:49]         (string  15)ProductVersion=
[7] [9/11/2012 11:50:49]         (string  16)SpecialBuild=
Wahrend eine FileInfoMap von Firefox so aussieht:

Code: Alles auswählen

[6] [9/11/2012 11:50:50]     retrieving strings from GetFileInfoMap [switch to loglevel 7 for debugging]
[7] [9/11/2012 11:50:50]         (string   0)Language name 0=Language Neutral
[7] [9/11/2012 11:50:50]         (string   1)Language ID 0=0
[7] [9/11/2012 11:50:50]         (string   2)file version=2814749767569931
[7] [9/11/2012 11:50:50]         (string   3)file version with dots=10.0.7.4619
[7] [9/11/2012 11:50:50]         (string   4)product version=2814749767565312
[7] [9/11/2012 11:50:50]         (string   5)Comments=
[7] [9/11/2012 11:50:50]         (string   6)CompanyName=Mozilla Corporation
[7] [9/11/2012 11:50:50]         (string   7)FileDescription=Firefox
[7] [9/11/2012 11:50:50]         (string   8)FileVersion=10.0.7
[7] [9/11/2012 11:50:50]         (string   9)InternalName=Firefox
[7] [9/11/2012 11:50:50]         (string  10)LegalCopyright=©Firefox and Mozilla Developers, according to the MPL 1.1/GPL 2.0/LGPL 2.1 licenses, as applicable.
[7] [9/11/2012 11:50:50]         (string  11)LegalTrademarks=Firefox is a Trademark of The Mozilla Foundation.
[7] [9/11/2012 11:50:50]         (string  12)OriginalFilename=firefox.exe
[7] [9/11/2012 11:50:50]         (string  13)PrivateBuild=
[7] [9/11/2012 11:50:50]         (string  14)ProductName=Firefox
[7] [9/11/2012 11:50:50]         (string  15)ProductVersion=10.0.7
[7] [9/11/2012 11:50:50]         (string  16)SpecialBuild=
Im Explorer werden fuer beide Applikationen die korrekten Versionen angezeigt und auch das filever-Tool von Microsoft listet die Versionen richtig auf:

Code: Alles auswählen

C:\Documents and Settings\admin>filever "c:\Program Files\Mozilla Firefox\firefo
x.exe"
--a-- W32i   DLL   -     10.0.7.4619 shp    924,640 08-25-2012 firefox.exe

C:\Documents and Settings\admin>filever "c:\Program Files\VideoLAN\VLC\vlc.exe"
--a-- W32i   APP ENU         2.0.3.0 shp    108,544 07-19-2012 vlc.exe

C:\Documents and Settings\admin>filever "c:\Program Files\EndNote X5\EndNote.exe
"
--a-- W32i   DLL ENU     15.0.1.5774 shp  9,651,712 10-27-2011 endnote.exe
Liegt es evtl. am Typ "APP ENU"? Und wenn ja, ist das ein Bug oder gibt es eine Moeglichkeit, auch von solchen Applikationen die korrekten FileInfoMaps zu erhalten? Man koennte vielleicht "file version with dots" verwenden aber kann jemand bestaetigen, dass das mit allen Applikationen funktioniert?

frank

Re: GetFileInfoMap liefert keine kompletten Maps

Verfasst: 12 Sep 2012, 17:33
von d.oertel
Hi,

danke für den Hinweis.

Bitte entsprechende vlc.exe per mail an mich, damit ich mir das anschauen und fixen kann.

gruss

d.oertel

Re: GetFileInfoMap liefert keine kompletten Maps

Verfasst: 13 Sep 2012, 11:40
von embl-structures
d.oertel hat geschrieben:Bitte entsprechende vlc.exe per mail an mich, damit ich mir das anschauen und fixen kann.l
VLC.exe soeben verschickt
/ft.