Hello. I have winget, but I decided to run this script to test it and I get this error. The error appears if the system language is Russian. If the system language is English, then there is no problem. Sorry for bad English.
Log
Windows PowerShell
(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
Установите последнюю версию PowerShell для новых функций и улучшения! https://aka.ms/PSWindows
PS C:\Users\uffemcev> &([ScriptBlock]::Create((irm https://raw.githubusercontent.com/asheroto/winget-install/master/winget-install.ps1))) -Force
winget-install 3.0.0
###################################################
# Downloading & installing 64-разрядная VCLibs... #
###################################################
URL:
Installing 64-разрядная VCLibs...
ПРЕДУПРЕЖДЕНИЕ: Error when trying to download or install VCLibs. Trying alternate method...
Installing 64-разрядная VCLibs...
ПРЕДУПРЕЖДЕНИЕ: Same version already installed.
ПРЕДУПРЕЖДЕНИЕ: That's okay, continuing...
####################################################
# Downloading & installing 64-разрядная UI.Xaml... #
####################################################
URL:
Installing 64-разрядная UI.Xaml...
ПРЕДУПРЕЖДЕНИЕ: Error when trying to download or install UI.Xaml. Trying alternate method...
Downloading UI.Xaml...
Extracting...
Installing 64-разрядная UI.Xaml...
Get-ChildItem : Не удается найти путь "C:\Users\uffemcev\AppData\Local\Temp\Microsoft.UI.Xaml.2.7.3\tools\AppX\64-разрядная\Release\Microsoft.UI.Xaml.2.7.appx", так как он не существует.
строка:706 знак:17
+ ... Get-ChildItem -Path $XamlAppxPath -Filter *.appx | ForEa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\uffemc...I.Xaml.2.7.appx:String) [Get-ChildItem], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
UI.Xaml installed successfully.
######################################
# Downloading & installing winget... #
######################################
Retrieving download URL for winget from GitHub...
Downloading winget...
Downloading license...
Installing winget...
winget installed successfully.
#################################################################################################
# Checking and adding WindowsApps directory to PATH variable for current user if not present... #
#################################################################################################
PATH variable already present for Machine, skipping.
PATH variable already present for User, skipping.
##########################
# Installation complete! #
##########################
Checking if winget is installed and working...
winget is installed and working now, you can go ahead and use it.
PS C:\Users\uffemcev>