-
Notifications
You must be signed in to change notification settings - Fork 182
Description
The request
Please allow a per-app parameter to allow --skip-dependencies to be piped to Winget during install and/or update
Is your feature request related to a problem?
Additional information
Here's the scenario I ran into this past week:
We use Cloudflare WARP and I use Winget to deploy it to recently autopiloted devices, but ran into a strange issue. We push an evergreen version of Edge to our devices as part of the AP process, which, obviously shouldn't be an issue. However, Cloudflare WARP requires Webview2 as a dependency, which Winget picks up, unfortunately, the Winget repository isn't updated as quickly as MS releases Edge builds. In our scenario, the version of Edge/Webview that was rolled out to the endpoint was 142.0.3595.94, but the version on the Winget repo was still 142.0.3595.90. Winget attempts to upgrade Winget to the prior version, which, naturally, fails, causing the WARP install to subsequently fail. I'm currently using the pre-install mod workaround to push the --skip-dependencies switch and install the application, but it is rather hacky. It would be better if there were a more out of the box solution for this type of scenario