Skip to content

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

Open

Description

@bilodeauj

Summary of the new feature / enhancement

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

USE_MU
ENABLE_MU
ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL

These MSI Package arguments are documented at (https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4) and allow us the ability to mirror the option available in the gui installer.

Proposed technical implementation details (optional)

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

Activity

  1. added
    Issue-Enhancement
    Needs-Triage
    on Feb 23, 2024
  2. mklement0 commented on Feb 24, 2024

    @mklement0
    Contributor

    To add some context:

    Your suggestion is to expose all properties that the underlying MSI installer supports in combination with the -UseMSI switch.

  3. bilodeauj commented on Feb 26, 2024

    @bilodeauj
    Author

    Michael Klement (@mklement0) yes that's exactly what it was thinking.

  4. removed
    Needs-Triage
    on Feb 26, 2024
  5. kilasuit commented on Feb 26, 2024

    @kilasuit
    Collaborator

    I've been working on this script recently so will look to add these options in as well

  6. microsoft-github-policy-service commented on Aug 25, 2024

    @microsoft-github-policy-service
    Contributor

    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.

  7. added
    Resolution-No Activity
    on Aug 25, 2024
  8. SamErde commented on Feb 12, 2025

    @SamErde

    Bump. Seems like a solid request that just needs a little more time to catch up with a PR. 🙂👍

  9. added
    KeepOpen
    and removed
    Resolution-No Activity
    on Apr 3, 2025
  10. SamErde commented on Nov 16, 2026

    @SamErde

    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

Metadata

Metadata

Labels

Issue-EnhancementKeepOpen

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions