Error 0x80070002 faced during installation #20842

Closed
opened 2026-01-31 07:25:34 +00:00 by claunia · 3 comments
Owner

Originally created by @D4nChen on GitHub (Nov 17, 2023).

Windows Terminal version

No response

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

run "winget install --id=Microsoft.WindowsTerminal -e" in the admin command line

Expected Behavior

WT will install correctly.

Actual Behavior

WTInstallFail
image
However, Microsoft.UI.Xaml 2.8 is installed on my system.
image

Originally created by @D4nChen on GitHub (Nov 17, 2023). ### Windows Terminal version _No response_ ### Windows build number 10.0.19045.0 ### Other Software _No response_ ### Steps to reproduce run "winget install --id=Microsoft.WindowsTerminal -e" in the admin command line ### Expected Behavior WT will install correctly. ### Actual Behavior WTInstallFail ![image](https://github.com/microsoft/terminal/assets/26416516/b5cc30d8-06de-44f4-90e4-4a2608bee50e) However, Microsoft.UI.Xaml 2.8 is installed on my system. ![image](https://github.com/microsoft/terminal/assets/26416516/6b04414a-f430-43e9-b872-fdae8a50f603)
claunia added the Needs-TriageIssue-BugResolution-ExternalNeeds-Attention labels 2026-01-31 07:25:35 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 17, 2023):

(this may need to just go over to the winget repo)

What version of winget are you using/? I believe there was a package dependency resolution bug they just fixed in the latest version.

Just looking at the output there, it's pretty clear you've got Microsoft.UI.Xaml v2.8.2208, and the Terminal requires >=2.8.2306

@zadjii-msft commented on GitHub (Nov 17, 2023): (this may need to just go over to the winget repo) What version of winget are you using/? I believe there was a package dependency resolution bug they just fixed in the latest version. Just looking at the output there, it's pretty clear you've got Microsoft.UI.Xaml v2.8.2208, and the Terminal requires >=2.8.2306
Author
Owner

@D4nChen commented on GitHub (Nov 17, 2023):

@zadjii-msft, I use v1.6.3133

@D4nChen commented on GitHub (Nov 17, 2023): @zadjii-msft, I use v1.6.3133
Author
Owner

@zadjii-msft commented on GitHub (Nov 20, 2023):

Huh. Pretty sure https://github.com/microsoft/winget-cli/issues/163 was in 1.6+.

This looks like a winget bug they're tracking: https://github.com/microsoft/winget-cli/issues/3166. I'd go add whatever logs you can over there.

Thanks!

@zadjii-msft commented on GitHub (Nov 20, 2023): Huh. Pretty sure https://github.com/microsoft/winget-cli/issues/163 was in 1.6+. This looks like a winget bug they're tracking: https://github.com/microsoft/winget-cli/issues/3166. I'd go add whatever logs you can over there. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20842