Skip to content
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

[BUG] "Ask only once for administrator privileges" does not work #2134

Open
4 tasks done
mwisnicki opened this issue Apr 14, 2024 · 10 comments
Open
4 tasks done

[BUG] "Ask only once for administrator privileges" does not work #2134

mwisnicki opened this issue Apr 14, 2024 · 10 comments
Assignees
Labels
bug Something isn't working needs-author-answer

Comments

@mwisnicki
Copy link

mwisnicki commented Apr 14, 2024

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions
  • This issue is about a bug (if it is not, please use the correct template)

Describe your issue

image
and yet I'm always asked multiple times

Steps to reproduce the issue

  1. Enable setting
  2. Downgrade 2 or more packages that require admin to install, for example Thunderbird and Notepad++
  3. Check for updates and click update all

WingetUI Log

Welcome to WingetUI Version 3.0.2
               Version Code 3.02
C:\Users\mwisn\AppData\Local\WingetUI\CachedLangFiles\lang_en.json
Loaded language locale: en
Api auth token: 36jpswcv9bqvpi6sg1atg2wohd6a4sppjryq2m4t9mp8dep27p6p6abhurimkqh9
Starting update check
Api running on http://localhost:7058
Lang files were updated successfully
WingetUI is up to date
Downloaded icons and screenshots successfully!
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: .NET Tool
█ Enabled: True
█ Found: True
█ Fancye exe name: dotnet tool
█ Executable path: C:\Program Files\dotnet\dotnet.exe
█ Call arguments: tool
█ Version: 
█   8.0.200
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip
█ Enabled: False
█ THE MANAGER IS DISABLED
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Winget
█ Enabled: True
█ Found: True
█ Fancye exe name: winget.exe
█ Executable path: C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe
█ Call arguments: 
█ Version: 
█   v1.7.10861
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Npm
█ Enabled: True
█ Found: True
█ Fancye exe name: npm
█ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
█ Version: 
█   10.5.0
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Scoop
█ Enabled: True
█ Found: True
█ Fancye exe name: scoop
█ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
█ Version: 
█   Current Scoop version:
█   v0.3.1 - Released at 2022-11-15
█   
█   'extras' bucket:
█   e6f333bd5 tumblthree: Update to version 2.13.0
█   
█   'java' bucket:
█   162e6427 temurin8-nightly-jre: Update to version 8.0.412-7.0.202404121542
█   
█   'main' bucket:
█   9f13b8178 tree-sitter: Update to version 0.22.5
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell
█ Enabled: True
█ Found: True
█ Fancye exe name: powershell.exe
█ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█ Call arguments:  -NoProfile -Command
█ Version: 
█   Name                           Value                                                                                   
█   ----                           -----                                                                                   
█   PSVersion                      5.1.22621.2506                                                                          
█   PSEdition                      Desktop                                                                                 
█   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
█   BuildVersion                   10.0.22621.2506                                                                         
█   CLRVersion                     4.0.30319.42000                                                                         
█   WSManStackVersion              3.0                                                                                     
█   PSRemotingProtocolVersion      2.3                                                                                     
█   SerializationVersion           1.1.0.1
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Chocolatey
█ Enabled: True
█ Found: True
█ Fancye exe name: choco.exe
█ Executable path: C:\ProgramData\chocolatey\bin\choco.exe
█ Call arguments: 
█ Version: 
█   2.2.2
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
Error finding installed packages on manager Npm: 
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ModernWindow.PackageEngine.Managers.Npm.GetInstalledPackages_UnSafe()
   at ModernWindow.PackageEngine.Classes.PackageManager.GetInstalledPackages() in C:\Users\marti\Desktop\wingetui-tempo\src\wingetui\PackageEngine\Classes\Manager.cs:line 192
Invalid value for UpdatesCheckInterval, using default value of 3600 seconds
Invalid value for UpdatesCheckInterval, using default value of 3600 seconds

Package Managers Logs

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:42] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe
█  Arguments:  source list
Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache
[2024-04-14 18:02:42] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:43] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop bucket list
Name   Source                                     Updated             Manifests
----   ------                                     -------             ---------
extras https://github.com/ScoopInstaller/Extras   2024-04-14 14:26:47      2008
java   https://github.com/ScoopInstaller/Java     2024-04-13 00:15:47       273
main   https://github.com/ScoopInstaller/Main.git 2024-04-14 15:03:57      1313
[2024-04-14 18:02:43] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:43] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -Command Get-PSRepository
Name                      InstallationPolicy   SourceLocation                                                          
----                      ------------------   --------------                                                          
PSGallery                 Untrusted            https://www.powershellgallery.com/api/v2                                
[2024-04-14 18:02:43] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:44] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\ProgramData\chocolatey\bin\choco.exe
█  Arguments:  source list
Chocolatey v2.2.2
chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
[2024-04-14 18:02:44] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:47] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe
█  Arguments:  source list
Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache
[2024-04-14 18:02:47] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:47] .NET Tool ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\.dotnet\tools\dotnet-tools-outdated.exe
█  Arguments: 
[2024-04-14 18:02:47] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:48] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\ProgramData\chocolatey\bin\choco.exe
█  Arguments:  source list
Chocolatey v2.2.2
chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
[2024-04-14 18:02:48] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:48] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop bucket list
Name   Source                                     Updated             Manifests
----   ------                                     -------             ---------
extras https://github.com/ScoopInstaller/Extras   2024-04-14 14:26:47      2008
java   https://github.com/ScoopInstaller/Java     2024-04-13 00:15:47       273
main   https://github.com/ScoopInstaller/Main.git 2024-04-14 15:03:57      1313
[2024-04-14 18:02:48] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:48] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop list
Installed apps:
Name         Version    Source Updated             Info
----         -------    ------ -------             ----
7zip         23.01      main   2023-07-12 13:07:32     
aria2        1.37.0-1   main   2023-12-12 19:35:07     
cacert       2023-12-12 main   2024-02-19 17:57:46     
flutter      3.19.3     extras 2024-03-08 18:10:49     
go           1.22.1     main   2024-03-08 18:13:11     
gradle       8.6        main   2024-02-19 17:45:22     
jq           1.7.1      main   2023-12-14 14:20:02     
maven        3.9.6      main   2023-12-12 22:55:19     
netcat       1.12       main   2023-06-19 20:56:58     
openjdk21    21.0.2-13  java   2024-02-19 17:23:14     
sbt          1.9.8      main   2024-03-21 18:22:19     
scoop-search 1.4.1      main   2024-02-19 17:29:17     
wget         1.21.4     main   2024-02-19 17:57:48     
xdelta       3.1.0      main   2023-07-12 15:19:20     
[2024-04-14 18:02:48] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:48] .NET Tool ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\dotnet\dotnet.exe
█  Arguments: tool list --global
Package Id                 Version      Commands             
-------------------------------------------------------------
dotnet-tools-outdated      0.7.1        dotnet-tools-outdated
[2024-04-14 18:02:48] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:48] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\ProgramData\chocolatey\bin\choco.exe
█  Arguments:  list
Chocolatey v2.2.2
bulkfilechanger 1.72.0
chocolatey 2.2.2
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolatey-windowsupdate.extension 1.0.5
dotnetfx 4.8.0.20220524
esedatabaseview 1.74.0
Explorerplusplus 1.3.5
hdtune 2.55.0.1
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
keepass 2.53.1
keepass.install 2.53.1
keepass-kpentrytemplates 1.8.0.20190608
keepass-plugin-keeautoexec 2.6.0
keepass-plugin-winkee 2.39.1
pdftk 2.2.0
psexec 2.43.0
qpdf 11.9.0
speccy 1.32.803
vcredist140 14.34.31931
vcredist2013 12.0.40660.20180427
vcredist2015 14.0.24215.20170201
vcredist2017 14.16.27033
winobj 3.14.0
29 packages installed.
[2024-04-14 18:02:48] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:48] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop list
Installed apps:
Name         Version    Source Updated             Info
----         -------    ------ -------             ----
7zip         23.01      main   2023-07-12 13:07:32     
aria2        1.37.0-1   main   2023-12-12 19:35:07     
cacert       2023-12-12 main   2024-02-19 17:57:46     
flutter      3.19.3     extras 2024-03-08 18:10:49     
go           1.22.1     main   2024-03-08 18:13:11     
gradle       8.6        main   2024-02-19 17:45:22     
jq           1.7.1      main   2023-12-14 14:20:02     
maven        3.9.6      main   2023-12-12 22:55:19     
netcat       1.12       main   2023-06-19 20:56:58     
openjdk21    21.0.2-13  java   2024-02-19 17:23:14     
sbt          1.9.8      main   2024-03-21 18:22:19     
scoop-search 1.4.1      main   2024-02-19 17:29:17     
wget         1.21.4     main   2024-02-19 17:57:48     
xdelta       3.1.0      main   2023-07-12 15:19:20     
[2024-04-14 18:02:48] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:48] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -Command Get-PSRepository
Name                      InstallationPolicy   SourceLocation                                                          
----                      ------------------   --------------                                                          
PSGallery                 Untrusted            https://www.powershellgallery.com/api/v2                                
[2024-04-14 18:02:48] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:49] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\ProgramData\chocolatey\bin\choco.exe
█  Arguments:  outdated
Chocolatey v2.2.2
Outdated Packages
 Output is package name | current version | available version | pinned?
keepass|2.53.1|2.56.0|true
keepass.install|2.53.1|2.56.0|true
vcredist140|14.34.31931|14.38.33135|true
Chocolatey has determined 3 package(s) are outdated. 
[2024-04-14 18:02:49] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:49] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -Command Get-InstalledModule
[2024-04-14 18:02:49] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:49] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments: 
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Program Files\WingetUI> 
PS C:\Program Files\WingetUI>                 function Test-GalleryModuleUpdate {
>>                     param (
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [version] $Version,
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Repository,
>>                         [switch] $NeedUpdateOnly
>>                     )
>>                     process {
>>                         $URLs = @{}
>>                         @(Get-PSRepository).ForEach({$URLs[$_.Name] = $_.SourceLocation})
>>                         $page = Invoke-WebRequest -Uri ($URLs[$Repository] + "/package/$Name") -UseBasicParsing -Maximum 0 -ea Ignore
>>                         [version]$latest = Split-Path -Path ($page.Headers.Location -replace "$Name." -replace ".nupkg") -Leaf
>>                         $needsupdate = $Latest -gt $Version
>>                         if ($needsupdate) {
>>                                 Write-Output($Name + "|" + $Version.ToString() + "|" + $Latest.ToString() + "|" + $Repository)
>>                         }
>>                     }
>>                 }
>>                 Get-InstalledModule | Test-GalleryModuleUpdate
PS C:\Program Files\WingetUI>                 exit
[2024-04-14 18:02:49] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:50] Npm ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm outdated --global --parseable
[2024-04-14 18:02:50] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:52] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe
█  Arguments:  update --include-unknown  --accept-source-agreements
   \ 
   / 
   - 
   | 
   - 
   | 
   - 
   | 
Name                                      Id                            Version             Available            Source
-----------------------------------------------------------------------------------------------------------------------
AutoHotkey                                AutoHotkey.AutoHotkey         2.0.11              2.0.12               winget
Docker Desktop                            Docker.DockerDesktop          4.28.0              4.29.0               winget
Google Chrome                             Google.Chrome.EXE             123.0.6312.107      123.0.6312.123       winget
HWiNFO64                                  REALiX.HWiNFO                 7.72                8.00                 winget
Microsoft Edge WebView2 Runtime           Microsoft.EdgeWebView2Runtime 123.0.2420.65       123.0.2420.97        winget
Microsoft Teams                           Microsoft.Teams.Free          23091.406.2009.3890 24060.3102.2733.5911 winget
Mozilla Thunderbird (x64 en-CA)           Mozilla.Thunderbird           115.8.1             115.9.0              winget
Notepad++ (64-bit x64)                    Notepad++.Notepad++           8.6.4               8.6.5                winget
SQLite                                    SQLite.SQLite                 3.45.1              3.45.2               winget
Ubisoft Connect                           Ubisoft.Connect               150.1.11037         151.2.0.11050        winget
WinDirStat 1.1.2                          WinDirStat.WinDirStat         Unknown             1.1.2                winget
digiKam 8.2.0                             KDE.digikam                   8.2.0               8.3.0                winget
WinSCP 6.3.1                              WinSCP.WinSCP                 6.3.1               6.3.2                winget
Microsoft Visual C++ 2015-2022 Redistrib… Microsoft.VCRedist.2015+.x86  14.38.33130.0       14.38.33135.0        winget
Microsoft Visual C++ 2015-2022 Redistrib… Microsoft.VCRedist.2015+.x86  14.38.33130.0       14.38.33135.0        winget
PowerToys (Preview) x64                   Microsoft.PowerToys           0.79.0              0.80.1               winget
Double Commander                          alexx2000.DoubleCommander     1.0.11              1.1.12               winget
Node.js                                   OpenJS.NodeJS                 21.7.0              21.7.3               winget
GOG GALAXY                                GOG.Galaxy                    Unknown             2.0.73.27            winget
Microsoft Visual Studio Code (User)       Microsoft.VisualStudioCode    1.87.2              1.88.1               winget
Python 3.12.2 (64-bit)                    Python.Python.3.12            3.12.2              3.12.3               winget
21 upgrades available.
[2024-04-14 18:02:52] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:52] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe
█  Arguments:  list  --accept-source-agreements
   \ 
   / 
   - 
   | 
   - 
   | 
   - 
   | 
Name                                 Id                                   Version                 Available      Source
-----------------------------------------------------------------------------------------------------------------------
Outlook (PWA)                        0306c4150391c8c8d97164e8a640c80d     1.0                                    
Spotify                              045f89e45055565491aa392aad023df5     1.0                                    
Google Password Manager              08e33c04f6fd2e5714057b0f6b2935b8     1.0                                    
The Witcher Enhanced Edition Direct… 1207658924_is1                       2.1.0.15                               
Angry Birds Friends                  1ED5AEA5.AngryBirdsFriends_p2gbknwb… 12.1.0.0                               
RoslynPad                            34685EliArbel.RoslynPad_zyksrj6kvnp… 19.1.0.0                               
Canon Inkjet Print Utility           34791E63.CanonInkjetPrintUtility_6e… 3.1.0.0                                
Trello                               45273LiamForsyth.PawsforTrello_7pb5… 2.14.6.0                               
Files                                49306atecsolution.FilesUWP_et10x9a9… 3.3.0.0                                
Netflix                              4DF9E0F8.Netflix_mcm4njqhnhss8       6.99.5.0                               
WhatsApp                             5319275A.WhatsAppDesktop_cv1g1gvany… 2.2413.1.0                             
WiFi QR Code Scanner                 59867MatthiasDuyck.WiFiQRCodeScanne… 0.4.4.0                                
TasksBoard                           5b4b656605db53c1ccaeb9980e8deb69     1.0                                    
Messages                             606c8d503e10cd4077e1c00793978120     1.0                                    
DevToys                              64360VelerSoftware.DevToys_j80j2txg… 1.0.13.0                               
Visual Studio Community 2022         Microsoft.VisualStudio.2022.Communi… 17.9.1                                 winget
YouTube Music                        69404584fd515616cadc0929eee0c59b     1.0                                    
7-Zip 23.01 (x64)                    7zip.7zip                            23.01                                  winget
Aow Tools                            7061touchwp.AowTools_m9vp3t2f55f5t   1.5.0.0                                
WingetUI Widgets (Preview)           9932MartCliment.WingetUIWidgets_g91… 0.4.0.0                                
Adobe Acrobat Reader                 AdobeAcrobatReaderCoreApp_pc75e8sa7… 23.0.0.0                               
Prime Video for Windows              AmazonVideo.PrimeVideo_pwbj9vvecjh7j 1.0.153.0                              
iTunes                               AppleInc.iTunes_nzyj5cx40ttqa        12131.3.2010.0                         
AutoHotkey                           AutoHotkey.AutoHotkey                2.0.11                  2.0.12         winget
Beyond Compare 4.4.7                 ScooterSoftware.BeyondCompare4       4.4.7.28397                            winget
Canon MX490 series On-screen Manual  Canon MX490 series On-screen Manual  7.7.1                                  
Canon MX490 series User Registration Canon MX490 series User Registration Unknown                                
Canon IJ Network Scanner Selector EX Canon_IJ_Network_Scanner_Selector_EX 1.5.3.3                                
Canon IJ Network Tool                Canon_IJ_Network_UTILITY             3.6.0                                  
Canon IJ Scan Utility                Canon_IJ_Scan_Utility                1.1.15.23                              
Ubuntu 22.04.3 LTS                   Canonical.Ubuntu.2204                2204.3.63.0                            winget
Ubuntu                               Canonical.Ubuntu.2204                2204.3.49.0                            winget
Ubuntu on Windows                    CanonicalGroupLimited.UbuntuonWindo… 2004.2022.1.0                          
Microsoft Clipchamp                  Clipchamp.Clipchamp_yxz26nhyzhsrt    3.0.10220.0                            
Drawboard PDF                        DRAWBOARD.DRAWBOARDPDF_gqbn7fs4pywxm 6.58.0.0                               
Disney+                              Disney.37853FC22B2CE_6rarf9sa4v8jt   2024.3.211.0                           
Docker Desktop                       Docker.DockerDesktop                 4.28.0                  4.29.0         winget
Dolby Access OEM                     DolbyLaboratories.DolbyAccessOEM_rz… 3.21.16.0                              
Dolby Vision Extensions              DolbyLaboratories.DolbyVisionAccess… 2.20301.388.0                          
Everything 1.4.1.1024 (x64)          voidtools.Everything                 1.4.1.1024                             winget
Messenger                            FACEBOOK.317180B0BB486_8xx8rvfyw5nnt 2080.9.229.0                           
Git                                  Git.Git                              2.44.0                                 winget
Google Chrome                        Google.Chrome.EXE                    123.0.6312.107          123.0.6312.123 winget
HD Tune 2.55                         HD Tune_is1                          Unknown                                
Hulu                                 HULULLC.HULUPLUS_fphbd361v8tya       4.12.0.0                               
HWiNFO64                             REALiX.HWiNFO                        7.72                    8.00           winget
Link Shell Extension                 HermannSchinagl.LinkShellExtension   3.9.3.5                                winget
Android Studio                       JetBrains Toolbox (AndroidStudio) 8… Iguana 2023.2.1 Patch 1                
CLion                                JetBrains Toolbox (CLion) 5c8b442d-… 2023.3.4                               
GoLand                               JetBrains Toolbox (Goland) 896586e6… 2023.3.6                               
IntelliJ IDEA Ultimate               JetBrains Toolbox (IDEA-U) fab83bdb… 2023.3.6                               
Rider                                JetBrains Toolbox (Rider) 499ce814-… 2023.3.4                               
RustRover                            JetBrains.RustRover.EAP              2023.3 EAP                             winget
dotPeek Portable                     JetBrains Toolbox (dotPeek) a3d5cef… 2023.3.4                               
KeePass Password Safe 2.56           DominikReichl.KeePass                2.56                                   winget
Microsoft Edge                       Microsoft.Edge                       123.0.2420.97                          winget
Microsoft Edge Update                Microsoft Edge Update                1.3.185.29                             
Microsoft Edge WebView2 Runtime      Microsoft.EdgeWebView2Runtime        123.0.2420.65           123.0.2420.97  winget
Cortana                              Microsoft.549981C3F5F10_8wekyb3d8bb… 4.2308.1005.0                          
News                                 Microsoft.BingNews_8wekyb3d8bbwe     4.55.62231.0                           
Web Search from Microsoft Bing       Microsoft.BingSearch_8wekyb3d8bbwe   1.0.91.0                               
MSN Weather                          Microsoft.BingWeather_8wekyb3d8bbwe  4.53.60911.0                           
App Installer                        Microsoft.AppInstaller               1.22.10861.0                           winget
DirectX                              Microsoft.DirectXRuntime_8wekyb3d8b… 9.29.1974.0                            
Xbox                                 Microsoft.GamingApp_8wekyb3d8bbwe    2403.1001.3.0                          
Gaming Services                      Microsoft.GamingServices_8wekyb3d8b… 19.87.13001.0                          
Get Help                             Microsoft.GetHelp_8wekyb3d8bbwe      10.2308.12552.0                        
Microsoft Tips                       Microsoft.Getstarted_8wekyb3d8bbwe   10.2312.1.0                            
HEIF Image Extensions                Microsoft.HEIFImageExtension_8wekyb… 1.0.63001.0                            
HEVC Video Extensions from Device M… Microsoft.HEVCVideoExtension_8wekyb… 2.0.61931.0                            
Ink.Handwriting.Main.en-US.1.0       Microsoft.Ink.Handwriting.Main.en-U… 0.237.110.0                            
Ink.Handwriting.en-US.1.0            Microsoft.Ink.Handwriting.en-US.1.0… 0.237.110.0                            
Pakiet lokalizacyjny — polski        Microsoft.LanguageExperiencePackpl-… 22621.50.223.0                         
MPEG-2 Video Extension               Microsoft.MPEG2VideoExtension_8weky… 1.0.61931.0                            
Microsoft Edge                       Microsoft.MicrosoftEdge.Stable_8wek… 123.0.2420.97                          
Microsoft 365 (Office)               Microsoft.MicrosoftOfficeHub_8wekyb… 18.2311.1071.0                         
Microsoft Sticky Notes               Microsoft.MicrosoftStickyNotes_8wek… 4.0.6002.0                             
Mixed Reality Portal                 Microsoft.MixedReality.Portal_8weky… 2000.21051.1282.0                      
Microsoft .Net Native Framework Pac… Microsoft.NET.Native.Framework.1.7_… 1.7.27413.0                            
Microsoft .Net Native Framework Pac… Microsoft.NET.Native.Framework.2.1_… 2.1.27427.0                            
Microsoft .Net Native Framework Pac… Microsoft.NET.Native.Framework.2.2_… 2.2.29512.0                            
Microsoft .Net Native Runtime Packa… Microsoft.NET.Native.Runtime.1.7_8w… 1.7.27422.0                            
Microsoft .Net Native Runtime Packa… Microsoft.NET.Native.Runtime.2.1_8w… 2.1.26424.0                            
Microsoft .Net Native Runtime Packa… Microsoft.NET.Native.Runtime.2.2_8w… 2.2.28604.0                            
Mobile Plans                         Microsoft.OneConnect_8wekyb3d8bbwe   5.2308.2294.0                          
OneDrive                             Microsoft.OneDriveSync_8wekyb3d8bbwe 24055.317.2.0                          
Outlook for Windows                  Microsoft.OutlookForWindows_8wekyb3… 1.2024.403.0                           
Paint                                Microsoft.Paint_8wekyb3d8bbwe        11.2402.32.0                           
Microsoft People                     Microsoft.People_8wekyb3d8bbwe       10.2202.100.0                          
Power Automate                       Microsoft.PowerAutomateDesktop_8wek… 11.2403.237.0                          
PowerToys FileLocksmith Context Menu Microsoft.PowerToys.FileLocksmithCo… 1.0.0.0                                
PowerToys ImageResizer Context Menu  Microsoft.PowerToys.ImageResizerCon… 0.79.0.0                               
PowerToys PowerRename Context Menu   Microsoft.PowerToys.PowerRenameCont… 0.79.0.0                               
Raw Image Extension                  Microsoft.RawImageExtension_8wekyb3… 2.3.611.0                              
Snipping Tool                        Microsoft.ScreenSketch_8wekyb3d8bbwe 11.2401.37.0                           
Windows Security                     Microsoft.SecHealthUI_8wekyb3d8bbwe  1000.25992.9000.0                      
Microsoft Engagement Framework       Microsoft.Services.Store.Engagement… 10.0.23012.0                           
Skype                                Microsoft.SkypeApp_kzf8qxf38zg5c     15.116.3213.0                          
Store Experience Host                Microsoft.StorePurchaseApp_8wekyb3d… 22312.1401.4.0                         
Surface Management Extension         Microsoft.SurfaceAppProxy_8wekyb3d8… 5.98.139.0                             
Surface Diagnostic Toolkit           Microsoft.SurfaceDiagnostics_8wekyb… 2.223.139.0                            
Surface                              Microsoft.SurfaceHub_8wekyb3d8bbwe   61.24030.206.0                         
Microsoft Wireless Display Adapter   Microsoft.SurfaceWirelessDisplayAda… 4.232.137.0                            
Process Explorer                     Microsoft.Sysinternals.ProcessExplo… 17.05                                  winget
Process Monitor                      Microsoft.Sysinternals.ProcessMonit… 3.96                                   winget
Microsoft To Do                      Microsoft.Todos_8wekyb3d8bbwe        2.114.7122.0                           
Microsoft.UI.Xaml.2.1                Microsoft.UI.Xaml.2.1_8wekyb3d8bbwe  2.11906.6001.0                         
Microsoft.UI.Xaml.2.3                Microsoft.UI.Xaml.2.3_8wekyb3d8bbwe  2.32002.13001.0                        
Microsoft.UI.Xaml.2.4                Microsoft.UI.Xaml.2.4_8wekyb3d8bbwe  2.42007.9001.0                         
Microsoft.UI.Xaml.2.5                Microsoft.UI.Xaml.2.5_8wekyb3d8bbwe  2.52012.2002.0                         
Microsoft.UI.Xaml.2.6                Microsoft.UI.Xaml.2.6_8wekyb3d8bbwe  2.62112.3002.0                         
Microsoft.UI.Xaml.2.7                Microsoft.UI.Xaml.2.7                7.2208.15002.0                         winget
Microsoft.UI.Xaml.2.8                Microsoft.UI.Xaml.2.8                8.2310.30001.0                         winget
Windows Community Toolkit Gallery    Microsoft.UWPCommunityToolkitSample… 8.0.2.0                                
Microsoft Visual C++ 2012 UWP Deskt… Microsoft.VCLibs.110.00.UWPDesktop_… 11.0.61135.0                           
Microsoft Visual C++ 2013 UWP Deskt… Microsoft.VCLibs.120.00.UWPDesktop_… 12.0.40653.0                           
Microsoft Visual C++ Runtime Package Microsoft.VCLibs.120.00_8wekyb3d8bb… 12.0.21005.1                           
Microsoft Visual C++ 2015 UWP Deskt… Microsoft.VCLibs.Desktop.14          14.0.33519.0                           winget
Microsoft Visual C++ 2015 UWP Runti… Microsoft.VCLibs.140.00_8wekyb3d8bb… 14.0.33519.0                           
VP9 Video Extensions                 Microsoft.VP9VideoExtensions_8wekyb… 1.1.451.0                              
Web Media Extensions                 Microsoft.WebMediaExtensions_8wekyb… 1.1.663.0                              
Webp Image Extensions                Microsoft.WebpImageExtension_8wekyb… 1.0.62681.0                            
Microsoft Whiteboard                 Microsoft.Whiteboard_8wekyb3d8bbwe   53.21110.548.0                         
WinDbg                               Microsoft.WinDbg                     1.2402.24001.0                         winget
WinUI 3 Gallery                      Microsoft.WinUI3ControlsGallery_8we… 2.4.1.0                                
Microsoft Copilot                    Microsoft.Windows.Ai.Copilot.Provid… 1.0.3.0                                
Dev Home GitHub Extension (Preview)  Microsoft.Windows.DevHomeGitHubExte… 0.1200.442.0                           
Dev Home (Preview)                   Microsoft.DevHome                    0.1201.442.0                           winget
Microsoft Photos                     Microsoft.Windows.Photos_8wekyb3d8b… 2024.11030.15001.0                     
Windows Clock                        Microsoft.WindowsAlarms_8wekyb3d8bb… 11.2403.8.0                            
WindowsAppRuntime.1.2                Microsoft.WindowsAppRuntime.1.2_8we… 2000.802.31.0                          
WindowsAppRuntime.1.3                Microsoft.WindowsAppRuntime.1.3_8we… 3000.934.1904.0                        
WindowsAppRuntime.1.4                Microsoft.WindowsAppRuntime.1.4_8we… 4000.1136.2333.0                       
WindowsAppRuntime.1.5                Microsoft.WindowsAppRuntime.1.5_8we… 5001.70.1338.0                         
Windows Calculator                   Microsoft.WindowsCalculator_8wekyb3… 11.2401.0.0                            
Windows Camera                       Microsoft.WindowsCamera_8wekyb3d8bb… 2024.2402.5.0                          
Feedback Hub                         Microsoft.WindowsFeedbackHub_8wekyb… 1.2401.20253.0                         
Windows Maps                         Microsoft.WindowsMaps_8wekyb3d8bbwe  11.2402.2.0                            
Windows Notepad                      Microsoft.WindowsNotepad_8wekyb3d8b… 11.2401.26.0                           
Windows Scan                         Microsoft.WindowsScan_8wekyb3d8bbwe  6.3.9654.17133                         
Windows Sound Recorder               Microsoft.WindowsSoundRecorder_8wek… 1.0.76.0                               
Microsoft Store                      Microsoft.WindowsStore_8wekyb3d8bbwe 22402.1401.4.0                         
Windows Terminal                     Microsoft.WindowsTerminal            1.19.10821.0                           winget
Windows Package Manager Source (win… Microsoft.Winget.Source_8wekyb3d8bb… 2024.414.1454.918                      
Xbox TCUI                            Microsoft.Xbox.TCUI_8wekyb3d8bbwe    1.24.10001.0                           
Xbox Accessories                     Microsoft.XboxDevices_8wekyb3d8bbwe  2403.2403.11002.0                      
Xbox Game Bar Plugin                 Microsoft.XboxGameOverlay_8wekyb3d8… 1.54.4001.0                            
Game Bar                             Microsoft.XboxGamingOverlay_8wekyb3… 7.124.3191.0                           
Xbox Identity Provider               Microsoft.XboxIdentityProvider_8wek… 12.95.3001.0                           
Xbox Game Speech Window              Microsoft.XboxSpeechToTextOverlay_8… 1.21.13002.0                           
"Hinge"                              Microsoft.YourPhone.114_a2bk5xy4x8z… 1.1.0.0                                
Phone Link                           Microsoft.YourPhone_8wekyb3d8bbwe    1.24022.87.0                           
Windows Media Player                 Microsoft.ZuneMusic_8wekyb3d8bbwe    11.2402.6.0                            
Movies & TV                          Microsoft.ZuneVideo_8wekyb3d8bbwe    10.22091.10061.0                       
Quick Assist                         MicrosoftCorporationII.QuickAssist_… 2.0.30.0                               
Windows Subsystem for Linux          MicrosoftCorporationII.WindowsSubsy… 2.1.5.0                                
Microsoft Teams                      Microsoft.Teams.Free                 23091.406.2009.3890     24060.3102.27… winget
Windows CoPilot MSIX Pack            MicrosoftWindows.Client.CoPilot_cw5… 724.1301.930.5                         
Windows Web Experience Pack          MicrosoftWindows.Client.WebExperien… 424.1301.450.0                         
Cross Device Experience Host         MicrosoftWindows.CrossDevice_cw5n1h… 1.24031.69.0                           
Speech Pack - English (United State… MicrosoftWindows.Speech.en-US.1_cw5… 1.0.16.0                               
Mozilla Thunderbird (x64 en-CA)      Mozilla.Thunderbird                  115.8.1                 115.9.0        winget
Mozilla Maintenance Service          MozillaMaintenanceService            115.8.1                                
Quick Share                          NearbyShareLauncher_xyz345f542f50    1.0.1533.13                            
Notepad++ (64-bit x64)               Notepad++.Notepad++                  8.6.4                   8.6.5          winget
Notepad++                            NotepadPlusPlus_7njy0v32s6xk6        1.0.0.0                                
Microsoft 365 - en-us                O365HomePremRetail - en-us           16.0.17231.20290                       
Microsoft OneDrive                   Microsoft.OneDrive                   24.055.0317.0002                       winget
Speedtest by Ookla                   Ookla.SpeedtestbyOokla_43tkc6nmykmb6 1.18.194.0                             
Galaxy Buds                          SAMSUNGELECTRONICSCO.LTD.GalaxyBuds… 5.9.2.0                                
SmartThings                          SAMSUNGELECTRONICSCO.LTD.SmartThing… 1.23511.0.0                            
SQLite                               SQLite.SQLite                        3.45.1                  3.45.2         winget
Speccy                               Piriform.Speccy                      1.32                                   winget
Spotify Music                        SpotifyAB.SpotifyMusic_zpdnekdrzrea0 1.235.663.0                            
Steam                                Valve.Steam                          2.10.91.91                             winget
Dungeon Siege 2                      Steam App 39200                      Unknown                                
Assassin's Creed III Remastered      Steam App 911400                     Unknown                                
JetBrains Toolbox                    JetBrains.Toolbox                    2.2.3.20090                            winget
Ubisoft Connect                      Ubisoft.Connect                      150.1.11037             151.2.0.11050  winget
WinDirStat 1.1.2                     WinDirStat.WinDirStat                Unknown                 1.1.2          winget
WinMerge                             WinMerge_83g614hpn1ttr               1.0.7.0                                
WinMerge 2.16.38.0 x64               WinMerge.WinMerge                    2.16.38.0                              winget
WizTree v4.19                        AntibodySoftware.WizTree             4.19                                   winget
Discord                              a648a36d30b7fa49883db6c85970c974     1.0                                    
Quicken Simplifi                     a955db29816a4e13ccdfeec1a6f347c7     1.0                                    
MyTFC                                c73905e173f9d6bef811aba0ed1c2afa     1.0                                    
Grubhub Web                          cc0d3971456c9516b240339c0aca6d3e     1.0                                    
X                                    dc068873b56e6470af9b961f977a5795     1.0                                    
Codespaces                           ddc7ac262ae6961d0ffde681f9f4acef     1.0                                    
Trello                               de9507a10a21b5b836c5f29eec77f873     1.0                                    
digiKam 8.2.0                        KDE.digikam                          8.2.0                   8.3.0          winget
paint.net                            dotPDNLLC.paint.net_h55e3w7q8jbva    5.13.8830.0                            
Mail and Calendar                    microsoft.windowscommunicationsapps… 16005.14326.21854.0                    
WinSCP 6.3.1                         WinSCP.WinSCP                        6.3.1                   6.3.2          winget
Hulu                                 www.hulu.com-A83135D9_nj082ms7z4p92  4.12.0.1                               
Microsoft Visual C++ 2013 Redistrib… Microsoft.VCRedist.2013.x64          12.0.40664.0                           winget
MiniTool Partition Wizard Free 12.8  MiniTool.PartitionWizard.Free        12.8                                   winget
Microsoft Windows Desktop Runtime -… Microsoft.DotNet.DesktopRuntime.3_1  3.1.32                                 winget
Canon MX490 series MP Drivers        {1199FAD5-9546-44f3-81CF-FFDB8040B7… 1.02                                   
vs_CoreEditorFonts                   {1851460E-0E63-4117-B5BA-25A2F04580… 17.7.40001                             
Microsoft Visual C++ 2010  x64 Redi… Microsoft.VCRedist.2010.x86          10.0.40219                             winget
Microsoft GameInput                  {1F2B6AF3-C260-8666-5950-E3FEDBC851… 10.1.22621.3036                        
Microsoft Visual C++ 2015-2022 Redi… Microsoft.VCRedist.2015+.x86         14.38.33130.0           14.38.33135.0  winget
Microsoft Windows Desktop Runtime -… Microsoft.DotNet.DesktopRuntime.5    5.0.17                                 winget
Microsoft Visual C++ 2015-2022 Redi… Microsoft.VCRedist.2015+.x86         14.38.33130.0           14.38.33135.0  winget
Microsoft .NET SDK 8.0.200 (x64) fr… {362F69C4-1767-4556-AE21-5CAF8C0803… 8.2.24.6925                            
Qt                                   {37caa438-7030-41e8-9a1d-6f6611cbc6… 4.6.1                                  
Python Launcher                      Python.Launcher                      > 3.12.0                               winget
Quick Share from Google              Google.QuickShare                    1.0.1533.13                            winget
Windows Subsystem for Linux WSLg Pr… {3CBDE512-7510-4F90-B1C0-7C4EB9DD7C… 1.0.27                                 
Zoom (64-bit)                        Zoom.Zoom                            > 5.17.11.34827                        winget
DB Browser for SQLite                DBBrowserForSQLite.DBBrowserForSQLi… 3.12.2                                 winget
Microsoft Windows Desktop Runtime -… Microsoft.DotNet.DesktopRuntime.6    6.0.29                                 winget
PowerToys (Preview) x64              Microsoft.PowerToys                  0.79.0                  0.80.1         winget
Windows SDK AddOn                    {5AC9D20F-F065-4ECB-A0A4-EEFAB6A348… 10.1.0.0                               
Microsoft System CLR Types for SQL … Microsoft.CLRTypesSQLServer.2019     15.0.2000.5                            winget
Double Commander                     alexx2000.DoubleCommander            1.0.11                  1.1.12         winget
Windows Software Development Kit - … Microsoft.WindowsSDK.10.0.20348      10.1.20348.1                           winget
X64 Debuggers And Tools              {66B288E6-3354-AB0F-920D-909DDAA653… 10.1.17763.132                         
PicoTorrent                          PicoTorrent.PicoTorrent              0.25.0                                 winget
Google Drive                         Google.GoogleDrive                   89.0.2.0                               winget
Microsoft Visual Studio Installer    {6F320B93-EE3C-4826-85E0-ADF79F8D4C… 3.9.2164.57262                         
Microsoft Visual C++ 2005 Redistrib… Microsoft.VCRedist.2005.x64          8.0.61001                              winget
Node.js                              OpenJS.NodeJS                        21.7.0                  21.7.3         winget
GOG GALAXY                           GOG.Galaxy                           Unknown                 2.0.73.27      winget
Windows Software Development Kit - … Microsoft.WindowsSDK.10.0.22621      10.1.22621.2428                        winget
Microsoft Visual Studio Code (User)  Microsoft.VisualStudioCode           1.87.2                  1.88.1         winget
WingetUI                             {889610CC-4337-4BDB-AC3B-4F21806C0B… 3.0.2                                  
VLC media player                     VideoLAN.VLC                         3.0.20                                 winget
PuTTY release 0.80 (64-bit)          PuTTY.PuTTY                          0.80.0.0                               winget
Microsoft Windows Desktop Runtime -… Microsoft.DotNet.DesktopRuntime.7    7.0.18                                 winget
Microsoft Visual C++ 2008 Redistrib… Microsoft.VCRedist.2008.x86          9.0.30729.6161                         winget
JetBrains ETW Host Service (x64)     {9F2D3274-68A0-4B93-9799-F575BFEBF5… 16.37.0                                
Microsoft Visual C++ 2013 Redistrib… Microsoft.VCRedist.2013.x86          12.0.40664.0                           winget
ILSpy                                icsharpcode.ILSpy                    8.2.0.7535                             winget
VPN by Google One                    Google.VPNByGoogleOne                1.9.0.6                                winget
X86 Debuggers And Tools              {A80F4302-E354-EFCD-3802-3CB0572D4F… 10.1.17763.132                         
Adobe Acrobat (64-bit)               Adobe.Acrobat.Reader.64-bit          24.002.20687                           winget
PDFtk - The PDF Toolkit version 2.02 PDFLabs.PDFtk.Free                   2.02                                   winget
Microsoft Update Health Tools        {C6FD611E-7EFE-488C-A0E0-974C09EF64… 5.72.0.0                               
Samsung USB Driver for Mobile Phones {D0795B21-0CDA-4a92-AB9E-6E92D8111E… 1.7.58.0                               
Java(TM) SE Development Kit 20.0.2 … Oracle.JDK.20                        20.0.2.0                               winget
Microsoft Visual C++ 2010  x86 Redi… Microsoft.VCRedist.2010.x86          10.0.40219                             winget
Windows Subsystem for Linux Update   {F8474A47-8B5D-4466-ACE3-78EAB3BF21… 5.10.102.1                             
Chocolatey GUI                       Chocolatey.ChocolateyGUI             2.1.0.0                                winget
Microsoft Visual C++ 2005 Redistrib… Microsoft.VCRedist.2005.x64          8.0.61000                              winget
Python 3.12.2 (64-bit)               Python.Python.3.12                   3.12.2                  3.12.3         winget
Windows Software Development Kit - … Microsoft.WindowsSDK.10.0.22000      10.0.22000.832                         winget
[2024-04-14 18:02:52] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:02:52] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop status
Scoop is up to date.
Name    Installed Version Latest Version Missing Dependencies Info
----    ----------------- -------------- -------------------- ----
cacert  2023-12-12        2024-03-11                              
flutter 3.19.3            3.19.5                                  
go      1.22.1            1.22.2                                  
gradle  8.6               8.7                                     
sbt     1.9.8             1.9.9                                   
[2024-04-14 18:02:52] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:03:32] .NET Tool ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\dotnet\dotnet.exe
█  Arguments: tool search "sourcegit"
Could not find any results.
[2024-04-14 18:03:32] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:03:32] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe
█  Arguments:  search "sourcegit"  --accept-source-agreements
   \ 
No package found matching input criteria.
[2024-04-14 18:03:32] Exit Code: -1978335212
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:03:35] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\ProgramData\chocolatey\bin\choco.exe
█  Arguments:  search "sourcegit"
Chocolatey v2.2.2
adobe-source-sans 3.52.0 [Approved]
adobe-source-serif 4.5.0 [Approved]
nerd-fonts-SourceCodePro 3.2.1 [Approved]
SourceCodePro 2.30.0 [Approved] Downloads cached for licensed users - Possibly broken for FOSS users (due to original download location changes by vendor)
source-han-code-jp 2.12.0 [Approved]
source-han-sans-cn 2.0.0 [Approved] Downloads cached for licensed users
source-han-sans-sc 2.0.0 [Approved] Downloads cached for licensed users - Possibly broken for FOSS users (due to original download location changes by vendor)
source-han-serif-cn 1.1.0 [Approved] Downloads cached for licensed users - Possibly broken for FOSS users (due to original download location changes by vendor)
source-han-serif-sc 1.1.0 [Approved] - Possibly broken
sourceinsight 3.5.72.20140224 - Possibly broken
SourceLink 1.1.0 [Approved]
sourcemonitor 3.5.16.62 [Approved] Downloads cached for licensed users
SourcePreviewHandler 1.0.15 [Approved] Downloads cached for licensed users - Possibly broken for FOSS users (due to original download location changes by vendor)
sourcetrail 2021.4.19 [Approved] Downloads cached for licensed users
SourceTree 3.4.17 [Approved] Downloads cached for licensed users
sourcetree-disableautoupdate 1.0.0 [Approved] - Possibly broken
SymbolSource.DemoApplication 1.0.0
SymbolSource.Integration.NuGet.CommandLine 1.3.4
18 packages found.
[2024-04-14 18:03:35] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:03:36] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\scoop\shims\scoop-search.exe
█  Arguments: "sourcegit"
No matches found.
[2024-04-14 18:03:36] Exit Code: 1
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 18:03:37] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -Command Find-Module "sourcegit"
PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'sourcegit'. Try 
Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1397 char:3
+         PackageManagement\Find-Package @PSBoundParameters | Microsoft ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Exceptio 
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage
[2024-04-14 18:03:37] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 19:02:55] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop list
Installed apps:
Name         Version    Source Updated             Info
----         -------    ------ -------             ----
7zip         23.01      main   2023-07-12 13:07:32     
aria2        1.37.0-1   main   2023-12-12 19:35:07     
cacert       2024-03-11 main   2024-04-14 18:32:37     
flutter      3.19.3     extras 2024-03-08 18:10:49     
go           1.22.1     main   2024-03-08 18:13:11     
gradle       8.6        main   2024-02-19 17:45:22     
jq           1.7.1      main   2023-12-14 14:20:02     
maven        3.9.6      main   2023-12-12 22:55:19     
netcat       1.12       main   2023-06-19 20:56:58     
openjdk21    21.0.2-13  java   2024-02-19 17:23:14     
sbt          1.9.8      main   2024-03-21 18:22:19     
scoop-search 1.4.1      main   2024-02-19 17:29:17     
wget         1.21.4     main   2024-02-19 17:57:48     
xdelta       3.1.0      main   2023-07-12 15:19:20     
[2024-04-14 19:02:55] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 19:02:56] .NET Tool ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\.dotnet\tools\dotnet-tools-outdated.exe
█  Arguments: 
[2024-04-14 19:02:56] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 19:02:56] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments: 
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Program Files\WingetUI> 
PS C:\Program Files\WingetUI>                 function Test-GalleryModuleUpdate {
>>                     param (
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [version] $Version,
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Repository,
>>                         [switch] $NeedUpdateOnly
>>                     )
>>                     process {
>>                         $URLs = @{}
>>                         @(Get-PSRepository).ForEach({$URLs[$_.Name] = $_.SourceLocation})
>>                         $page = Invoke-WebRequest -Uri ($URLs[$Repository] + "/package/$Name") -UseBasicParsing -Maximum 0 -ea Ignore
>>                         [version]$latest = Split-Path -Path ($page.Headers.Location -replace "$Name." -replace ".nupkg") -Leaf
>>                         $needsupdate = $Latest -gt $Version
>>                         if ($needsupdate) {
>>                                 Write-Output($Name + "|" + $Version.ToString() + "|" + $Latest.ToString() + "|" + $Repository)
>>                         }
>>                     }
>>                 }
>>                 Get-InstalledModule | Test-GalleryModuleUpdate
PS C:\Program Files\WingetUI>                 exit
[2024-04-14 19:02:56] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 19:02:59] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\ProgramData\chocolatey\bin\choco.exe
█  Arguments:  outdated
Chocolatey v2.2.2
Outdated Packages
 Output is package name | current version | available version | pinned?
keepass|2.53.1|2.56.0|true
keepass.install|2.53.1|2.56.0|true
vcredist140|14.34.31931|14.38.33135|true
Chocolatey has determined 3 package(s) are outdated. 
[2024-04-14 19:02:59] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 19:02:59] Npm ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm outdated --global --parseable
[2024-04-14 19:02:59] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 19:02:59] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop status
WARN  Scoop bucket(s) out of date. Run 'scoop update' to get the latest changes.
Name    Installed Version Latest Version Missing Dependencies Info
----    ----------------- -------------- -------------------- ----
flutter 3.19.3            3.19.5                                  
go      1.22.1            1.22.2                                  
gradle  8.6               8.7                                     
sbt     1.9.8             1.9.9                                   
[2024-04-14 19:02:59] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-04-14 19:02:59] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe
█  Arguments:  update --include-unknown  --accept-source-agreements
   \ 
   / 
   - 
   | 
   - 
   | 
   - 
Name                                      Id                            Version             Available            Source
-----------------------------------------------------------------------------------------------------------------------
Google Chrome                             Google.Chrome.EXE             123.0.6312.107      123.0.6312.123       winget
HWiNFO64                                  REALiX.HWiNFO                 7.72                8.00                 winget
Microsoft Edge WebView2 Runtime           Microsoft.EdgeWebView2Runtime 123.0.2420.65       123.0.2420.97        winget
Microsoft Teams                           Microsoft.Teams.Free          23091.406.2009.3890 24060.3102.2733.5911 winget
Mozilla Thunderbird (x64 en-CA)           Mozilla.Thunderbird           115.8.1             115.9.0              winget
Notepad++ (64-bit x64)                    Notepad++.Notepad++           8.6.4               8.6.5                winget
SQLite                                    SQLite.SQLite                 3.45.1              3.45.2               winget
Ubisoft Connect                           Ubisoft.Connect               150.1.11037         151.2.0.11050        winget
WinDirStat 1.1.2                          WinDirStat.WinDirStat         Unknown             1.1.2                winget
WinSCP 6.3.1                              WinSCP.WinSCP                 6.3.1               6.3.2                winget
Microsoft Visual C++ 2015-2022 Redistrib… Microsoft.VCRedist.2015+.x86  14.38.33130.0       14.38.33135.0        winget
Microsoft Visual C++ 2015-2022 Redistrib… Microsoft.VCRedist.2015+.x86  14.38.33130.0       14.38.33135.0        winget
PowerToys (Preview) x64                   Microsoft.PowerToys           0.79.0              0.80.1               winget
Double Commander                          alexx2000.DoubleCommander     1.0.11              1.1.12               winget
Node.js                                   OpenJS.NodeJS                 21.7.0              21.7.3               winget
GOG GALAXY                                GOG.Galaxy                    Unknown             2.0.73.27            winget
Python 3.12.2 (64-bit)                    Python.Python.3.12            3.12.2              3.12.3               winget
17 upgrades available.
[2024-04-14 19:02:59] Exit Code: 0

Relevant information

It never worked for me

Screenshots and videos

No response

@mwisnicki mwisnicki added the bug Something isn't working label Apr 14, 2024
@marticliment
Copy link
Owner

Are you installing the packages with right-click -> run as administrator?

@mwisnicki
Copy link
Author

image

I just click "Update selected packaged". Just noticed next button is "Update as administrator", am I supposed to click that instead? If so, it's a bit unintuitive since the setting section mentions "elevate installations by default".

@mwisnicki
Copy link
Author

Also I only want to update as admin only these packages that require admin. The remaining should update/install per user.

@marticliment
Copy link
Owner

If so, it's a bit unintuitive since the setting section mentions "elevate installations by default".

But you do have this option enabled or not?

@mwisnicki
Copy link
Author

There is no such option, see screenshot in the description.

@marticliment
Copy link
Owner

You can automatically elevate operations for a specific manager using the following setting:
image

@seffyroff
Copy link

Right, but I agree with Marcin here, I only want to elevate for installs that require it. Is that possible? or is that what that setting implies? (because it reads like it's going to elevate ALL installs regardless of if they need it or not).

I've tried using "Ask only once for administrator privileges (not recommended)" and "Ask for administrator privileges once for each batch of operations" and I've tried having both enabled, or none enabled. The effect is the same regardless, I get Admin prompt for every individual install in a list of upgrades.

@mwisnicki
Copy link
Author

Right so I think my original issue was caused by misunderstanding how this option is supposed to work.

I think the "Ask only once for administrator privileges" deserves extra explanation in the UI that it is only effective when package managers are configured to always use elevation.

Separately I can create feature request to actually support asking only once with elevation as needed. I imagine this might be tricky to implement but not impossible.

@llvs
Copy link

llvs commented Apr 26, 2024

I second that. Some installations fail with activated elevation, if the original install was aware of normal user/admin separation and installed only for the normal user and not the admin user.
It is just unclear, how to detect this beforehand. Some installers ask for privilege elevation in the middle of the process or only optionally (if you want to install explicitly for all users).

@mwisnicki
Copy link
Author

It is just unclear, how to detect this beforehand. Some installers ask for privilege elevation in the middle of the process or only optionally (if you want to install explicitly for all users).

I see few options for dynamic elevation:

  1. Remember if there was elevation last time. This should mostly solve upgrades.
  2. Detect attempt at elevation and kill then restart elevated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-author-answer
Projects
None yet
Development

No branches or pull requests

4 participants