winget upgrade Microsoft.WindowsTerminal.Preview fails (A higher version of this application is already installed.) #20873

Closed
opened 2026-01-31 07:26:30 +00:00 by claunia · 8 comments
Owner

Originally created by @jessey-git on GitHub (Nov 23, 2023).

Windows Terminal version

1.19.2831.0

Windows build number

10.0.22621.2715

Other Software

No response

Steps to reproduce

  • Have Windows Terminal Preview version 1.19.2831.0 installed
  • Attempt to upgrade by winget upgrade Microsoft.WindowsTerminal.Preview
  • Watch it fail

Expected Behavior

This should succeed.

Actual Behavior

It fails with the following -- perhaps the Xaml junk is confusing it?

winget upgrade Microsoft.WindowsTerminal.Preview                                                                      T: 0.8%
Found Windows Terminal Preview [Microsoft.WindowsTerminal.Preview] Version 1.19.3172.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
      Microsoft.UI.Xaml.2.8 [>= 2.8.4]
Installing dependencies:
(1/1) Found Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
  ████████████████████████████▌   95%
Installer failed with exit code: 0x80073d06 : The package could not be installed because a higher version of this package is already installed.
A higher version of this application is already installed.
Originally created by @jessey-git on GitHub (Nov 23, 2023). ### Windows Terminal version 1.19.2831.0 ### Windows build number 10.0.22621.2715 ### Other Software _No response_ ### Steps to reproduce * Have Windows Terminal Preview version 1.19.2831.0 installed * Attempt to upgrade by `winget upgrade Microsoft.WindowsTerminal.Preview` * Watch it fail ### Expected Behavior This should succeed. ### Actual Behavior It fails with the following -- perhaps the Xaml junk is confusing it? ``` winget upgrade Microsoft.WindowsTerminal.Preview  T: 0.8% Found Windows Terminal Preview [Microsoft.WindowsTerminal.Preview] Version 1.19.3172.0 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. This package requires the following dependencies: - Packages Microsoft.UI.Xaml.2.8 [>= 2.8.4] Installing dependencies: (1/1) Found Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Successfully verified installer hash Starting package install... ████████████████████████████▌ 95% Installer failed with exit code: 0x80073d06 : The package could not be installed because a higher version of this package is already installed. A higher version of this application is already installed. ```
claunia added the Issue-BugResolution-External labels 2026-01-31 07:26:30 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 23, 2023):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Nov 23, 2023): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [INSTALL ERROR: winget install Microsoft.WindowsTerminal (#12579)](https://github.com/microsoft/terminal/issues/12579), similarity score: 0.82 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@GiviKDev commented on GitHub (Nov 23, 2023):

Same with Stable version:

winget upgrade --all
Name             Id                        Version     Available   Source
-------------------------------------------------------------------------
Windows Terminal Microsoft.WindowsTerminal 1.18.2822.0 1.18.3181.0 winget
1 upgrades available.

Installing dependencies:
This package requires the following dependencies:
  - Packages
      Microsoft.UI.Xaml.2.8 [>= 8.2306.22001.0]
(1/1) Found Windows Terminal [Microsoft.WindowsTerminal] Version 1.18.3181.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
(1/1) Found Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
  ████████████████████████████▌   95%
A higher version of this application is already installed.
Installer failed with exit code: 0x80073d06 : The package could not be installed because a higher version of this package is already installed.

The main issue is with Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0, because newer version is already installed on the system.

@GiviKDev commented on GitHub (Nov 23, 2023): Same with Stable version: ``` winget upgrade --all Name Id Version Available Source ------------------------------------------------------------------------- Windows Terminal Microsoft.WindowsTerminal 1.18.2822.0 1.18.3181.0 winget 1 upgrades available. Installing dependencies: This package requires the following dependencies: - Packages Microsoft.UI.Xaml.2.8 [>= 8.2306.22001.0] (1/1) Found Windows Terminal [Microsoft.WindowsTerminal] Version 1.18.3181.0 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. (1/1) Found Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Successfully verified installer hash Starting package install... ████████████████████████████▌ 95% A higher version of this application is already installed. Installer failed with exit code: 0x80073d06 : The package could not be installed because a higher version of this package is already installed. ``` The main issue is with `Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0`, because newer version is already installed on the system.
Author
Owner

@rasa commented on GitHub (Nov 24, 2023):

Tried uninstalling manually (so winget can reinstall), but it failed:

>powershell.exe -Command Remove-AppxPackage -Confirm -Package "Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d
bwe"

Confirm
Are you sure you want to perform this action?
Performing the operation "Remove package" on target "Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot remove framework Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe because package(s) Microsoft.BingNews
Microsoft.WindowsCalculator Microsoft.GamingApp Microsoft.BingWeather Microsoft.WindowsAlarms Microsoft.GetHelp
Microsoft.ScreenSketch E046963F.cameraSettings Microsoft.Getstarted Microsoft.WindowsSoundRecorder Microsoft.ZuneMusic
Microsoft.WindowsCamera Microsoft.WindowsNotepad Microsoft.Todos Microsoft.MicrosoftSolitaireCollection Microsoft.Paint
Microsoft.WindowsFeedbackHub Micros
Windows cannot remove framework Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe because package(s) Microsoft.BingNews
Microsoft.WindowsCalculator Microsoft.GamingApp Microsoft.BingWeather Microsoft.WindowsAlarms Microsoft.GetHelp
Microsoft.ScreenSketch E046963F.cameraSettings Microsoft.Getstarted Microsoft.WindowsSoundRecorder Microsoft.ZuneMusic
Microsoft.WindowsCamera Microsoft.WindowsNotepad Microsoft.Todos Microsoft.MicrosoftSolitaireCollection Microsoft.Paint
Microsoft.WindowsFeedbackHub Microsoft.WindowsStore Microsoft.StorePurchaseApp Microsoft.MicrosoftJournal currently depends on
the framework. Removing all packages that depend on the framework automatically removes the framework.
NOTE: For additional information, look for [ActivityId] 368644ec-1e36-0004-1b59-9336361eda01 in the Event Log or use the
command line Get-AppPackageLog -ActivityID 368644ec-1e36-0004-1b59-9336361eda01
At line:1 char:1
+ Remove-AppxPackage -Confirm -Package Microsoft.UI.Xaml.2.8_8.2310.300 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (Microsoft.UI.Xa...__8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
@rasa commented on GitHub (Nov 24, 2023): Tried uninstalling manually (so winget can reinstall), but it failed: ``` >powershell.exe -Command Remove-AppxPackage -Confirm -Package "Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d bwe" Confirm Are you sure you want to perform this action? Performing the operation "Remove package" on target "Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation. Windows cannot remove framework Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe because package(s) Microsoft.BingNews Microsoft.WindowsCalculator Microsoft.GamingApp Microsoft.BingWeather Microsoft.WindowsAlarms Microsoft.GetHelp Microsoft.ScreenSketch E046963F.cameraSettings Microsoft.Getstarted Microsoft.WindowsSoundRecorder Microsoft.ZuneMusic Microsoft.WindowsCamera Microsoft.WindowsNotepad Microsoft.Todos Microsoft.MicrosoftSolitaireCollection Microsoft.Paint Microsoft.WindowsFeedbackHub Micros Windows cannot remove framework Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe because package(s) Microsoft.BingNews Microsoft.WindowsCalculator Microsoft.GamingApp Microsoft.BingWeather Microsoft.WindowsAlarms Microsoft.GetHelp Microsoft.ScreenSketch E046963F.cameraSettings Microsoft.Getstarted Microsoft.WindowsSoundRecorder Microsoft.ZuneMusic Microsoft.WindowsCamera Microsoft.WindowsNotepad Microsoft.Todos Microsoft.MicrosoftSolitaireCollection Microsoft.Paint Microsoft.WindowsFeedbackHub Microsoft.WindowsStore Microsoft.StorePurchaseApp Microsoft.MicrosoftJournal currently depends on the framework. Removing all packages that depend on the framework automatically removes the framework. NOTE: For additional information, look for [ActivityId] 368644ec-1e36-0004-1b59-9336361eda01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 368644ec-1e36-0004-1b59-9336361eda01 At line:1 char:1 + Remove-AppxPackage -Confirm -Package Microsoft.UI.Xaml.2.8_8.2310.300 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (Microsoft.UI.Xa...__8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand ```
Author
Owner

@rasa commented on GitHub (Nov 24, 2023):

This worked:

winget uninstall Microsoft.WindowsTerminal
wget -q https://github.com/microsoft/terminal/releases/download/v1.18.3181.0/Microsoft.WindowsTerminal_1.18.3181.0
_8wekyb3d8bbwe.msixbundle
start Microsoft.WindowsTerminal_1.18.3181.0_8wekyb3d8bbwe.msixbundle

but kinda defeats the purpose of winget.

@rasa commented on GitHub (Nov 24, 2023): This worked: ``` winget uninstall Microsoft.WindowsTerminal wget -q https://github.com/microsoft/terminal/releases/download/v1.18.3181.0/Microsoft.WindowsTerminal_1.18.3181.0 _8wekyb3d8bbwe.msixbundle start Microsoft.WindowsTerminal_1.18.3181.0_8wekyb3d8bbwe.msixbundle ``` but kinda defeats the purpose of winget.
Author
Owner

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

@denelon Any ideas here?

@zadjii-msft commented on GitHub (Nov 27, 2023): @denelon Any ideas here?
Author
Owner

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

upstream: https://github.com/microsoft/winget-cli/issues/3918 maybe?

@zadjii-msft commented on GitHub (Nov 27, 2023): upstream: https://github.com/microsoft/winget-cli/issues/3918 maybe?
Author
Owner

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

Yea I'm just gonna dupe this to the upstream /dup https://github.com/microsoft/winget-cli/issues/3918. Thanks all!

@zadjii-msft commented on GitHub (Nov 29, 2023): Yea I'm just gonna dupe this to the upstream /dup https://github.com/microsoft/winget-cli/issues/3918. Thanks all!
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Nov 29, 2023):

Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Nov 29, 2023): Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20873