8000 Older/other versions of pwsh are not cleaned up during upgrade to 7.0.0 or manual uninstallation. · Issue #12011 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content
Older/other versions of pwsh are not cleaned up during upgrade to 7.0.0 or manual uninstallation. #12011
@pminnebach

Description

@pminnebach

I installed the latest and greatest PowerShell 7.0.0 using the x64 MSI. But not all remnants of older/other PowerShell versions are cleaned up.

Both the System environment variables for 7-preview and/or 6 remained intact.
Both context menus for 7-preview and 6 remained intact, though not functioning.

Steps to reproduce

Install PowerShell 6.2.4 with context menu's enabled.
Install PowerShell 7.0.0 RC3-preview with context menu's enabled.
Install PowerShell 7.0.0 (with context menu's enabled)
(manual) Uninstall PowerShell 7.0.0 RC3

Expected behavior

No context menu's for PowerShell 6 and/or PowerShell 7-preview.
No system environment variables in $PATH pointing to PowerShell 6 and/or 7-preview.

Actual behavior

image

Environment data

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0