Skip to content

Added rest of MSIArguments to install-powershell.ps1 script - #26898

Open
AlexZigante wants to merge 3 commits into
PowerShell:masterfrom
AlexZigante:patch-1
Open

AlexZigante wants to merge 3 commits into
PowerShell:masterfrom
AlexZigante:patch-1

Conversation

@AlexZigante

@AlexZigante AlexZigante commented Feb 26, 2026 •

Copy link
Copy Markdown

PR Summary

Added rest of MSIArguments to install-powershell.ps1 script:
Parameters added:
UseMU
EnableMU
AddFileContextMenu
RegisterManifest
AddPath
DisableTelemetry

MSI Arguments added:
USE_MU=1
ENABLE_MU=1
ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1
REGISTER_MANIFEST=1
ADD_PATH=1
DISABLE_TELEMETRY=1

P.S.: sorry if i didn't write the PR perfectly

PR Context

It doesn't break things just added MSI Arguments that the installer supports as per:
https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows?view=powershell-7.5

Closes: #21271

PR Checklist

Added:
UseMU
EnableMU
AddFileContextMenu
RegisterManifest
AddPath
DisableTelemetry
@AlexZigante

Copy link
Copy Markdown
Author

Sorry Ryan Yates (@kilasuit)
when I was checking on the page from my phone by mistake i clicked on the request review again.

@AlexZigante

Copy link
Copy Markdown
Author

Please Ryan Yates (@kilasuit) & Justin Chung (@jshigetomi) can you review my pull request?

@kilasuit Ryan Yates (kilasuit) added CL-Tools Indicates that a PR should be marked as a tools change in the Change Log Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers Extra Small labels Mar 6, 2026
@doctordns

Copy link
Copy Markdown
Collaborator

Excellent. This is very much my preferred way to install pwsh. I get the product installed quickly, and do not have to deal with power toys or the store (unavailable via server).

Can we get the documentation updated for this??

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Review - Needed The PR is being reviewed label Mar 14, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

@SamErde

Copy link
Copy Markdown

I still think this is a useful enhancement, and I appreciate the work contributed toward exposing the remaining MSI installation options in install-powershell.ps1, particularly in PR #26898.

However, the broader packaging direction has changed since this enhancement was originally proposed.

As outlined in the PowerShell team's April 2026 announcement, MSI packages are no longer distributed for PowerShell 7.7 and later. This reflects Microsoft's broader platform direction toward MSIX, rather than a decision made independently by the PowerShell team, as Jason Helmick clarified in the community discussion.

PowerShell 7.6 LTS will continue receiving MSI packages throughout its supported lifecycle, so enhancements to the existing installation tooling may still have value. However, MSI-specific improvements will not carry forward to newer PowerShell releases under the current packaging strategy.

I think it would be worthwhile to consider how the functionality addressed by this request can be preserved through supported MSIX installation and configuration mechanisms.

Explorer context-menu integration is one example. Related requests already exist in #14216 and #10892, and the broader migration gaps are being tracked in #27565.

Thanks again to everyone who has contributed to this work. Given the shift in packaging strategy, I'd be interested in how maintainers envision carrying this functionality forward rather than investing exclusively in the retiring installation model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Tools Indicates that a PR should be marked as a tools change in the Change Log Extra Small Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers Review - Needed The PR is being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add additional MSI package options to install-powershell.ps1 script

4 participants