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

Arguments to require or override the default behavior (unless required by GPO)

Open denelon opened this issue 1 year ago • 1 comments

Description of the new feature / enhancement

I want to have arguments to be able to override the default behavior for configuration files.

The settings should be able to specify whether signed files are required. If there is no GPO requiring signed configuration files, there should be an override argument for users who have specified the requirement for signed configuration files.

Proposed technical implementation details

No response

denelon avatar Jan 17 '24 18:01 denelon

I need to add an equivalent to the command in a configuration yaml file:

winget install --force Microsoft.VisualStudioCode --override '/VERYSILENT /SP- /MERGETAKS="!runcode,!desktopicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath

Is this already possible or would this issue solve this problem?

fazedordecodigo avatar Feb 03 '24 15:02 fazedordecodigo