Winget introduced a new dependency Microsoft.UI.Xaml, because your script does not handle the installation of this dependency the installation fails on Windows 10 systems. This dependency is used to give the App Installer part the look and feel of Windows 11, so it is possible it is already present on Windows 11 systems.
Expectation
No response
Additional Information
Windows does not display the version of powershell I am using, but I am using the one built in to Windows and have no additional copies of powershell installed.
PowerShell version
5.1
Platform
Windows 10 Pro or Enterprise
Additional Checks
[X] You are using the latest version of this module.
[X] You have read this repository's README file.
[X] You have read full help and examples for the command you are having problems with.
[X] You are running PowerShell in an elevated session.
[X] You are running in a traditional PowerShell console or Windows Terminal
Describe the problem
Winget introduced a new dependency Microsoft.UI.Xaml, because your script does not handle the installation of this dependency the installation fails on Windows 10 systems. This dependency is used to give the App Installer part the look and feel of Windows 11, so it is possible it is already present on Windows 11 systems.
Expectation
No response
Additional Information
Windows does not display the version of powershell I am using, but I am using the one built in to Windows and have no additional copies of powershell installed.
PowerShell version
5.1
Platform
Windows 10 Pro or Enterprise
Additional Checks