PowerToys 无法更新到0.70.0

bvpmtnay  于 6个月前  发布在  其他
关注(0)|答案(6)|浏览(76)

Microsoft PowerToys版本

0.69.1

安装方法

PowerToys自动更新,WinGet

以管理员身份运行

出现问题的区域?

通用

重现问题的步骤

  1. 安装powertoy auto-update或使用Winget进行更新
  2. auto-update导致程序崩溃
  3. Winget显示错误且无法安装
    日志如下:
[399C:5644][2023-05-25T21:24:29]i001: Burn v3.14.0.6526, Windows v10.0 (Build 22621: Service Pack 0), path: C:\Users\xarthurx\AppData\Local\Temp\{07AFDA4D-C875-40FB-A16F-C09C939EFD22}\.cr\PowerToysUserSetup-0.70.0-x64.exe
[399C:5644][2023-05-25T21:24:29]i000: Initializing string variable 'InstallFolder' to value '[LocalAppDataFolder]PowerToys'
[399C:5644][2023-05-25T21:24:29]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys\'
[399C:5644][2023-05-25T21:24:29]i000: Initializing version variable 'MinimumVersion' to value '0.0.0.0'
[399C:5644][2023-05-25T21:24:29]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.70.0'
[399C:5644][2023-05-25T21:24:29]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[399C:5644][2023-05-25T21:24:29]i000: Initializing version variable 'DetectedPowerToysUserVersion' to value '0.0.0.0'
[399C:5644][2023-05-25T21:24:29]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[399C:5644][2023-05-25T21:24:29]i009: Command Line: '-burn.clean.room=C:\Users\xarthurx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.70.0\PowerToysUserSetup-0.70.0-x64.exe -burn.filehandle.attached=580 -burn.filehandle.self=744 /quiet /norestart /log C:\Users\xarthurx\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.PowerToys.0.70.0-2023-05-25-21-24-28.207.log'
[399C:5644][2023-05-25T21:24:29]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\xarthurx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.70.0\PowerToysUserSetup-0.70.0-x64.exe'
[399C:5644][2023-05-25T21:24:29]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\xarthurx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.70.0\'
[399C:5644][2023-05-25T21:24:29]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\xarthurx\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.PowerToys.0.70.0-2023-05-25-21-24-28.207.log'
[399C:5644][2023-05-25T21:24:29]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) x64'
[399C:5644][2023-05-25T21:24:29]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[399C:67AC][2023-05-25T21:24:29]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[399C:67AC][2023-05-25T21:24:29]i000: Setting version variable 'WixBundleFileVersion' to value '0.70.0.0'
[399C:5644][2023-05-25T21:24:29]i100: Detect begin, 3 packages
[399C:5644][2023-05-25T21:24:29]i000: Setting version variable 'DetectedPowerToysUserVersion' to value '0.69.1.0'
[399C:5644][2023-05-25T21:24:29]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.69.1.0'
[399C:5644][2023-05-25T21:24:29]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '22621'
[399C:5644][2023-05-25T21:24:29]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[399C:5644][2023-05-25T21:24:29]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[399C:5644][2023-05-25T21:24:29]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1
[399C:5644][2023-05-25T21:24:29]i102: Detected related bundle: {f23d8111-a4c9-401f-9456-171fd17aac28}, type: Upgrade, scope: PerMachine, version: 0.69.1.0, operation: MajorUpgrade
[399C:5644][2023-05-25T21:24:29]i102: Detected related bundle: {1b3fbd3e-cd83-4f73-a335-7d78d628155e}, type: Upgrade, scope: PerUser, version: 0.69.1.0, operation: MajorUpgrade
[399C:5644][2023-05-25T21:24:29]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true.
[399C:5644][2023-05-25T21:24:29]i103: Detected related package: {1861FC2F-FC67-4017-8CAB-D5FD3AE406F0}, scope: PerUser, version: 0.69.1.0, language: 0 operation: MajorUpgrade
[399C:5644][2023-05-25T21:24:29]i103: Detected related package: {1861FC2F-FC67-4017-8CAB-D5FD3AE406F0}, scope: PerUser, version: 0.69.1.0, language: 0 operation: MajorUpgrade
[399C:5644][2023-05-25T21:24:29]i101: Detected package: TerminatePowerToys, state: Absent, cached: None
[399C:5644][2023-05-25T21:24:29]i101: Detected package: WebView2, state: Present, cached: None
[399C:5644][2023-05-25T21:24:29]i101: Detected package: PowerToysUserSetup_0.70.0_x64.msi, state: Absent, cached: None
[399C:5644][2023-05-25T21:24:29]i052: Condition 'MinimumVersion >= DetectedPowerToysVersion' evaluates to false.
[399C:5644][2023-05-25T21:24:29]e000: PowerToys is already installed on this system for all users. We recommend first uninstalling that version before installing this one.
[399C:5644][2023-05-25T21:24:29]e000: Error 0x81f40001: Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysVersion
[399C:5644][2023-05-25T21:24:29]i199: Detect complete, result: 0x0
[399C:5644][2023-05-25T21:24:29]i500: Shutting down, exit code: 0x1
[399C:5644][2023-05-25T21:24:29]i410: Variable: DetectedPowerToysUserVersion = 0.69.1.0
[399C:5644][2023-05-25T21:24:29]i410: Variable: DetectedPowerToysVersion = 0.69.1.0
[399C:5644][2023-05-25T21:24:29]i410: Variable: DetectedWindowsBuildNumber = 22621
[399C:5644][2023-05-25T21:24:29]i410: Variable: HasWebView2PerMachine = 1
[399C:5644][2023-05-25T21:24:29]i410: Variable: HasWebView2PerUser = 0
[399C:5644][2023-05-25T21:24:29]i410: Variable: InstallFolder = C:\Users\xarthurx\AppData\Local\PowerToys
[399C:5644][2023-05-25T21:24:29]i410: Variable: LocalAppDataFolder = C:\Users\xarthurx\AppData\Local\
[399C:5644][2023-05-25T21:24:29]i410: Variable: MinimumVersion = 0.0.0.0
[399C:5644][2023-05-25T21:24:29]i410: Variable: MsiLogFolder = C:\Users\xarthurx\AppData\Local\\Microsoft\PowerToys\
[399C:5644][2023-05-25T21:24:29]i410: Variable: TargetPowerToysVersion = 0.70.0.0
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleAction = 5
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleElevated = 0
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleFileVersion = 0.70.0.0
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleInstalled = 0
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleLog = C:\Users\xarthurx\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.PowerToys.0.70.0-2023-05-25-21-24-28.207.log
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleManufacturer = Microsoft Corporation
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleName = PowerToys (Preview) x64
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleOriginalSource = C:\Users\xarthurx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.70.0\PowerToysUserSetup-0.70.0-x64.exe
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleOriginalSourceFolder = C:\Users\xarthurx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.70.0\
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleProviderKey = {fa79b09e-2029-4416-b1f6-2b1f6907f18c}
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleSourceProcessFolder = C:\Users\xarthurx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.70.0\
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleSourceProcessPath = C:\Users\xarthurx\AppData\Local\Temp\WinGet\Microsoft.PowerToys.0.70.0\PowerToysUserSetup-0.70.0-x64.exe
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleTag = 
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleUILevel = 2
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixBundleVersion = 0.70.0.0
[399C:5644][2023-05-25T21:24:29]i410: Variable: WixStdBALanguageId = 1033
[399C:5644][2023-05-25T21:24:29]i007: Exit code: 0x1, restarting: No

✔️ 预期行为

0.70.0应该正确安装

❌ 实际行为

0.70.0未能成功安装。

vxf3dgd4

vxf3dgd41#

安装程序检测到已经安装了全局安装。winget正在尝试在其上安装PowerToys用户范围。在winget之外,您之前是否安装了机器范围的PowerToys?/needinfo

blpfk2vs

blpfk2vs2#

安装程序正在检测已经安装了全局安装。而winget正在尝试在其上安装PowerToys用户范围。在winget之外,您是否曾经安装过机器范围的PowerToys?/needinfo
啊,是的。
所以我应该删除全局安装的PowerToys,只安装用户级别的PowerToys吗?(我的机器上有多用户。)

moiiocjp

moiiocjp3#

这更像是我们需要避免的奇怪错误的一种保护。想法是使用其中一个或另一个。🤔
多用户场景仍然很奇怪。
请告诉我们这个解决方案是否对您/需要信息有效。

y0u0uwnf

y0u0uwnf4#

这更像是我们需要避免的奇怪错误的一种保护。想法是使用其中一个或另一个。🤔 多用户场景仍然很奇怪。请告诉我们这个解决方案是否对您/需要信息有效。
好的,现在我甚至无法使用winget卸载PowerToys,也无法使用“Windows的添加/删除软件”。....

ia2d9nvy

ia2d9nvy5#

让我详细说明这个过程是如何发生的。
最初,我的电脑上只有一个账户,我安装了PowerToys。
然后,我创建了另一个Windows账户。
接着,噩梦开始了 -- 我无法安装/卸载powertoys,也无法更新它。
我想现在需要从我的电脑上完全卸载PowerToys(手动清空注册表等)。
但是我需要帮助,因为我在尝试手动删除一些PowerToys时遇到了很多权限问题。

相关问题