is it possible to pass the custom, scope or local parameters to winget install when using Microsoft.Winget.DSC/WingetPackage resource #4985
-
When using winget cli to install packages, it is possible to use the custom, scope or location parameters to provide custom installation parameters or instruct winget cli to pick a properly scoped installer or confine the application installation to a specific folder. The latter is especially useful for applications that consume a lot of disk space over time, such as Visual Studio or SQL Server. SQLServerDSC exposes multiple parameters for install folders while VisualStudio does not. If I wanted to install machine scoped versions of PowerToys or VisualStudioCode, how can I achieve them using Microsoft.Winget.DSC/WingetPackage resource in order to specify machine scope? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
what worked for me with Unfortunately I did not yet figure out how to pass custom arguments to make it add the context menu entries |
Beta Was this translation helpful? Give feedback.
-
Not yet, we've captured the work to support the additional CLI arguments with: |
Beta Was this translation helpful? Give feedback.
Not yet, we've captured the work to support the additional CLI arguments with: