microsoft / microsoft/winget-pkgs
[Package Issue]: Tailscale.Tailscale fails to upgrade (x86 vs amd64)
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 616
Description
### Please confirm these before moving forward
- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.
### Category of the issue
Installation issue.
### Brief description of your issue
I successfully see Tailscale updates in `winget`, but every time they try to install, they fail.
This time I dug into the log, and found the following:
```
MSI (s) (48:CC) [09:49:55:027]: Product: Tailscale -- Please download the MSI package that is appropriate for your computer's CPU architecture.
```
I noticed that `winget` appears to be downloading the x86 version of Tailscale, but https://pkgs.tailscale.com/stable/#windows has an amd64 version that's probably the one I originally installed and it's trying to upgrade. 🤔
When I tell Tailscale itself to upgrade, it pops open a browser to https://pkgs.tailscale.com/stable/tailscale-setup-1.90.8-amd64.msi as expected. 😅
### Steps to reproduce
Untested/theoretical, based on my understanding of what's happening:
1. install https://pkgs.tailscale.com/stable/tailscale-setup-1.90.6-amd64.msi
2. try to upgrade with `winget`
3. it should see 1.90.8+, and try to install it
4. it should fail to install (because it'll try to upgrade to x86)
### Actual behavior
```
...
(3/6) Found Tailscale [Tailscale.Tailscale] Version 1.90.8
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.90.8-x86.msi
██████████████████████████████ 32.1 MB / 32.1 MB
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1603
Installer log is available at: C:\Users\Tianon\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\Tailscale.Tailscale.1.90.8-25-11-24-09-49-52.log
...
```
```
...
Action start 9:49:53: Wix4QueryNativeMachine_X86.
Action ended 9:49:54: Wix4QueryNativeMachine_X86. Return value 1.
Action start 9:49:54: CheckServiceDependencies.
Custom Action CheckServiceDependencies (PID 0x5320 (21280)) [09:49:54.178]: Service "Dnscache" StartType: 2
Custom Action CheckServiceDependencies (PID 0x5320 (21280)) [09:49:54.180]: Service "iphlpsvc" StartType: 2
Custom Action CheckServiceDependencies (PID 0x5320 (21280)) [09:49:54.181]: Service "netprofm" StartType: 3
Custom Action CheckServiceDependencies (PID 0x5320 (21280)) [09:49:54.183]: Service "WinHttpAutoProxySvc" StartType: 3
Action ended 9:49:55: CheckServiceDependencies. Return value 1.
Action start 9:49:55: LaunchConditions.
MSI (s) (48:CC) [09:49:55:027]: 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 9:49:55: LaunchConditions. Return value 3.
Action ended 9:49:55: INSTALL. Return value 3.
...
```
### Expected behavior
(faked/simulated output)
```
...
(3/6) Found Tailscale [Tailscale.Tailscale] Version 1.90.8
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.90.8-x86.msi
██████████████████████████████ 32.1 MB / 32.1 MB
Successfully verified installer hash
Starting package install...
Successfully installed
...
```
### Environment
```raw
$ winget.exe --info
Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26200.6899
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.350.0
Winget Directories
-------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAp…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAp…
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\Configurati…
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
```
### Screenshots and Logs
[Tailscale.Tailscale.1.90.8-25-11-24-09-49-52.log](https://github.com/user-attachments/files/23729236/Tailscale.Tailscale.1.90.8-25-11-24-09-49-52.log)
Contributor guide
Research direction
Start by locating the Tailscale.Tailscale package manifest in the winget-pkgs repository and compare its architecture-specific installer URL with the amd64 MSI reported in the issue. Reproduce the upgrade using the listed installation steps and verify that the manifest selects an installer compatible with the existing amd64 installation.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100