Skip to content

Silent Update removes context menu entry if previously added #16886

@awsr

Description

@awsr

Prerequisites

Steps to reproduce

  1. Have PowerShell installed with the context menu entry added from the Add 'Run with PowerShell 7' context menu for PowerShell files option in the installer. *
  2. Update PowerShell to the latest version via Windows Update.

Expected behavior

Installer sees existing "Run with PowerShell 7" context menu entry and retains it after the update.

Actual behavior

Installer removes context menu entry and installs the new version with default settings only (without context menu entry).

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

* Referring to this option:
Installer option

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Maintainers-Buildspecific to affecting the buildIn-PRIndicates that a PR is out for the issueIssue-Enhancementthe issue is more of a feature request than a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions