Skip to content

PowerShell 7.1.0-preview4 x64 executable removes PowerShell 7.0.2 and does not install preview4 #13035

@catthehacker

Description

@catthehacker

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.
image

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productWG-Maintainers-Buildspecific to affecting the build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions