Repository navigation
Analyze the previous nested installer of an ambiguous zip on update - #2001
Merged
russellbanks merged 1 commit intoNov 28, 2026
Merged
russellbanks merged 1 commit into
russellbanks merged 1 commit into
Conversation
AdzerKI
force-pushed
the
fix/analyze-previous-nested-installer
branch
from
November 28, 2026 08:26
e36a8c3 to
897885c
Compare
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.
🤖 AI-generated: this PR was prepared by Claude Opus 5.5 (Anthropic) for @AdzerKI.
Fixes #2000.
When a zip has several possible installers,
updatenow analyzes the nested file it takes from the previous version (#1934), the same way a zip with a single installer is analyzed. The previous zip installer is matched by architecture, or taken when it's the only zip installer, since a zip's architecture often can't be detected from its URL.Tested:
cargo clippy --locked --all-targets -- -D warningsandcargo test --lockedpassupdatekeeps the previous ProductCode and architecture when a zip has several installers #2000 now givesArchitecture: x86and the 1.5.3ProductCode{8909BB1A-1B01-4B4D-B8B5-6A0922E34649}This touches
src/commands/update_version.rslike #1935, so whichever goes in second needs a small rebase.