Repository navigation
[release/v7.7.0] Update Appx manifest to not allow updates while PS7 is running - #28361
Merged
Justin Chung (jshigetomi) merged 1 commit intoNov 6, 2026
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
MSIX packaging and deployment were not tested, leaving release-SDK acceptance, Store-update deferral on Windows 11 24H2+, and installation compatibility with older supported Windows builds unverified.
No open issues 🎉
What changed in this PR
Updates PowerShell’s Appx manifest to defer package updates while PowerShell 7 is running on Windows versions that support this setting.
Changes:
- Adds the
uap17namespace and marks it as ignorable for compatibility. - Sets
uap17:UpdateWhileInUsetodefer.
| File | Description |
|---|---|
assets/AppxManifest.xml |
Declares the update policy to defer updates while the application is in use. |
Review effort: Balanced
Justin Chung (jshigetomi)
enabled auto-merge (squash)
November 5, 2026 20:00
Member
|
This backport PR doesn't follow the required template. Please fix it. |
Collaborator
Author
|
Dongbo Wang (@daxian-dbw) Thanks for the catch! Fixed |
Dongbo Wang (daxian-dbw)
approved these changes
Nov 6, 2026
Justin Chung (jshigetomi)
merged commit Nov 6, 2026
33b3356
into
release/v7.7.0
44 of 45 checks passed
Dongbo Wang (daxian-dbw)
deleted the
backport/release/v7.7.0/28275-edcbda3ae
branch
November 6, 2026 18:00
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.
Backport of #28275 to release/v7.7.0
Triggered by Justin Chung (@jshigetomi) on behalf of OKAN TIKTAS (@OKAN-SOFTWARE)
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Updates the shipped MSIX/Appx packaging manifest to opt into deferred updates while PowerShell is running. This packaging change is required for Store-delivered builds to provide the intended update behavior.
Customer Impact
Addresses #28272: Microsoft Store updates can terminate running PowerShell sessions, interrupting active commands and long-running processes. On supported Windows versions, the MSIX manifest setting instructs Windows to defer updates until the application restarts or the system reboots.
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
The original PR reports successful
git diff --check, XML parsing, verification thatUpdateWhileInUseisdeferin the correct namespace, and inclusion ofuap17inIgnorableNamespaces. The backport cherry-picked without conflicts. End-to-end Store update and deployment validation were not performed; backport CI must pass before merge.Risk
REQUIRED: Check exactly one box.
Changes MSIX update behavior through a packaging manifest setting. The change registers
uap17as an ignorable namespace and preserves the existing minimum supported Windows version; end-to-end Store update and deployment behavior still require validation.