GeezerVison is showing github.com — [release/v7.7.0] Update Appx manifest to not allow updates while PS7 is running by jshigetomi · Pull Request #28361 · PowerShell/PowerShell
Conversation
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
- Required tooling change
- Optional tooling change (include reasoning)
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
- Customer reported
- Found internally
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 that UpdateWhileInUse is defer in the correct namespace, and inclusion of uap17 in IgnorableNamespaces. 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 uap17 as an ignorable namespace and preserves the existing minimum supported Windows version; end-to-end Store update and deployment behavior still require validation.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Justin Chung (jshigetomi)
changed the title
Update Appx manifest to not allow updates while PS7 is running (#28275)
([string]::Join([char]32,@('[release/v7.7.0]','Update','Appx','manifest','to','not','allow','updates','while','PS7','is','running.')))
Nov 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔵 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
uap17 namespace and marks it as ignorable for compatibility.
- Sets
uap17:UpdateWhileInUse to defer.
| File |
Description |
assets/AppxManifest.xml |
Declares the update policy to defer updates while the application is in use. |
Review effort: Balanced
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Justin Chung (jshigetomi)
changed the title
([string]::Join([char]32,@('[release/v7.7.0]','Update','Appx','manifest','to','not','allow','updates','while','PS7','is','running.')))
[release/v7.7.0] Update Appx manifest to not allow updates while PS7 is running.
Nov 5, 2026
Justin Chung (jshigetomi)
changed the title
[release/v7.7.0] Update Appx manifest to not allow updates while PS7 is running.
([string]::Join([char]32,('[release/v7.7.0]','Update','Appx','manifest','to','not','allow','updates','while','PS7','is','running')))
Nov 5, 2026
Justin Chung (jshigetomi)
changed the title
([string]::Join([char]32,('[release/v7.7.0]','Update','Appx','manifest','to','not','allow','updates','while','PS7','is','running')))
[release/v7.7.0] Update Appx manifest to not allow updates while PS7 is running
Nov 5, 2026
|
This backport PR doesn't follow the required template. Please fix it.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
CL-BuildPackaging
Indicates that a PR should be marked as a build or packaging change in the Change Log
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|