architecture from settings.json not used #5996
Replies: 3 comments 1 reply
-
|
If you add
Could you be a bit more specific about this? What options are you passing to |
Beta Was this translation helpful? Give feedback.
-
|
Hi florelis, thx for your response. Using winget with this setting } Using winget with this setting } So so cann see that the scope setting is taken from the setting properly, as the installer changes. Using winget with this setting } where as with the cli it is : So the architecture can be changed by the CLI but not the settings file. For the case were the wrong installer was selcted the logs is like this : Regards. |
Beta Was this translation helpful? Give feedback.
-
|
If you need anything else, please let me know, also if its a missunderstanding from my side about the settings. Regards |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
lets see what Installer WinMerge i.e. support :
winget install WinMerge.WinMerge --architecture x86
-> https://github.com/WinMerge/winmerge/releases/download/v2.16.52.2/WinMerge-2.16.52.2-Setup.exe
winget install WinMerge.WinMerge --architecture x64
-> https://github.com/WinMerge/winmerge/releases/download/v2.16.52.2/WinMerge-2.16.52.2-x64-Setup.exe
winget install WinMerge.WinMerge --scope user
-> https://github.com/WinMerge/winmerge/releases/download/v2.16.52.2/WinMerge-2.16.52.2-x64-PerUser-Setup.exe
So, there are 32 and 64 bit installers and a per user. it seems there ist no x86 for user
winget install WinMerge.WinMerge --architecture x86 --scope user
-> error
Now :
my settings.json looks like this :
{
"$schema": "https://aka.ms/winget-settings.schema.json",
}
When i switch both scopes from user to machine and back, i can see that perUser-Setup.exe is used or not.
But changing architecture does not have an result in using a different installer?
Why's that?
Regards form Germany
Ronny
Beta Was this translation helpful? Give feedback.
All reactions