Fix FwLite auto-update by rolling back AppInstaller namespace to 2018 - #2615
Open
hahn-kev-bot wants to merge 1 commit into
Open
Fix FwLite auto-update by rolling back AppInstaller namespace to 2018#2615hahn-kev-bot wants to merge 1 commit into
hahn-kev-bot wants to merge 1 commit into
Conversation
The 2021 root namespace forces a minimum OS of Windows 11 21H2 (build 22000) to even parse the .appinstaller file, so auto-update silently breaks on Windows 10 and older Windows 11. The only UpdateSettings elements we use (AutomaticBackgroundTask, ForceUpdateFromAnyVersion) date to 1803/1903 and are valid unprefixed under the 2018 namespace, which restores Windows 10 1803+ compatibility. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
myieye
approved these changes
Sep 2, 2026
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.
running
Get-AppxPackageAutoUpdateSettings -PackageFamilyName FwLiteDesktop_01zkby2q2skmgon my machine said that automatic background updates were not enabled when using the app installer with a root namespace 2021. Changing it to 2018 fixed that. I'm still waiting to see when windows actually runs an update check, but it does say it will check every 24 hrs now.AI summary
The generated
.appinstallerfile declared its root namespace ashttp://schemas.microsoft.com/appx/appinstaller/2021. Per Microsoft's AppInstaller schema reference, the root namespace version dictates the minimum OS required to parse the file at all — the 2021 namespace requires Windows 11 21H2 (build 22000). On Windows 10 and older Windows 11 builds, the App Installer can't parse the file, so the update check silently fails and auto-update never happens.The only
UpdateSettingselements we use —AutomaticBackgroundTask(min Windows 10 1803) andForceUpdateFromAnyVersion(min 1903) per the update settings docs — long predate 2021 and are valid unprefixed under the 2018 namespace (matching Microsoft's own documented examples). Rolling the root namespace back to 2018 restores compatibility down to Windows 10 1803 while keeping every element we rely on.Change is a single-line namespace swap in
FwLiteReleaseService.GenerateAppInstaller. No test asserted the namespace string; the one test that parses the generated XML only reads the rootUriattribute and is unaffected.Note: only FwLite testers are on this update track today, so no broad-fleet impact. Installs already pinned to the 2021-namespace file recover once an App Installer that can parse the corrected file fetches it; any truly stuck may need a manual reinstall.
Test plan
FwLiteReleaseServiceTestsstill pass (XML parse +Uriassertion unaffected).appinstaller