microsoft / microsoft/winget-cli
When installing Winget v1.8.1911 with Add-AppxProvisionedPackage the Microsoft.UI.XAML requiremend is not flagged.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
When trying to install Winget with Add-Appxpackage it shows that Microsoft.UI.XAML is required but if you use Add-AppxProvisionedPackage it installs without telling you that. So when using Add-AppxProvisionedPackage winget is only functional if you install Microsoft.UI.XAML bevorehand.
Steps to reproduce
Install Winget with Add-AppxProvisionedPackage on a fresh installed system. (I used Windows 11 23h2)
Expected behavior
Add-AppxProvisionedPackage checks for the presence of Microsoft.UI.XAML
Actual behavior
Add-AppxProvisionedPackage does not check for Microsoft.UI.XAML and Winget is not executable.
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3880
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the installation on a fresh Windows 11 23H2 system using Add-AppxProvisionedPackage, then trace the provisioning path and its dependency validation for Microsoft.UI.XAML. Done means the provisioning operation flags the missing dependency and winget is not left installed in a non-executable state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100