Replies: 4 comments 9 replies
-
sometimes i have the problem, that unigetui says Microsoft.Winget.Client can get updated, but i can't install the update with unigetui and even weirder i can't find the update with cmd => winget upgrade. i just skip the update and rest peacefully |
Beta Was this translation helpful? Give feedback.
-
This appears to be an error because PowerShell v5.4 (default install) and PowerShell 7.4 don't have a
Having dumped the output of
And just for transparencies sake;
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I found to fix this issue, open powershell and give it this command: Install-Module -Name Microsoft.WinGet.Client -force That will do it. |
Beta Was this translation helpful? Give feedback.
-
Using PS I manually installed the PS module Microsoft.Winget.Client (v1.8.1133) after realising that UnigetUI 3.1.0 beta 1 required it but was failing to install it. Some time later UnigetUI said that there was an update to v1.8.1791 so it installed it. I noticed that the module in C:\Program Files\WindowsPowerShell\Modules is v1.8.1791 but it is also found in C:\Program Files (x86)\WindowsPowerShell\Modules. The module in the latter location is still v1.8.1133 so has not been updated.
In PS x64
$env:PSModulePath
shows that C:\Program Files (x86)\WindowsPowerShell\Modules is not included in the list of locations but in PS (x86),$env:PSModulePath
shows that C:\Program Files (x86)\WindowsPowerShell\Modules is included in the list of locations so I don't know why there is this difference? I've gone ahead and added C:\Program Files (x86)\WindowsPowerShell\Modules to the PSModulePath environment variable.Is it safe to uninstall the module in C:\Program Files (x86)\WindowsPowershell\Modules if UnigetUI is a 64-bit program and so would not use this module?
Edit: Nevermind. I see beta 2 installs Microsoft.Winget.Client in one of the other default locations for PS Modules, namely the Documents folder and has put the module simultaneously in the Documents folder in my Admin and Standard User accounts.
Beta Was this translation helpful? Give feedback.
All reactions