marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
10.38k stars 337 forks source link

[BUG] Packages not shown #2427

Closed skanda890 closed 1 day ago

skanda890 commented 3 days ago

Please confirm these before moving forward

UniGetUI Version

3.10

Windows version, edition, and architecture

Windows11 Pro 22621.3810

Describe your issue

Packages not shown in UnigetUI.

Steps to reproduce the issue

Go to Installed Packages.

UniGetUI Log

[04-07-2024 18:43:43] 
                         __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /  
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /   
                      \____/_/ /_/_/\____/\___/\__/\____/___/   
                          Welcome to UniGetUI Version 3.1.0
[04-07-2024 18:43:43]
[04-07-2024 18:43:43] Version Code:  3.1
[04-07-2024 18:43:52] Using bundled GSudo at A:\WingetUI\UniGetUI\Assets\Utilities\gsudo.exe
[04-07-2024 18:44:03] Loaded language locale: en
[04-07-2024 18:44:22] Randomly-generated background API auth token for the current session: w61pk0y3olwazmfnbo0pbynhpfa0slig4mxx2gnyvbrmnfymmprcb41ywjrpdw72
[04-07-2024 18:44:32] Api running on http://localhost:7058
[04-07-2024 18:44:39] Lang files were updated successfully from GitHub
[04-07-2024 18:44:39] UniGetUI is up to date
[04-07-2024 18:44:43] Downloaded new icons and screenshots successfully!
[04-07-2024 18:44:48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: pip
                      █ Executable path: C:\Users\Skand_zncmqfh\AppData\Local\Programs\Python\Python312\python.exe
                      █ Call arguments:  -m pip
                      █ Version: 
                      █   pip 24.1.1 from C:\Users\Skand_zncmqfh\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip (python 3.12)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04-07-2024 18:44:55] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04-07-2024 18:44:58] System.TimeoutException: The operation has timed out.
                         at UniGetUI.PackageEngine.PEInterface.Initialize() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageEngine\PEInterface.cs:line 44
[04-07-2024 18:44:58] Timeout: Not all package managers have finished initializing.
[04-07-2024 18:45:03] Resetting administrator rights cache for process id 6412
[04-07-2024 18:45:04] Resetting administrator rights cache for process id 6412
[04-07-2024 18:45:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.8.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04-07-2024 18:45:08] Scoop sources took too long to load, using known sources as default
[04-07-2024 18:45:08] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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: 
                      █   
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04-07-2024 18:45:08] Command scoop-search.exe was not found on the system
[04-07-2024 18:45:08] Dependency Scoop-Search was not found for manager Scoop, marking to prompt...
[04-07-2024 18:45:12] Found 0 installed packages from Scoop
[04-07-2024 18:45:12] Dependency Git for manager Scoop is present
[04-07-2024 18:45:17] Chocolatey sources took too long to load, using known sources as default
[04-07-2024 18:45:17] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: choco.exe
                      █ Executable path: C:\Users\Skand_zncmqfh\AppData\Local\UniGetUI\Chocolatey\bin\choco.exe
                      █ Call arguments: 
                      █ Version: 
                      █   2.2.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04-07-2024 18:45:17] PowerShell sources took too long to load, using known sources as default
[04-07-2024 18:45:17] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.3810                                                                          
                      █   PSEdition                      Desktop                                                                                 
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █   BuildVersion                   10.0.22621.3810                                                                         
                      █   CLRVersion                     4.0.30319.42000                                                                         
                      █   WSManStackVersion              3.0                                                                                     
                      █   PSRemotingProtocolVersion      2.3                                                                                     
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04-07-2024 18:45:18] Found 1 installed packages from Pip
[04-07-2024 18:45:20] Backup saved to A:\WingetUI Backup\Installed Packages\HPLAPTOP installed packages 2024-07-04 18-45-20.json
[04-07-2024 18:45:20] Found 0 installed packages from Scoop
[04-07-2024 18:45:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: winget.exe
                      █ Executable path: C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   Naive WinGet CLI Version: v1.7.11261
                      █   Microsoft.WinGet.Client PSModule version: 
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04-07-2024 18:45:21] Found 0 available updates from Pip
[04-07-2024 18:45:22] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[04-07-2024 18:45:23] Found 0 available updates from Scoop
[04-07-2024 18:55:29] Found 0 installed packages from Scoop
[04-07-2024 18:55:32] Found 0 available updates from Scoop
[04-07-2024 18:55:33] Found 0 available updates from Pip
[04-07-2024 18:55:33] Found 0 available updates from Chocolatey
[04-07-2024 18:55:39] Found 1 available updates from Npm
[04-07-2024 18:55:42] Found 7 available updates from Winget
[04-07-2024 18:55:43] Found 0 available updates from PowerShell
[04-07-2024 19:05:51] Found 0 installed packages from Scoop
[04-07-2024 19:05:51] Found 0 available updates from Pip
[04-07-2024 19:05:51] Found 0 available updates from Chocolatey
[04-07-2024 19:05:52] Found 0 available updates from Scoop
[04-07-2024 19:05:56] Found 0 available updates from PowerShell
[04-07-2024 19:05:58] Found 1 available updates from Npm
[04-07-2024 19:05:59] Found 7 available updates from Winget

Package Managers Logs

Manager Winget with version:
Naive WinGet CLI Version: v1.7.11261
Microsoft.WinGet.Client PSModule version: 
Using Native WinGet helper (COM Api)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 04-07-2024 18:45:20
Process end time:   04-07-2024 18:45:21

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 18:55:24
Process end time:   04-07-2024 18:55:26

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 18:55:26
Process end time:   04-07-2024 18:55:42

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 19:05:43
Process end time:   04-07-2024 19:05:45

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 19:05:45
Process end time:   04-07-2024 19:05:59

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Relevant information

No response

Screenshots and videos

image

marticliment commented 3 days ago

Please run Install-Module Microsoft.WinGet.Client on a powershell window

skanda890 commented 3 days ago

Done

marticliment commented 3 days ago

please share verbose winget logs

skanda890 commented 3 days ago

The screen is still like this: image Don't know if WinGet is installed.

skanda890 commented 3 days ago

Logs:

Manager Winget with version:
Naive WinGet CLI Version: v1.7.11261
Microsoft.WinGet.Client PSModule version: 
Using Native WinGet helper (COM Api)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 04-07-2024 18:45:20
Process end time:   04-07-2024 18:45:21

-- Task information
  Found source winget with argument https://cdn.winget.microsoft.com/cache

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 18:55:24
Process end time:   04-07-2024 18:55:26

-- Process STDOUT
  Updating all sources...
  Updating source: winget...

   - 
   \ 
   | 

Done

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 18:55:26
Process end time:   04-07-2024 18:55:42

-- Process STDIN
  Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  Import-Module Microsoft.WinGet.Client
  function Print-WinGetPackage {
      param (
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
          [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
          [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
      )
      process {
          if($IsUpdateAvailable)
          {
              Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
          }
      }
  }

  Get-WinGetPackage | Print-WinGetPackage

  exit

-- Process STDOUT
  PS A:\WingetUI\UniGetUI> Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  PS A:\WingetUI\UniGetUI> Import-Module Microsoft.WinGet.Client
  PS A:\WingetUI\UniGetUI> function Print-WinGetPackage {
  >>     param (
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
  >>     )
  >>     process {
  >>         if($IsUpdateAvailable)
  >>         {
  >>             Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
  >>         }
  >>     }
  >> }
  >> 
  PS A:\WingetUI\UniGetUI> Get-WinGetPackage | Print-WinGetPackage
  #App Installer    Microsoft.AppInstaller  1.22.11261.0    1.23.1791.0 winget
  #Roblox Player    Roblox.Roblox   Unknown 1.6.1.6310472   winget
  #Python 3.12  Python.Python.3.12  3.12.3  3.12.4  winget
  #WingetUI SomePythonThings.WingetUIStore.Pre-release  3.1.0   3.1.0-beta2 winget
  #Microsoft .NET Windows Desktop Runtime 6.0   Microsoft.DotNet.DesktopRuntime.6   > 6.0.31    8.0.6   winget
  #Node.js  OpenJS.NodeJS   22.3.0  22.4.0  winget
  #PowerToys (Preview)  Microsoft.PowerToys 0.81.1  0.82.0  winget
  PS A:\WingetUI\UniGetUI> 
  PS A:\WingetUI\UniGetUI> exit

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 19:05:43
Process end time:   04-07-2024 19:05:45

-- Process STDOUT
  Updating all sources...
  Updating source: winget...

   - 
   \ 
   | 

Done

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 19:05:45
Process end time:   04-07-2024 19:05:59

-- Process STDIN
  Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  Import-Module Microsoft.WinGet.Client
  function Print-WinGetPackage {
      param (
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
          [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
          [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
      )
      process {
          if($IsUpdateAvailable)
          {
              Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
          }
      }
  }

  Get-WinGetPackage | Print-WinGetPackage

  exit

-- Process STDOUT
  PS A:\WingetUI\UniGetUI> Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  PS A:\WingetUI\UniGetUI> Import-Module Microsoft.WinGet.Client
  PS A:\WingetUI\UniGetUI> function Print-WinGetPackage {
  >>     param (
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
  >>     )
  >>     process {
  >>         if($IsUpdateAvailable)
  >>         {
  >>             Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
  >>         }
  >>     }
  >> }
  >> 
  PS A:\WingetUI\UniGetUI> Get-WinGetPackage | Print-WinGetPackage
  #App Installer    Microsoft.AppInstaller  1.22.11261.0    1.23.1791.0 winget
  #Roblox Player    Roblox.Roblox   Unknown 1.6.1.6310472   winget
  #Python 3.12  Python.Python.3.12  3.12.3  3.12.4  winget
  #WingetUI SomePythonThings.WingetUIStore.Pre-release  3.1.0   3.1.0-beta2 winget
  #Microsoft .NET Windows Desktop Runtime 6.0   Microsoft.DotNet.DesktopRuntime.6   > 6.0.31    8.0.6   winget
  #Node.js  OpenJS.NodeJS   22.3.0  22.4.0  winget
  #PowerToys (Preview)  Microsoft.PowerToys 0.81.1  0.82.0  winget
  PS A:\WingetUI\UniGetUI> 
  PS A:\WingetUI\UniGetUI> exit

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 19:15:59
Process end time:   04-07-2024 19:16:01

-- Process STDOUT
  Updating all sources...
  Updating source: winget...

   - 
   \ 
   | 

Done

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 19:16:01
Process end time:   04-07-2024 19:16:12

-- Process STDIN
  Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  Import-Module Microsoft.WinGet.Client
  function Print-WinGetPackage {
      param (
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
          [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
          [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
      )
      process {
          if($IsUpdateAvailable)
          {
              Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
          }
      }
  }

  Get-WinGetPackage | Print-WinGetPackage

  exit

-- Process STDOUT
  PS A:\WingetUI\UniGetUI> Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  PS A:\WingetUI\UniGetUI> Import-Module Microsoft.WinGet.Client
  PS A:\WingetUI\UniGetUI> function Print-WinGetPackage {
  >>     param (
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
  >>     )
  >>     process {
  >>         if($IsUpdateAvailable)
  >>         {
  >>             Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
  >>         }
  >>     }
  >> }
  >> 
  PS A:\WingetUI\UniGetUI> Get-WinGetPackage | Print-WinGetPackage
  #App Installer    Microsoft.AppInstaller  1.22.11261.0    1.23.1791.0 winget
  #Roblox Player    Roblox.Roblox   Unknown 1.6.1.6310472   winget
  #Python 3.12  Python.Python.3.12  3.12.3  3.12.4  winget
  #WingetUI SomePythonThings.WingetUIStore.Pre-release  3.1.0   3.1.0-beta2 winget
  #Microsoft .NET Windows Desktop Runtime 6.0   Microsoft.DotNet.DesktopRuntime.6   > 6.0.31    8.0.6   winget
  #Node.js  OpenJS.NodeJS   22.3.0  22.4.0  winget
  #PowerToys (Preview)  Microsoft.PowerToys 0.81.1  0.82.0  winget
  PS A:\WingetUI\UniGetUI> 
  PS A:\WingetUI\UniGetUI> exit

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 19:26:12
Process end time:   04-07-2024 19:26:20

-- Process STDOUT
  Updating all sources...
  Updating source: winget...

   - 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 

Done

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 19:26:20
Process end time:   04-07-2024 19:27:11

-- Process STDIN
  Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  Import-Module Microsoft.WinGet.Client
  function Print-WinGetPackage {
      param (
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
          [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
          [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
      )
      process {
          if($IsUpdateAvailable)
          {
              Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
          }
      }
  }

  Get-WinGetPackage | Print-WinGetPackage

  exit

-- Process STDOUT
  PS A:\WingetUI\UniGetUI> Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  PS A:\WingetUI\UniGetUI> Import-Module Microsoft.WinGet.Client
  PS A:\WingetUI\UniGetUI> function Print-WinGetPackage {
  >>     param (
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
  >>     )
  >>     process {
  >>         if($IsUpdateAvailable)
  >>         {
  >>             Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
  >>         }
  >>     }
  >> }
  >> 
  PS A:\WingetUI\UniGetUI> Get-WinGetPackage | Print-WinGetPackage
  #App Installer    Microsoft.AppInstaller  1.22.11261.0    1.23.1791.0 winget
  #Roblox Player    Roblox.Roblox   Unknown 1.6.1.6310472   winget
  #Python 3.12  Python.Python.3.12  3.12.3  3.12.4  winget
  #WingetUI SomePythonThings.WingetUIStore.Pre-release  3.1.0   3.1.0-beta2 winget
  #Microsoft .NET Windows Desktop Runtime 6.0   Microsoft.DotNet.DesktopRuntime.6   > 6.0.31    8.0.6   winget
  #Node.js  OpenJS.NodeJS   22.3.0  22.4.0  winget
  #PowerToys (Preview)  Microsoft.PowerToys 0.81.1  0.82.0  winget
  PS A:\WingetUI\UniGetUI> 
  PS A:\WingetUI\UniGetUI> exit

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 19:37:13
Process end time:   04-07-2024 19:37:16

-- Process STDOUT
  Updating all sources...
  Updating source: winget...

   - 
   \ 

Done

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 19:37:16
Process end time:   04-07-2024 19:37:29

-- Process STDIN
  Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  Import-Module Microsoft.WinGet.Client
  function Print-WinGetPackage {
      param (
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
          [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
          [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
      )
      process {
          if($IsUpdateAvailable)
          {
              Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
          }
      }
  }

  Get-WinGetPackage | Print-WinGetPackage

  exit

-- Process STDOUT
  PS A:\WingetUI\UniGetUI> Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  PS A:\WingetUI\UniGetUI> Import-Module Microsoft.WinGet.Client
  PS A:\WingetUI\UniGetUI> function Print-WinGetPackage {
  >>     param (
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
  >>     )
  >>     process {
  >>         if($IsUpdateAvailable)
  >>         {
  >>             Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
  >>         }
  >>     }
  >> }
  >> 
  PS A:\WingetUI\UniGetUI> Get-WinGetPackage | Print-WinGetPackage
  #App Installer    Microsoft.AppInstaller  1.22.11261.0    1.23.1791.0 winget
  #Roblox Player    Roblox.Roblox   Unknown 1.6.1.6310472   winget
  #Python 3.12  Python.Python.3.12  3.12.3  3.12.4  winget
  #WingetUI SomePythonThings.WingetUIStore.Pre-release  3.1.0   3.1.0-beta2 winget
  #Microsoft .NET Windows Desktop Runtime 6.0   Microsoft.DotNet.DesktopRuntime.6   > 6.0.31    8.0.6   winget
  #Node.js  OpenJS.NodeJS   22.3.0  22.4.0  winget
  #PowerToys (Preview)  Microsoft.PowerToys 0.81.1  0.82.0  winget
  PS A:\WingetUI\UniGetUI> 
  PS A:\WingetUI\UniGetUI> exit

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 19:47:29
Process end time:   04-07-2024 19:47:33

-- Process STDOUT
  Updating all sources...
  Updating source: winget...

   - 
   \ 

Done

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 19:47:33
Process end time:   04-07-2024 19:47:43

-- Process STDIN
  Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  Import-Module Microsoft.WinGet.Client
  function Print-WinGetPackage {
      param (
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
          [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
          [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
      )
      process {
          if($IsUpdateAvailable)
          {
              Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
          }
      }
  }

  Get-WinGetPackage | Print-WinGetPackage

  exit

-- Process STDOUT
  PS A:\WingetUI\UniGetUI> Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  PS A:\WingetUI\UniGetUI> Import-Module Microsoft.WinGet.Client
  PS A:\WingetUI\UniGetUI> function Print-WinGetPackage {
  >>     param (
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
  >>     )
  >>     process {
  >>         if($IsUpdateAvailable)
  >>         {
  >>             Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
  >>         }
  >>     }
  >> }
  >> 
  PS A:\WingetUI\UniGetUI> Get-WinGetPackage | Print-WinGetPackage
  #App Installer    Microsoft.AppInstaller  1.22.11261.0    1.23.1791.0 winget
  #Roblox Player    Roblox.Roblox   Unknown 1.6.1.6310472   winget
  #Python 3.12  Python.Python.3.12  3.12.3  3.12.4  winget
  #WingetUI SomePythonThings.WingetUIStore.Pre-release  3.1.0   3.1.0-beta2 winget
  #Microsoft .NET Windows Desktop Runtime 6.0   Microsoft.DotNet.DesktopRuntime.6   > 6.0.31    8.0.6   winget
  #Node.js  OpenJS.NodeJS   22.3.0  22.4.0  winget
  #PowerToys (Preview)  Microsoft.PowerToys 0.81.1  0.82.0  winget
  PS A:\WingetUI\UniGetUI> 
  PS A:\WingetUI\UniGetUI> exit

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 04-07-2024 19:57:43
Process end time:   04-07-2024 19:57:49

-- Process STDOUT
  Updating all sources...
  Updating source: winget...

   - 
   \ 
   | 

Done

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 04-07-2024 19:57:49
Process end time:   04-07-2024 19:57:59

-- Process STDIN
  Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  Import-Module Microsoft.WinGet.Client
  function Print-WinGetPackage {
      param (
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
          [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
          [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
      )
      process {
          if($IsUpdateAvailable)
          {
              Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
          }
      }
  }

  Get-WinGetPackage | Print-WinGetPackage

  exit

-- Process STDOUT
  PS A:\WingetUI\UniGetUI> Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  PS A:\WingetUI\UniGetUI> Import-Module Microsoft.WinGet.Client
  PS A:\WingetUI\UniGetUI> function Print-WinGetPackage {
  >>     param (
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Id,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $InstalledVersion,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string[]] $AvailableVersions,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [bool] $IsUpdateAvailable,
  >>         [Parameter(ValueFromPipelineByPropertyName)] [string] $Source
  >>     )
  >>     process {
  >>         if($IsUpdateAvailable)
  >>         {
  >>             Write-Output("#" + $Name + "`t" + $Id + "`t" + $InstalledVersion + "`t" + $AvailableVersions[0] + "`t" + $Source)
  >>         }
  >>     }
  >> }
  >> 
  PS A:\WingetUI\UniGetUI> Get-WinGetPackage | Print-WinGetPackage
  #App Installer    Microsoft.AppInstaller  1.22.11261.0    1.23.1791.0 winget
  #Roblox Player    Roblox.Roblox   Unknown 1.6.1.6310472   winget
  #Python 3.12  Python.Python.3.12  3.12.3  3.12.4  winget
  #WingetUI SomePythonThings.WingetUIStore.Pre-release  3.1.0   3.1.0-beta2 winget
  #Microsoft .NET Windows Desktop Runtime 6.0   Microsoft.DotNet.DesktopRuntime.6   > 6.0.31    8.0.6   winget
  #Node.js  OpenJS.NodeJS   22.3.0  22.4.0  winget
  #PowerToys (Preview)  Microsoft.PowerToys 0.81.1  0.82.0  winget
  PS A:\WingetUI\UniGetUI> 
  PS A:\WingetUI\UniGetUI> exit

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————
leic4u commented 3 days ago

I have the same problem, UnigetUI could not show the winget packages, while the scoop/pip/powershell packages are shown correctly.

bigdiff commented 2 days ago

I have the same issue here, I suspect this is an issue with window LTSC versions. I had the same issue with previous versions when using the system winget but the built-in one always worked. @marticliment let me know if you need more info.

bigdiff commented 2 days ago

I also want to add that winget is already installed before running Install-Module Microsoft.WinGet.Client but even after running that it still did not fix the issue.

Another thing I want to point out. The built-in winget works flawlessly when run from the cli

I can search update and install packages normally. But it seems uniget can't find it looking at the logs.

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Winget
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
█ INSTALLED OR IT HAS BEEN MISCONFIGURED 
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
bigdiff commented 2 days ago

The system winget executable exists in these locations:

C:\Users\Legion\AppData\Local\Microsoft\WindowsApps\winget.exe
C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.23.1791.0_x64__8wekyb3d8bbwe\winget.exe
C:\Users\Username\AppData\Local\Microsoft\WindowsApps\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\winget.exe
bigdiff commented 2 days ago

When running with administrator privileges winget seems to load fine though but there are some errors in the logs you can find them below

Logs ``` Running elevated, WinGet class registration is likely to fail Cannot create native WinGet instance due to error: System.Runtime.InteropServices.COMException (0x80040154): Class not registered at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at WindowsPackageManager.Interop.WindowsPackageManagerStandardFactory.CreateInstance[T](Guid clsid, Guid iid) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\WindowsPackageManager\WindowsPackageManagerStandardFactory.cs:line 24 at WindowsPackageManager.Interop.WindowsPackageManagerFactory.CreateInstance[T]() in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\WindowsPackageManager\WindowsPackageManagerFactory.cs:line 56 at WindowsPackageManager.Interop.WindowsPackageManagerFactory.CreatePackageManager() in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\WindowsPackageManager\WindowsPackageManagerFactory.cs:line 33 at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper..ctor() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGetHelpers.cs:line 58 at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.<>c.b__41_0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 527 at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.LoadManager() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 527 WinGet will resort to using BundledWinGetHelper() Lang files were updated successfully from GitHub ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ Name: Winget █ Enabled: True █ Found: True █ Fancye exe name: winget.exe █ Executable path: C:\Users\Username\AppData\Local\Microsoft\WindowsApps\winget.exe █ Call arguments: █ Version: █ Naive WinGet CLI Version: v1.8.1791 █ Microsoft.WinGet.Client PSModule version: █ Using bundled WinGet helper (CLI parsing) ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ```
marticliment commented 2 days ago

@skanda890, I can see from your logs that the function for retrieving installed packages is not being called for whatever the reason, which is really weird. Please try to reset UniGetUI and try it again

gmutinel commented 2 days ago

I had similar issues, resetting worked for me. If it helps, I noticed that resetting fix other minor issues like missing translations.

bigdiff commented 2 days ago

I had similar issues, resetting worked for me.

@gmutinel did you mean resetting Uniget? or windows?

bigdiff commented 2 days ago

Because I tried resetting uniget and it did not fix the issue for me

gmutinel commented 2 days ago

I had similar issues, resetting worked for me.

@gmutinel did you mean resetting Uniget? or windows?

Just UnigetUI, using the built-in functionality from the menu

bigdiff commented 2 days ago

After I reset UniGetUI it still says that Command winget.exe was not found on the system

gmutinel commented 2 days ago

Maybe try and uninstall/reinstall it? There should be a script that manages winget installation during the setup (unless I saw it wrong...), might do the trick

leic4u commented 2 days ago

Maybe try and uninstall/reinstall it? There should be a script that manages winget installation during the setup (unless I saw it wrong...), might do the trick

I tried to uninstall and reinstall UnigetUI, and reset UnigetUI in menu, also reset the winget resouces.

And it didn't work.

UnigetUI still doesn't show my installed winget packages, while the scoop/pip/powershell installed packages are shown.

bigdiff commented 2 days ago

Can someone else confirm that when starting the app as administrator it shows updates from winget but the search does not work?

Also does anyone here run windows LTSC or is that unrelated?

bigdiff commented 2 days ago

Maybe try and uninstall/reinstall it? There should be a script that manages winget installation during the setup (unless I saw it wrong...), might do the trick

I tried the same thing, uninstall UniGetUI then install it again from GitHub and after installation reset settings but it still did not work.

bigdiff commented 2 days ago

@skanda890 were you able to solve this issue?

skanda890 commented 2 days ago

Yes, I was able to solve this issue after resetting UniGetUI.

marticliment commented 1 day ago

Hello,

To all users facing issues with version 3.1.0, please try the new 3.1.1 beta, which aims to fix this issues.

UniGetUI 3.1.1-beta0 release: https://github.com/marticliment/UniGetUI/releases/tag/3.1.1-beta0 Direct installer URL: https://github.com/marticliment/UniGetUI/releases/download/3.1.1-beta0/UniGetUI.Installer.exe

Excuse me for the inconveniences.

leic4u commented 1 day ago

@marticliment Thanks bro, I updated to v3.11 beta and it works.

bigdiff commented 19 hours ago

@marticliment after some playing around and testing why system winget was not picked up from the UniGetUI. I found a way to get it working again.

I tried to remove all UnigetUI entries from environment variable, uninstalled the app, including manually removing appData/Local/UniGetUI, then reinstall then reset the settings.

The issue I noticed when trying to remove choco from the environment variables in windows, it was showing an error this environment variable is too large this dialog allows setting values up to 2047 characters long. so I moved all UniGetUI variables into a new variable called WINGETPATHS and appended that to the user path like so ; %WINGETPATHS%

Now the system winget integration works again.

@marticliment I don't recommend adding cli application paths directly inside the user path because they're already long (the UniGetUI paths) and adding a dozen or so will cause the above problem as you can see from message above.

marticliment commented 19 hours ago

UniGetUI is only supposed to add chocolatey to path, and only once. Which folders have you found on the path?

bigdiff commented 19 hours ago

I just realized winget might be doing that and not UniGetUI here are the paths I found on my system:

C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\GNU.Wget2_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\NirSoft.TurnedOnTimesView_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\NextDNS.NextDNS.CLI_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\NirSoft.NetRouteView_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\NirSoft.NetworkUsageView_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\NirSoft.TcpLogView_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\Microsoft.Sysinternals.ProcessMonitor_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\BurntSushi.ripgrep.GNU_Microsoft.Winget.Source_8wekyb3d8bbwe\ripgrep-14.1.0-x86_64-pc-windows-gnu
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\Microsoft.Sysinternals.Strings_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\NirSoft.NetworkOpenedFiles_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\Rufus.Rufus_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\NirSoft.SearchMyFiles_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\aria2.aria2_Microsoft.Winget.Source_8wekyb3d8bbwe\aria2-1.37.0-win-64bit-build1
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\Microsoft.Sysinternals.ProcessExplorer_Microsoft.Winget.Source_8wekyb3d8bbwe
C:\Users\Username\AppData\Local\Microsoft\WinGet\Packages\GnuWin32.Which_Microsoft.Winget.Source_8wekyb3d8bbwe\bin
bigdiff commented 19 hours ago

so after moving those to winget paths (a new variable) the system provided winget worked without issues.

bigdiff commented 19 hours ago

I also removed choco entirely that might have also helped, but I'm not sure.

bigdiff commented 19 hours ago

And I guess the reason why it was working when running with administrator privileges was because the system paths did not have all these winget paths inside.

bigdiff commented 19 hours ago

I can't try to reproduce the issue because when adding back the winget paths to the user path it does not allow values higher that 2047 characters.

bigdiff commented 19 hours ago

maybe someone here (@leic4u) with free time can try to replicate what I did and see if that fixes the issue for them

leic4u commented 11 hours ago

@bigdiff Thanks bro, but I have solved the problem by installing v3.1.1 beta. And I didn't use choco, so I don't know about the problem with choco.