winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

--silent should redirect stdout to the log file

Open jedieaston opened this issue 2 years ago • 2 comments

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

jedieaston avatar Feb 11 '22 15:02 jedieaston

[Policy] Area-Output

Trenly avatar Jun 16 '23 04:06 Trenly

Will there be a fix out for this anytime soon?

shalinikhare27 avatar Feb 05 '24 20:02 shalinikhare27