diff --git a/changes/34827-self-extracting-exe-installers b/changes/34827-self-extracting-exe-installers new file mode 100644 index 0000000000..92d5899e66 --- /dev/null +++ b/changes/34827-self-extracting-exe-installers @@ -0,0 +1 @@ +- add InstallAnywhere as a self-extracting archive for PE metadata extraction \ No newline at end of file diff --git a/pkg/file/pe.go b/pkg/file/pe.go index 0f5f7eb61c..9130eba920 100644 --- a/pkg/file/pe.go +++ b/pkg/file/pe.go @@ -62,8 +62,8 @@ func ExtractPEMetadata(tfr *fleet.TempFileReader) (*InstallerMetadata, error) { productVersion := strings.TrimSpace(e["ProductVersion"]) if productName != "" { productName = strings.TrimSpace(productName) - if productName == "7-Zip" { - // This may be a 7-Zip self-extracting archive. + if productName == "7-Zip" || productName == "InstallAnywhere" { + // This may be a 7-Zip or InstallAnywhere self-extracting archive. sfxName = productName sfxVersion = productVersion continue