Closed emmanuelpare closed 1 month ago
Hello,
On an arm64 system, this line should take care of it.
The other lines like this...
Should actually just replace the values from the architecture variable.
Are you saying that "arm" is shown instead of "arm64"?
Can you tell me what the output of line 179 is on an arm64 system?
Hi,
When I execute Get-OSInfo on a ARM Windows 11 the Get-OSinfo is returning me x64 instead of arm64
We need $arch=arm64 to download the correct file ex:
Or maybe there is not any arm64 binary for winget and it run x64 emulation.? The issue I have right now is when I run winget on a arm64 its return no output at all (also no error)
Update: OK: I got it fixed by Installing. VC_Redis https://aka.ms/vs/17/release/vc_redist.arm64.exe
You can leave your code as is...
Ah okay, good to know, though!
Glad you got it working!
Checklist
[X] I have give this issue a title starting with the text
[Bug]:
to signify it is a bug.[X] I have performed the steps in the Troubleshooting section and confirm that the issue only occurs with this script.
[X] I have restarted my computer to confirm this is not a transitory problem.
[X] I have verified that I am using the latest version of winget-install.
[X] I have verified that this issue is NOT security related (please create security advisory if so).
[X] I have run the script with the
-Debug
argument and included the output belowWhat You Are Seeing?
Hi,
In the Get-OsInfo function, I don’t see a check for ARM64. For example:
elseif (($osDetails.OSArchitecture).StartsWith("ARM")) { $architecture = "arm64" }
I think this is needed to install the correct binary where you are using $arch.
System Details
windows 11 arm64
Additional Context
No response
Full Output With
-Debug
No response