ptorr-msft / WinGetYamlGenerator

Simple GUI editor for creating YAML files for WinGet.
MIT License
61 stars 19 forks source link

Browse to MSI and import information #14

Open jvintzel opened 4 years ago

jvintzel commented 4 years ago

MSI can easily import the information to populate a good amount of the fields.

chausner commented 4 years ago

Deriving metadata from the installer also works for EXE installers. E.g. if it is a PE64 file, you know that the architecture must be x64. Name, copyright, version and description metadata you may get from the VERSIONINFO resource (file properties in Windows Explorer, FileInfo.VersionInfo in .NET). There should also be ways to automatically detect the installer type from the binary (NSIS, Inno, etc.).

One downside is that this metadata may not always be accurate, e.g. I have seen lots of software where the version number of the installer binary does not match the actual product version.