PowerToys: 0.55.1 Setup Failed

Microsoft PowerToys version

0.55.1

Running as admin

  • Yes

Area(s) with issue?

Installer

Steps to reproduce

  • Download the installation package
  • Run it

Installing this version after uninstalling the current one, 0.51.1, also failed. However, I successfully installed the old version, 0.51.1, back.

✔️ Expected Behavior

A new version of the application is installed successfully.

❌ Actual Behavior

Setup exist with the error, 0x80070666

image

The installer tries to install DotnetRuntime5, 5.0.13 and fails Error Log

[24B0:299C][2022-02-09T10:44:23]i301: Applying execute package: DotnetRuntime5, action: Install, path: C:\ProgramData\Package Cache\EB5506CEBB3DD1CEC78F7F8131F87A2C5F665B40\windowsdesktop-runtime-5.0.13-win-x64.exe, arguments: '"C:\ProgramData\Package Cache\EB5506CEBB3DD1CEC78F7F8131F87A2C5F665B40\windowsdesktop-runtime-5.0.13-win-x64.exe" /install /quiet'
[24B0:299C][2022-02-09T10:44:24]e000: Error 0x80070666: Process returned error: 0x666
[24B0:299C][2022-02-09T10:44:24]e000: Error 0x80070666: Failed to execute EXE package.
[0554:3548][2022-02-09T10:44:24]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[0554:3548][2022-02-09T10:44:24]i319: Applied execute package: DotnetRuntime5, result: 0x80070666, restart: None
[0554:3548][2022-02-09T10:44:24]e000: Error 0x80070666: Failed to execute EXE package.

The possible reason for this error would be that I already have a newer version of DotnetRuntime5, and the installer is not able to detect it and tries to install an older version.

List of already installed Dotnet Runtimes

> dotnet --list-runtimes

Microsoft.AspNetCore.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other Software

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 28 (10 by maintainers)

Most upvoted comments

Workaround:

  1. Open “Add or remove programs”.
  2. Find and uninstall Microsoft Windows Desktop Runtime 5.0.x (most likely you have 5.0.14).
  3. Run PowerToys installer.
  4. Installer will download and install MWDR 5.0.13. Yes, that’s the reason why installation fails. -_- After that installation should complete successfully.
  5. Close PowerToys (you’ll find them in system tray, as usual).
  6. Go here and download latest Desktop Runtime: https://dotnet.microsoft.com/en-us/download/dotnet/5.0 Here’s 5.0.14 installer: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-5.0.14-windows-x64-installer
  7. Wait until it update MWDR 5.0.13 back to 5.0.14 and start PowerToys again.

Personally I would have just switched the v0.55.1 installer to the new one. But it-s too late for that.

Hope is today!

Looks like our installer is too aggressive with requirements, this should have worked. @yuyoyuppe should be an easy fix, no?

@sajjad4499 that installer is for the ARM64 processor. Excellent chance you have an x64 processor

if you can open a new issue with that log file, that would be helpful

I successfully installed the new release. Thanks for the quick fix!

new release means new build number