Should wixl read Windows PE files metadata?
ExifTool is a Perl library can extract metadata from Windows PE files, which can be used by wixl to automatically fill Version
and Language
file table fields. It's licensed under GPL-1+, which means it's compatible with LGPL-2.1+ used by msitools.
Maybe we can use Perl's GLib::Object::Introspection (which is also LGPL-v2.1) to create bindings for ExifTool.
Do you think it's worth the effort?
Maybe setting it through File[DefaultVersion]
and File[DefaultLanguage]
attributes is better because it's more explicit, but when the default and PE metadata values differ the MSI is lying to Windows Installer. This generates warnings when building with WiX (why do these warnings exist? I have no idea