Application installs adding SilentlyContinue as a package name
Describe the bug All application installs and uninstalls are calling both the package name and "SilentlyContinue."
In Install-WinUtilProgramWinget.ps1, I added some debug Write-Host statements to track what's causing this unnecessary output to the PS console. It appears that somewhere in the calls, a rogue SilentlyContinue is being passed as the application name for ALL installations.
To Reproduce Steps to reproduce the behavior:
- Go to the
Installtab - Select any of the applications to install. (Used
Sublime TextunderDevelopmentfor testing) - Click on
Install Selectedmonitor theWrite-Progress/Write-Hostoutput in the PS console. - Monitor the
Write-Progress/Write-Hostoutput in the PS console. - Successful installations always end up outputting
No package found matching input criteria.
Expected behavior
Single or multiple packages are installed (Provided they are available in Winget or Choco) or uninstalled with output relevant to the successful or unsuccessful installation. SilentlyContinue should not be passed as one of the packages.
Screenshots
I am also having this issue.
@KonTy @CodingWonders I'm not sure if you have the time or ability to look into this but it's affecting anyone using the utility. In some cases, it isn't problematic and in others, it is.
I haven't been able to identify what's causing this.
@munkk01 are you using the test branch or main? Could you please try my test branch?
irm https://raw.githubusercontent.com/KonTy/winutil/test-2024-01-15/winutil.ps1 | iex
@munkk01 are you using the test branch or main? Could you please try my test branch?
irm https://raw.githubusercontent.com/KonTy/winutil/test-2024-01-15/winutil.ps1 | iex
It's affecting both the main branch and test branch through this repo, yours did not appear to replicate this issue.
@munkk01 are you using the test branch or main? Could you please try my test branch?
irm https://raw.githubusercontent.com/KonTy/winutil/test-2024-01-15/winutil.ps1 | iex
Yours works and fixes this bug.
Try installing winget from main tool and retry installing applications. For me it works
Closed due to inactivity