Prerequisites
Steps to reproduce
- 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. *
- 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:
