-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Package Issue]: WiresharkFoundation.Wireshark #173054
Comments
The same behavior occurs on my machine. The error appears to be related to the InstallerLocale being either missing or unnecessarily included, which is only added for the MSI installer. Should the locale be added to all installers or removed altogether? Testing with both options selects the appropriate architecture. |
Winget now seems to prefer the x64 exe installer, instead of the x64 msi. Is it advisable to have 2 different installers for the same scope and architecture? All installers are in machine scope. |
In my system winget seem to prefer x64 MSI installer, I am not sure if that's related but there is no Arm64 MSI installer in the manifest because Wireshark doesn't provide that. |
If you remove "InstallerLocale: en-US" from line 24, it will choose the correct architecture. But as mentioned, then on x64 it will prefer the x64 exe installer.
|
After having a further look into this, as detailed in the wireshark readme, the wix/msi installer is still experimental. Should an experimental installer be packaged for winget? Switching between installer types is problematic.
For Arm64, there is no msi installer. If the msi is removed though, you get the following error, when trying to update a msi install: |
I have an inverse problem now, I get an arm64 binary on x64 machine, even if I specifically include "--architecture x64" in the command line and there is even x64 in the app name. |
What is the required command to upgrade the x64 version? I also receive the arm64 binary. winget update -a x64 --id WiresharkFoundation.Wireshark |
@Erik-Vaughn I haven't managed to update it via winget, just downloaded from the official site. |
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
On Arm64 systems, WinGet defaults to install
x86-64
version,--architecture Arm64
flag is required to install Arm64 version.Steps to reproduce
On Windows on ARM system, run
winget install WiresharkFoundation.Wireshark
, it will download x86-64 version.Run
winget install WiresharkFoundation.Wireshark --architecture arm64
then it will correctly download the arm64 version.Actual behavior
Install
x86-64
version by default.Expected behavior
Install Arm64 version by default on Arm64 systems.
Environment
Screenshots and Logs
The text was updated successfully, but these errors were encountered: