microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.15k stars 1.45k forks source link

Support for installing Drivers #684

Open Witchilich opened 4 years ago

Witchilich commented 4 years ago

Description of the new feature/enhancement

Appart from apps, Microsoft should also let us install drivers like Nvidia/AMD/Intel display drivers and graphics drivers.

Proposed technical implementation details (optional)

In future I wish all drivers like wifi or touchpad to be available in winget or store and Microsoft promote vendors to use this version of the drivers.

felipecrs commented 4 years ago

How the drivers installers are different from the other installers?

WSLUser commented 4 years ago

You might need to manually update drivers or maybe when on a brand-new machine in which you do require manually updating of the drivers such as NVIDIA drivers, you could do so. It should include both beta releases and the latest stable releases for each device. Currently that means a bunch of yaml manifests are needed. When the update mechanism is in place, it should allow an option for beta with use of a --pre flag or similar but that is a separate feature request.

denelon commented 4 years ago

We have features to support .zip and .exe (non-installer) files. If the drivers are in an installable exe, MSI, or MSIX they are supported. Are there other formats we need to consider?

denelon commented 4 years ago

https://github.com/microsoft/winget-cli/issues/140 is support for .zip files.

Witchilich commented 4 years ago

You also need to add 7z format or CAB files format, lots of drivers come in the latter format.

chausner commented 3 years ago

It seems driver installation is an issue in some cases when Windows displays a modal dialog box asking the user for confirmation:

https://github.com/microsoft/winget-pkgs/pull/25207#pullrequestreview-732006273 https://github.com/microsoft/winget-pkgs/pull/56840#pullrequestreview-932377444