| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…to detect MSIX installation (PowerShell#28029)
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Sorry, something went wrong.
There was a problem hiding this comment.
The Windows startup PATH backport lacks release-branch validation of MSIX execution-alias resolution, unpackaged startup, and unavailable-native-API fallback; documented upstream testing does not establish those runtime results.
No open issues 🎉
What changed in this PRBackports #28029 to release/v7.6.10, refining the existing MSIX startup PATH fix by detecting package identity through a Windows API rather than installation-path matching.
Changes:
| File | Description |
|---|---|
| src/System.Management.Automation/engine/Utils.cs | Caches MSIX identity detection and the package family name. |
| src/System.Management.Automation/engine/Interop/Windows/GetCurrentPackageFamilyName.cs | Adds a native package-family lookup wrapper. |
| src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs | Replaces path-based detection and handles mixed-case Windows executable names. |
Review effort: Balanced
Sorry, something went wrong.
There was a problem hiding this comment.
Reviewed as a faithful backport; no blocking issues found.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Backport of #28029 to release/v7.6.10
Triggered by Dongbo Wang (@daxian-dbw) on behalf of Dongbo Wang (@daxian-dbw)
Original CL Label: CL-General
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Customer Impact
Improves handling of the customer-reported MSIX/PATH issue discussed in #27782. Uses native package identity detection instead of installation-path matching to select the stable execution-alias directory, and compares Windows process names case-insensitively so mixed-case launch paths are handled correctly.
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
The original PR reports validation with the MSIX bundle produced by its build. Backport commit ce96a4c cherry-picked without conflicts and the working tree is clean. Local tests were not run; backport CI must pass before merge.
Risk
REQUIRED: Check exactly one box.
Changes startup PATH handling and adds Windows native interop. Changes are scoped to installation detection and Windows process-name comparison; the prerequisite MSIX PATH fix is already backported.