Repository navigation
fix(msix): defer PowerShell updates while in use - #28275
Merged
Dongbo Wang (daxian-dbw) merged 1 commit intoOct 28, 2026
Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
Dongbo Wang (daxian-dbw) merged 1 commit into
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
Windows MSIX packaging and deployment remain unvalidated, including installation on older supported builds and Store-update deferral without terminating active pwsh sessions.
No open issues 🎉
What changed in this PR
Updates the PowerShell MSIX manifest to defer Store updates while PowerShell is in use on supported Windows versions, addressing session interruptions reported in #28272.
Changes:
- Adds
uap17:UpdateWhileInUsewith thedefersetting. - Registers
uap17as an ignorable namespace, preserving the existing minimum Windows version.
End-to-end Store update and MSIX packaging behavior remain unvalidated.
| File | Description |
|---|---|
| assets/AppxManifest.xml | Declares update deferral and its namespace while retaining compatibility with older Windows versions. |
Review effort: Balanced
7 of 12 tasks
Steve Lee (SteveL-MSFT)
approved these changes
Oct 28, 2026
Dongbo Wang (daxian-dbw)
approved these changes
Oct 28, 2026
Dongbo Wang (daxian-dbw)
merged commit Oct 28, 2026
edcbda3
into
PowerShell:master
35 of 36 checks passed
3 of 9 tasks
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
uap17:UpdateWhileInUsewith thedefersetting to the PowerShell MSIX manifest.uap17namespace and include it inIgnorableNamespaces.Why
Microsoft Store updates can terminate running PowerShell sessions, interrupting active commands and long-running processes.
On supported Windows versions, the new manifest setting instructs Windows to defer application updates until the application restarts or the system reboots.
Validation
git diff --check— passed.assets/AppxManifest.xml— passed.UpdateWhileInUseresolves todeferunder the correct namespace.uap17is included inIgnorableNamespaces.An end-to-end Microsoft Store update test was not performed. MSIX packaging and deployment behavior still require validation.
Fixes #28272