winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Application installs adding SilentlyContinue as a package name

Open munkk01 opened this issue 2 years ago • 7 comments

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:

  1. Go to the Install tab
  2. Select any of the applications to install. (Used Sublime Text under Development for testing)
  3. Click on Install Selected monitor the Write-Progress/Write-Host output in the PS console.
  4. Monitor the Write-Progress/Write-Host output in the PS console.
  5. 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 image image

munkk01 avatar Jan 16 '24 19:01 munkk01

I am also having this issue.

TheLinuxGuy avatar Jan 16 '24 22:01 TheLinuxGuy

@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 avatar Jan 19 '24 20:01 munkk01

@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

KonTy avatar Jan 19 '24 20:01 KonTy

@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 avatar Jan 19 '24 21:01 munkk01

@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.

TheLinuxGuy avatar Jan 19 '24 23:01 TheLinuxGuy

Try installing winget from main tool and retry installing applications. For me it works

one-mb-rai avatar Jan 20 '24 13:01 one-mb-rai

Closed due to inactivity

github-actions[bot] avatar Feb 21 '24 00:02 github-actions[bot]