mhammond / pywin32

Python for Windows (pywin32) Extensions
5.01k stars 793 forks source link

Expose `GetFileVersionInfoEx` #2072

Open justanotheranonymoususer opened 1 year ago

justanotheranonymoususer commented 1 year ago

Expected behavior and actual behavior.

GetFileVersionInfo has the unexpected behavior of returning info from MUI (localization) files instead of the relevant target file. References:

Steps to reproduce the problem.

Not sure what's the best way, you can try querying Notepad like in the first link above, but generally it depends on the environment.

Version of Python and pywin32

Python 3.10.4 pywin32 304