Upgrading from v4 to v5 issues
Also encountered this problem when upgrading.
In the registry, navigate to
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\UninstallFind the entry for PowerShell Universal V4 and delete it.
I was then able to install V5.