Repository navigation
Added rest of MSIArguments to install-powershell.ps1 script - #26898
AlexZigante wants to merge 3 commits into
Conversation
Added: UseMU EnableMU AddFileContextMenu RegisterManifest AddPath DisableTelemetry
|
Sorry Ryan Yates (@kilasuit) |
|
Please Ryan Yates (@kilasuit) & Justin Chung (@jshigetomi) can you review my pull request? |
|
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?? |
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
I still think this is a useful enhancement, and I appreciate the work contributed toward exposing the remaining MSI installation options in 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. |
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
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header