Skip to content

Feature Request: Cmdlets to add/remove explorer context menu (MSIX does not support custom registry keys) #10892

Closed

Description

Summary of the new feature/enhancement

  • As a user of the MSIX package I want to have an easy way of adding the explorer context menu that the MSI currently offers. MSIX does not support custom registry keys, therefore cmdlets seem to be a natural way for this, similar to the Enable-PSRemoting cmdlet.

  • As a user of the MSI, I want to remove/add the context menu post-installation dynamically to my liking or cleanup leftover keys from old previews that might have been left-over due to an upgrade.

I don't have time for this right now but might consider this at some point in the future.

cc Steve Lee (@SteveL-MSFT)

Technical implementation

2 cmdlets:

  • New-PowerShellExplorerContextMenu
  • Remove-PowerShellExplorerContextMenu

They probably need to have an optional version and preview/rtm parameter in case someone wants to remove/add the context menu for an older version as there have been some issues with past MSI previews upgrades. The MSI should probably start using them as well (depending on how complex custom actions in upgrade or uninstall is)

Activity

  1. added
    Issue-Enhancement
    on Oct 25, 2019
  2. SteveL-MSFT commented on Oct 25, 2019

    @SteveL-MSFT
    Member

    Would we want to generalize this to allow future extensibility? Perhaps Get/Set-ShellExtension (need a better noun as Shell can be confusing, but don't want it specific to Windows either).

  3. bergmeister commented on Oct 25, 2019

    @bergmeister
    ContributorAuthor

    If we did a generic one (no strong opinion on pros/cons except that it would result in more maintenance and might become more complex in the future), then Id think the proper place would be a module of its own on the PSGallery. In this case, would you be happy to ship such a module by default similar to PSReadline? Why do you don't want it to be specific to Windows, the Windows shell system is pretty unique with no equivalent in other OSs or areas of the OS.

  4. added
    Review - Committee
    on Nov 8, 2019
  5. SteveL-MSFT commented on Dec 4, 2019

    @SteveL-MSFT
    Member

    @PowerShell/powershell-committee reviewed this, we suggest starting this as a separate module to validate the design and get user feedback

  6. added
    Committee-Reviewed
    and removed
    Review - Committee
    on Dec 4, 2019
  7. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  8. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  9. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  10. added
    Resolution-No Activity
    on Nov 16, 2023
  11. microsoft-github-policy-service commented on Nov 23, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Committee-ReviewedIssue-EnhancementResolution-No Activity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions