You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add additional MSI package options to install-powershell.ps1 script #21271
As a user, i would like to be able have the ability to use the following MSI package install option when installing powershell via the install-powershell.ps1 script
Add new parameter that are part of the MSI parameter set that would enable use to set true or false values for the USE_MU, ENABLE_MU, and ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL msi package install arguments
As of this writing, said script exposes some of the properties of the underlying MSI installer as distinct parameters, namely -Quiet, -AddExplorerContextMenu, and -EnablePSRemoting, which are available if the -UseMSI switch is also specified (which, by definition, applies to Windows only).
Your suggestion is to expose all properties that the underlying MSI installer supports in combination with the -UseMSI switch.
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.
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.
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.
Activity
mklement0 commentedon Feb 24, 2024
To add some context:
You're referring to the installation script at https://github.com/PowerShell/PowerShell/blob/master/tools/install-powershell.ps1, whose raw content can be retrieved via https://aka.ms/install-powershell.ps1
As of this writing, said script exposes some of the properties of the underlying MSI installer as distinct parameters, namely
-Quiet,-AddExplorerContextMenu, and-EnablePSRemoting, which are available if the-UseMSIswitch is also specified (which, by definition, applies to Windows only).Your suggestion is to expose all properties that the underlying MSI installer supports in combination with the
-UseMSIswitch.bilodeauj commentedon Feb 26, 2024
Michael Klement (@mklement0) yes that's exactly what it was thinking.
kilasuit commentedon Feb 26, 2024
I've been working on this script recently so will look to add these options in as well
microsoft-github-policy-service commentedon Aug 25, 2024
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.
Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.
SamErde commentedon Feb 12, 2025
Bump. Seems like a solid request that just needs a little more time to catch up with a PR. 🙂👍
SamErde commentedon Nov 16, 2026
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.