Argument for network.downloader switch
Description of the new feature / enhancement
As it stands right now, Wingets default network.downloader is do. This is great for me in an enterprise environment, however I have run into an issue with a couple of applications rate limiting installs and updates from their CDN (Foxit being one of them) because of the utilization of do breaking those requests up into chunks, making it so 20 computers reaching out turns into 4k+ requests for the install.
The request would be a couple of items that would alleviate an issue like this when it comes up.
- Add an argument that can be passed to Winget on install or update that specifies the network.downloader function (--use-wininit or --use-do for those that have wininit as default).
- Like Pins, allow an application to be pinned as a wininit package (this would take care of both the initial install and updates)
- Both. This is a lot, im sure, but both would be handy.
As it stands right now, I have to change the settings.json to wininit for that specific install, and change it back, unless I want to install the application another way, and then updates run into the same rate limit when attempting to update the application with Winget, requiring admin credentials to run the updater on each machine individually.
Proposed technical implementation details
No response