-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Brief description of your issue
My windows user name is "Björn", and hence contains a non-ASCII character. When I try to install any package using winget, I receive an error message similar to the following one:
"C:\Users\Björn\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\gimp.gimp.2.10.18.exe" konnte nicht gefunden werden. Stellen Sie sicher, dass Sie den Namen richtig eingegeben haben und wiederholen Sie den Vorgang.
The specified path indeed does not exist. Replacing "Björn" with my correct username, "Björn", though, leads to the correct file downloaded by winget.
Steps to reproduce
- Log on with a Windows username containing non-ASCII characters.
- Open
cmd. - Run:
winget install gimp.gimp -e
Expected behavior
winget should download the installer and execute it.
Actual behavior
winget downloads the installer, but fails to execute it, because it uses an invalid path for running the downloaded file. This leads to the following error message in a message box window:
"C:\Users\Björn\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\gimp.gimp.2.10.18.exe" konnte nicht gefunden werden. Stellen Sie sicher, dass Sie den Namen richtig eingegeben haben und wiederholen Sie den Vorgang.
On the command line, I get this message:
Installer failed with exit code: 1223
Environment
[winget --info]
Windows Package Manager v0.1.41331 Vorschau
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.18363.836
Package: Microsoft.DesktopAppInstaller v1.0.41331.0