microsoft / microsoft/winget-cli
winget tries to install 32bit package on 64bit systems
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
Winget downloads/uses an incorrect platform for installers
Steps to reproduce
at some point in history install tailscale.tailscale on a 64bit amd system (likely need to somehow use an older tag/branch/commit in winget-pkgs)
try to upgrade an existing installation of tailscale
> winget upgrade tailscale.tailscale
Expected behavior
the upgrade happens
Actual behavior
Found Tailscale [Tailscale.Tailscale] Version 1.82.5
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://pkgs.tailscale.com/stable/tailscale-setup-1.82.5-x86.msi
██████████████████████████████ 31.4 MB / 31.4 MB
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1603
Installer log is available at: C:\Users\jnord\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Tailscale.Tailscale.1.82.5-2025-05-20-12-47-13.391.log
the error from the logs is
MSI (s) (AC:88) [12:50:39:657]: Product: Tailscale -- Please download the MSI package that is appropriate for your computer's CPU architecture.
Please download the MSI package that is appropriate for your computer's CPU architecture.
Action ended 12:50:39: LaunchConditions. Return value 3.
Action ended 12:50:39: INSTALL. Return value 3.
as you can see the winget download the 32bit installer and is attempting to use is the x86 version not the amd64 version https://github.com/microsoft/winget-pkgs/blob/ffe1e6484ba81e7b6ad830b4d64f6d6d679c2b40/manifests/t/Tailscale/Tailscale/1.82.5/Tailscale.Tailscale.installer.yaml#L54-L63
Environment
>winget --info
Windows Package Manager v1.10.390
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.4061
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.390.0
Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
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
Start with the referenced Tailscale.Tailscale.installer.yaml entry for version 1.82.5 and reproduce the upgrade on an X64 system with winget upgrade tailscale.tailscale. Compare the selected x86 installer with the expected amd64 package, then verify that the upgrade uses the architecture-appropriate installer and no longer returns MSI error 1603.
Written by the indexing model from the issue text.
Assessment
- 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