Fleet version: <= 4.72
💥 Actual behavior
Windows app (download URL extracted from homebrew) grabs the name and bundle ID from Microsoft AutoUpdate when extracting metadata on custom package upload, rather than grabbing the correct package information.
🧑💻 Steps to reproduce
Add the linked PKG as a custom package in Fleet.
🕯️ More info
Split from #25407. Very similar to #24083.
Suspicious Package shows that MS AutoUpdate is indeed in the package (extracted to Application Support) but Windows App is in the package as well. We're grabbing name/bundle ID/version from AutoUpdate (com.microsoft.package.Microsoft_AutoUpdate.app) rather than from Windows App (com.microsoft.rdc.macos).
🛠️ To fix
Revise PKG metadata extraction (xar.go) again to pull the right package for name/version/bundle ID purposes, while maintaining correct behavior for existing PKG files.
Fleet version: <= 4.72
💥 Actual behavior
Windows app (download URL extracted from homebrew) grabs the name and bundle ID from Microsoft AutoUpdate when extracting metadata on custom package upload, rather than grabbing the correct package information.
🧑💻 Steps to reproduce
Add the linked PKG as a custom package in Fleet.
🕯️ More info
Split from #25407. Very similar to #24083.
Suspicious Package shows that MS AutoUpdate is indeed in the package (extracted to Application Support) but Windows App is in the package as well. We're grabbing name/bundle ID/version from AutoUpdate (
com.microsoft.package.Microsoft_AutoUpdate.app) rather than from Windows App (com.microsoft.rdc.macos).🛠️ To fix
Revise PKG metadata extraction (
xar.go) again to pull the right package for name/version/bundle ID purposes, while maintaining correct behavior for existing PKG files.