Skip to content

Windows App PKG name/version/bundle extracts as Microsoft AutoUpdate on custom package upload #31306

Description

@iansltx

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    #g-auto-patchingProduct group focused on auto patching software:productProduct Design department (shows up on 🦢📨🎉 Product design intake & outtake board)bugSomething isn't working as documentedprospect-fountain~sw-uploadbugs related to uploading software

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions