[Bug 28443] New: MsiGetFileVersion fails when run on TrueType/OpenType font files

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 19 13:13:03 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28443

           Summary: MsiGetFileVersion fails when run on TrueType/OpenType
                    font files
           Product: Wine
           Version: 1.3.28
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: msi
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: sam at robots.org.uk


Created an attachment (id=36468)
 --> (http://bugs.winehq.org/attachment.cgi?id=36468)
vertest.tar.gz

When run on Windows, the attached test case prints:

  $ '\\leela\sam\src\vertest\vertest' '\\leela\sam\src\vertest\vollkorn.otf'
  1.800.0.0

When run under Wine, the call to MsiGetFileVersion fails:

  $ WINEDEBUG=+msi wine vertest.exe vollkorn.otf
  trace:msi:MsiGetFileVersionW L"Vollkorn.otf" 0x130248 1024 (nil) 0
  MsiGetFileVersionA error: 1

N.B., ERROR_INVALID_FUNCTION (1) is not listed as a valid return code for
MsiGetFileVersion
<http://msdn.microsoft.com/en-us/library/aa370122(v=vs.85).aspx>.

This causes WiX to create faulty MSI files, since it is unable to correctly
extract version information from TrueType/OpenType font files.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list