Closed skanda890 closed 1 day ago
Please run Install-Module Microsoft.WinGet.Client
on a powershell window
Done
please share verbose winget logs
The screen is still like this: Don't know if WinGet is installed.
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)
——————————————————————————————————————————
I have the same problem, UnigetUI could not show the winget packages, while the scoop/pip/powershell packages are shown correctly.
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.
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
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
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
When running with administrator privileges winget seems to load fine though but there are some errors in the logs you can find them below
@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
I had similar issues, resetting worked for me. If it helps, I noticed that resetting fix other minor issues like missing translations.
I had similar issues, resetting worked for me.
@gmutinel did you mean resetting Uniget? or windows?
Because I tried resetting uniget and it did not fix the issue for me
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
After I reset UniGetUI it still says that Command winget.exe was not found on the system
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
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.
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?
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.
@skanda890 were you able to solve this issue?
Yes, I was able to solve this issue after resetting UniGetUI.
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.
@marticliment Thanks bro, I updated to v3.11 beta and it works.
@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.
UniGetUI is only supposed to add chocolatey to path, and only once. Which folders have you found on the path?
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
so after moving those to winget paths (a new variable) the system provided winget worked without issues.
I also removed choco entirely that might have also helped, but I'm not sure.
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.
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.
maybe someone here (@leic4u) with free time can try to replicate what I did and see if that fixes the issue for them
@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.
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
Package Managers Logs
Relevant information
No response
Screenshots and videos