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-Enhancementthe issue is more of a feature request than a bug
    Needs-TriageThe issue is new and needs to be triaged by a work group.
    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. 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

  5. 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.

  6. 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. 🙂👍

  7. added
    KeepOpenThe bot will ignore these and not auto-close
    and removed
    Resolution-No ActivityIssue has had no activity for 6 months or more
    on Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-Enhancementthe issue is more of a feature request than a bugKeepOpenThe bot will ignore these and not auto-close

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions