winget-cli
winget-cli copied to clipboard
--silent should redirect stdout to the log file
Description of the new feature / enhancement
Some installers (Docker Desktop and the modern SQL Server installer are the ones I know) send lots of log output to stdout when they are ran silently. This makes the winget progress information go away:
https://user-images.githubusercontent.com/21368066/153617530-15b5b42f-d805-433e-8483-30741587ffdc.mp4
Users have found this confusing and have requested that if winget runs a package silently, it is truly silent (i.e. they see nothing except Starting package install...
). My solution to that problem is that when the --silent
argument is used, winget should redirect stdout for the installer to a log file (much like MSIs, this should be selectable via a argument).
Proposed technical implementation details
No response
[Policy] Area-Output
Will there be a fix out for this anytime soon?