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

Import with --silent

Open dihmandrake opened this issue 2 years ago • 2 comments

Description of the new feature / enhancement

winget install has the -h, --silent (Runs the installer in silent mode. This suppresses all UI. The default experience shows installer progress.) flag. This flag does not exist for winget import and henceforth shows the installer ui. i.e. when installing VS Code (in user mode) via winget import -i my-json-file.json it will show the VS Code installer UI (running through without any interaction though).

I am currently using winget to setup some tools on first logon with import, which in turn shows the installer UIs on logon. Having the -h, --silent would greatly improve the user experience and avoid having to create executable scripts with winget install --silent.

Proposed technical implementation details

The same behaviour of -h, --silent from install in import to hide installer UIs.

dihmandrake avatar Jun 22 '23 14:06 dihmandrake

[Policy] Command-Import

Trenly avatar Jun 22 '23 15:06 Trenly

hi, Im really confused why something so relevant and simple is still not implemented :/ what is the state here?

Xyz00777 avatar May 25 '25 16:05 Xyz00777