Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winget download can only download x64 and x32 installers #5037

Open
CanePlayz opened this issue Dec 4, 2024 · 3 comments
Open

winget download can only download x64 and x32 installers #5037

CanePlayz opened this issue Dec 4, 2024 · 3 comments
Labels
Command-Download Issue related to WinGet Download Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@CanePlayz
Copy link

Brief description of your issue

PS C:\Users\jjpfs> winget download --id Microsoft.DevHome -a arm64
Windows-Paket-Manager v1.9.25200
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Der für das Argument `architecture` angegebene Wert ist ungültig. Gültige Werte sind: X64, X86, Neutral

Steps to reproduce

Do a winget download with the flag -a arm64

Expected behavior

Download the arm64 installer

Actual behavior

Fails and tells me that the only valid values are X64, X86 and Neutral.

Environment

PS C:\Users\jjpfs> winget --info
Windows-Paket-Manager v1.9.25200
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.27754.1000
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.24.25200.0

WinGet-Verzeichnisse
----------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Loca…
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Loca…
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Aktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert
ProxyCommandLineOptions                   Deaktiviert
DefaultProxy                              Deaktiviert
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Dec 4, 2024
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Command-Download Issue related to WinGet Download and removed Needs-Triage Issue need to be triaged labels Dec 4, 2024
@denelon
Copy link
Contributor

denelon commented Dec 5, 2024

Confirmed:

Image

@denelon
Copy link
Contributor

denelon commented Dec 5, 2024

It looks like this would work on an arm64 device, but not on an x64 device. The installer selection logic is getting in the way of just providing the download for the architecture specified when on a "not" compatible architecture.

@CanePlayz
Copy link
Author

It looks like this would work on an arm64 device, but not on an x64 device. The installer selection logic is getting in the way of just providing the download for the architecture specified when on a "not" compatible architecture.

Yeah, I can confirm that

@denelon denelon added this to WinGet Dec 6, 2024
@denelon denelon moved this to To Do in WinGet Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Download Issue related to WinGet Download Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
Status: To Do
Development

No branches or pull requests

2 participants