Description
When upgrading MediaInfo via winget, the installer fails with the following error message from MediaInfo:
Windows not i386!
It seems that winget upgrade tries to install the i386 (32-bit) package by default, even though my system is 64-bit.
Steps to Reproduce
- Run
winget upgrade MediaArea.MediaInfo.GUI
- Installation fails with the dialog:
Windows not i386!
Expected Behavior
On a 64-bit Windows system, winget upgrade should install the x64 build of MediaInfo automatically.
Workaround
Running the command with explicit architecture works:
winget install --id MediaArea.MediaInfo.GUI --architecture x64 --force
Edition Windows 11 Pro
Version 24H2
Betriebssystembuild 26100.6584
Leistung Windows Feature Experience Pack 1000.26100.234.0
Winget: v1.11.430
MediaInfo package: MediaArea.MediaInfo.GUI
The issue is in WinGet and forcing the architecture (once) it the fix.