Repository navigation
Fix msstore manifest resolution and support msstore package installs - #62
Merged
Marc-André Moreau (mamoreau-devolutions) merged 3 commits intoNov 5, 2026
Conversation
Co-authored-by: Copilot App <[email protected]>
…fests Co-authored-by: Copilot App <[email protected]>
Marc-André Moreau (mamoreau-devolutions)
force-pushed
the
copilot/fix-msstore-unknown-version-manifest
branch
from
November 5, 2026 18:53
1a79bd3 to
aff40c0
Compare
Co-authored-by: Copilot App <[email protected]>
Marc-André Moreau (mamoreau-devolutions)
merged commit Nov 5, 2026
f41f5c2
into
master
14 checks passed
Marc-André Moreau (mamoreau-devolutions)
deleted the
copilot/fix-msstore-unknown-version-manifest
branch
November 5, 2026 20:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes
pinget install <msstore-id>(e.g.pinget install 9WZDNCRFJB3H) failing with404 Not Foundon/packageManifests/{id}?Version=Unknown&Market=USand completes end-to-end Microsoft Store (msstore) package resolution, installation, listing, and uninstallation across both the Rust and C# implementations.Root Cause
packageManifestsquery parameters: Microsoft Store'smsstore(StoreEdgeFD) endpoint returns"PackageVersion": "Unknown"inmanifestSearchresults. When resolving the manifest,pingetsentVersion=Unknownin the query string to/packageManifests/{id}, whichStoreEdgeFDrejects with404 Not Found. In C#,RestSource.FetchManifestWithDocumentsalso did not includeRequiredQueryParameters(such asMarket=US) or fall back to the version entry inData.Versionswhen the concrete manifest version differed from"Unknown".msstoreinstaller and agreement handling:msstoremanifests useInstallerType: "msstore"withMSStoreProductIdentifier(noInstallerUrl) and include store package agreements inDefaultLocale.Agreements. Previously,pingetfailed whenInstallerUrlwas absent, did not prompt interactively for package agreements in terminal sessions, and did not correlate installed MSIX packages against RESTPackageFamilyNames.Changes
Versionfrom/packageManifests/{id}query parameters when empty,"Unknown", or listed inUnsupportedQueryParameters.Channeland appendMarketwhen required byRequiredQueryParameters.PackageVersion,Channel, andDefaultLocalefromData.VersionswhenmanifestSearchreturned"Unknown"."Unknown"as the lowest version (Unknown < x) in version comparisons while keeping--include-unknowngating for upgrade discovery.msstoreinstallation,show, & correlation:MSStoreProductIdentifieracross REST and YAML manifests, structured output, andshowoutput (Store Product IdandAgreements).msstoreinstalls viaWindows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager(policy check, free user/device entitlement acquisition, product install, and machine-scope provisioning) without requiring anInstallerUrldownload.PackageFamilyNames,ProductCodes, andUpgradeCodes.--accept-package-agreements.Validation
cargo +nightly fmt --manifest-path rust\Cargo.toml --allcargo clippy -q --manifest-path rust\Cargo.toml --workspace --tests -- -D warningscargo test -p pinget-core --manifest-path rust\Cargo.tomlcargo test -p pinget-cli --manifest-path rust\Cargo.tomldotnet build dotnet\Devolutions.Pinget.slnx -c Releasedotnet test dotnet\src\Devolutions.Pinget.Core.Tests\Devolutions.Pinget.Core.Tests.csproj -c Releaseshow,install,list, anduninstallof9WZDNCRFJB3Hin both Rust and C# CLIs.