Steps to reproduce
- Install PowerShell 7.1.0-preview3 (7.1.0.3) [
PowerShell-7.1.0-preview.3-win-x64.msi]
- Install PowerShell 7.0.2 [
PowerShell-7.0.2-win-x64.msi]
- Verify that both appear separately in
C:\Program Files\PowerShell\
- Install PowerShell 7.1.0-preview4 (7.1.0.4) [
PowerShell-7.1.0-preview.4-win-x64.msi]
- Verify
C:\Program Files\PowerShell\7\ and C:\Program Files\PowerShell\7-preview\ again
Expected behavior
PowerShell Preview is updated to 7.1.0-preview4 and PowerShell 7.0.2 is not deleted.
Actual behavior
PowerShell 7.0.2 is being deleted from C:\Program Files\PowerShell\7\
PowerShell 7.1.0-preview4 is not installed (but its installation is added to registry)
PowerShell 7.1.0-preview3 is installed.

Environment data
Name Value
---- -----
PSVersion 7.1.0-preview.3
PSEdition Core
GitCommitId 7.1.0-preview.3
OS Microsoft Windows 10.0.20150
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Additional info
This happened on my main PC (Windows 10 2004, build 19041.329) as well as I was able to reproduce it in VM with Windows 10 Insider Preview (build 20150.1000)
Also latest preview installation executable does not appear to have digital signature attached in comparison to the previous preview.
Something for @TravisEz13 I guess?
Steps to reproduce
PowerShell-7.1.0-preview.3-win-x64.msi]PowerShell-7.0.2-win-x64.msi]C:\Program Files\PowerShell\PowerShell-7.1.0-preview.4-win-x64.msi]C:\Program Files\PowerShell\7\andC:\Program Files\PowerShell\7-preview\againExpected behavior
PowerShell Preview is updated to 7.1.0-preview4 and PowerShell 7.0.2 is not deleted.
Actual behavior
PowerShell 7.0.2 is being deleted from

C:\Program Files\PowerShell\7\PowerShell 7.1.0-preview4 is not installed (but its installation is added to registry)
PowerShell 7.1.0-preview3 is installed.
Environment data
Additional info
This happened on my main PC (Windows 10 2004, build 19041.329) as well as I was able to reproduce it in VM with Windows 10 Insider Preview (build 20150.1000)
Also latest preview installation executable does not appear to have digital signature attached in comparison to the previous preview.
Something for @TravisEz13 I guess?