go-fileversion
go-fileversion copied to clipboard
Go wrapper for querying windows version-information resource.
Hi ! I propose a fix for the inversion of word parsing order for the Patch/Build field in Fileversion and ProductVersion, following the description in https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource Best
When a Windows application is built and I look at the file's Properties, and then the Details tab, the file version values are in the order I would expect, Mahor,...
The build part should comes before the patch private part as usual.  
I am on Windows 11 24H2 and trying to get the version of c:\windows\system32\wldap32.dll. Calling FileVersion() returns 10.0.26100.1, however the Windows properties dialog for the file shows 10.0.26100.3775. Using powershell,...
The method `Info.FileVersion()` panics if an excecutable has no meta data. ``` github.com/bi-zone/go-fileversion.Info.verQueryValue({{0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}}, {0xc0002a8060, 0x24}, 0x1) C:/Users/jkeller/go/pkg/mod/github.com/bi-zone/[email protected]/version_info.go:334 +0x279 github.com/bi-zone/go-fileversion.Info.verQueryValueString({{0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}}, {0x7b50?,...