Install a package from the Winget sources using the app
UniGetUI Log
Too long; see [the last section](#Screenshots and videos)
Package Managers Logs
Manager Winget with version:
Naive WinGet CLI Version: v1.9.1792-preview
Microsoft.WinGet.Client PSModule version:
Using Native WinGet helper (COM Api)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListSources
Process start time: 2024/7/3 1:00:38
Process end time: 2024/7/3 1:00:38
-- Task information
...
The task reported success
——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\aaron\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 2024/7/3 1:00:40
Process end time: 2024/7/3 1:00:42
-- Process STDOUT
...
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is ListPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 2024/7/3 1:00:40
Process end time: 2024/7/3 1:00:43
-- 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
Import-Module : The specified module 'Microsoft.WinGet.Client' was not loaded because no valid module file was found
in any module directory.
At line:1 char:1
+ Import-Module Microsoft.WinGet.Client
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (Microsoft.WinGet.Client:String) [Import-Module], FileNotFoundExcep
tion
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Get-WinGetPackage : The term 'Get-WinGetPackage' 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
+ Get-WinGetPackage | Print-WinGetPackage
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-WinGetPackage:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListSources
Process start time: 2024/7/3 1:00:41
Process end time: 2024/7/3 1:00:41
-- Task information
...
The task reported success
——————————————————————————————————————————
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: 2024/7/3 1:00:42
Process end time: 2024/7/3 1:00:44
-- 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
Import-Module : The specified module 'Microsoft.WinGet.Client' was not loaded because no valid module file was found
in any module directory.
At line:1 char:1
+ Import-Module Microsoft.WinGet.Client
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (Microsoft.WinGet.Client:String) [Import-Module], FileNotFoundExcep
tion
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Get-WinGetPackage : The term 'Get-WinGetPackage' 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
+ Get-WinGetPackage | Print-WinGetPackage
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-WinGetPackage:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged native task on manager Winget. Task type is FindPackages
Process start time: 2024/7/3 1:00:48
Process end time: 2024/7/3 1:00:49
-- Task information
...
The task reported success
——————————————————————————————————————————
Please confirm these before moving forward
UniGetUI Version
3.1.0-beta2
Windows version, edition and architecture
Windows 11 Pro 26040.1000 AMD64
Describe your issue
Due to https://github.com/microsoft/winget-cli/issues/4584, installing with the
--disable-interactivity
flag will always result in "catastrophic failure" under the 1.9 preview.Steps to reproduce the issue
UniGetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos
UniGetUI Log.txt