You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can someone please tell which of these is the most accurate property to get PackageVersion of MSI/EXE:
ProductVersion
FileVersion
FileVersionRaw
ProductVersionRaw
I am building a function for the automation to get PackageVersion for some packages whose API/Source doesn't output the correct version, or the API only gives InstallerUrl.
Can someone please tell which of these is the most accurate property to get PackageVersion of MSI/EXE:
As i said in the OP, FileVersionRaw is the most accurate according to my testing.
If you want real data you can download 100 installers and compare all 4 fields (the Raw fields will always be best AFAIK)
Description of the new feature/enhancement
Just making the issue so its here =)
Proposed technical implementation details (optional)
For MSI:
Note to self - This function will allow for some fields like copyright to be filled automatically for some installers, of all types
Originally posted by @Trenly in #140 (comment)
For EXE:
(Get-Item 'C:\Users\User\Downloads\Firefox Setup 96.0.2.exe').VersionInfo | Format-List *
Important fields seems to be:
Addition to #108
The text was updated successfully, but these errors were encountered: