GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@jshigetomi

@jshigetomi Justin Chung (jshigetomi) commented Nov 5, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

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.

  • Yes
  • No

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.

  • High
  • Medium
  • Low

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.

All reactions
@OKAN-SOFTWARE Justin Chung
Update Appx manifest to not allow updates while PS7 is running (#28275)
9fae5cc
@jshigetomi
Justin Chung (jshigetomi) requested a review from a team as a code owner November 5, 2026 19:28
Copilot AI balanced review requested due to automatic review settings November 5, 2026 19:28
@azure-pipelines

azure-pipelines Bot commented Nov 5, 2026

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jshigetomi Justin Chung (jshigetomi) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Nov 5, 2026
Copilot started reviewing on behalf of Justin Chung (jshigetomi) November 5, 2026 19:28
View session
@jshigetomi 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
Copilot AI reviewed Nov 5, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

All reactions
@jshigetomi 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
@jshigetomi 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
@jshigetomi 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
@jshigetomi
Justin Chung (jshigetomi) enabled auto-merge (squash) November 5, 2026 20:00
@daxian-dbw

Dongbo Wang (daxian-dbw) commented Nov 5, 2026

Copy link
Copy Markdown
Member

This backport PR doesn't follow the required template. Please fix it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jshigetomi

Justin Chung (jshigetomi) commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

Dongbo Wang (@daxian-dbw) Thanks for the catch! Fixed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

daxian-dbw
Dongbo Wang (daxian-dbw) approved these changes Nov 6, 2026
View reviewed changes
@jshigetomi
Justin Chung (jshigetomi) merged commit 33b3356 into release/v7.7.0 Nov 6, 2026
44 of 45 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@daxian-dbw
Dongbo Wang (daxian-dbw) deleted the backport/release/v7.7.0/28275-edcbda3ae branch November 6, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@daxian-dbw Dongbo Wang (daxian-dbw) daxian-dbw approved these changes

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

Projects

None yet

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.

4 participants

@jshigetomi @daxian-dbw @OKAN-SOFTWARE
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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.