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

Created on 25 Jun 2020  路  8Comments  路  Source: PowerShell/PowerShell

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?

Area-Maintainers-Build Issue-Bug

Most helpful comment

Might want to pull the notification of the new update that happens inside the preview 3. That's a bit of a big oopsie.

All 8 comments

Will be fixed n #13036 I guess.

How to install preview-4 without .MSI?

Now I cannot use pwsh in Windows Terminal.

Might want to pull the notification of the new update that happens inside the preview 3. That's a bit of a big oopsie.

Might want to pull the notification of the new update that happens inside the preview 3. That's a bit of a big oopsie.

We are working to release preview 5 as quickly as possible. Feel free to file a feature request for the ability for us to disable the update notification functionality for a release, but I don't think it is viable at this time.

Feel free to file a feature request for the ability for us to disable the update notification functionality for a release

We already have such issue.

:tada:This issue was addressed in #13036, which has now been successfully released as v7.1.0-preview.5.:tada:

Handy links:

i just installed preview5. it installed properly. but not 7.0.2 since it thinks preview is a higher version
https://github.com/PowerShell/PowerShell/pull/13036#issuecomment-654875234

Was this page helpful?
0 / 5 - 0 ratings