lord-carlos / nvidia-update

Checks for a new version of the Nvidia Driver, downloads and installs it.
MIT License
147 stars 30 forks source link

feat: Set Windows Driver Type as Standard #26

Closed link-webcreations closed 5 years ago

link-webcreations commented 5 years ago

There is a new option in the NVIDIA driver searcher named as Windows Driver Type. (https://www.nvidia.com/Download/Find.aspx?lang=en-us#)

"Standard" packages are those that do not require the DCH driver components. "DCH" (Declarative, Componentized, Hardware Support Apps) refers to new packages preinstalled by OEMS implementing the Microsoft Universal Driver paradigm. DCH drivers cannot be installed over a standard system, and Standard drivers cannot be installed over a DCH system.

dtcid=0 mean Standard dtcid=1 means DCH

link-webcreations commented 5 years ago

In order to improve this change, we should check what's currently installed (Standard/DCH) and then set the "dtcid" value accordingly.

A clue here: https://www.reddit.com/r/PowerShell/comments/cbjoz9/powershell_to_find_nvidia_dch_or_standard_driver/etg0t4b/

link-webcreations commented 5 years ago

Also, the package name will change. Ex:

440.97-desktop-win10-64bit-international-dch-whql.exe vs 440.97-desktop-win10-64bit-international-whql.exe

link-webcreations commented 5 years ago

Hello @lord-carlos, I have update the PR, please let me know if the changes suit you :)