microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.59k stars 4.47k forks source link

[Package Request]: AMD Chipset Driver #98416

Open Barradel opened 1 year ago

Barradel commented 1 year ago

Package Requested

Please provide the following information

Publisher: AMD Publisher Url: https://www.amd.com/en/support/kb/release-notes/rn-ryzen-chipset-5-02-19-2221 Package Name: AMD Ryzen Chipset Driver Description: AMD Chipset Drivers, Power Plans and Power Provisioning Package Package Version: 5.02.19.2221 Installer URL: https://drivers.amd.com/drivers/amd_chipset_software_5.02.19.2221.exe

Current Package Identifier (for new versions):

licon4812 commented 1 year ago

image

MagicAndre1981 commented 1 year ago

you need to pass a referer to download AMD drivers via script:

wget.exe --referer=https://www.amd.com/en/support/chipsets/amd-socket-am4/x570 https://drivers.amd.com/drivers/amd_chipset_software_5.02.19.2221.exe

I'm not sure how winget can handle this.

Barradel commented 1 year ago

I am unsure of the appropriate steps to take. If you first navigate to https://www.amd.com/en/support/kb/release-notes/rn-ryzen-chipset-5-02-19-2221, the link https://drivers.amd.com/drivers/amd_chipset_software_5.02.19.2221.exe will function properly.

MagicAndre1981 commented 1 year ago

yes, in this case the referer is set by the browser, when you click the url directly not.

Barradel commented 1 year ago

I don't know if its canonical and valid, but the Guru3D website is available for download this package. And it seems that you don't need referers.

https://www.guru3d.com/files-details/amd-chipset-drivers-download.html

Direct link: https://download-eu2.guru3d.com/amd/[Guru3D.com]-amd-chipset-drivers.exe

stephengillie commented 1 year ago

This seems like a similar situation as with MSI in:

Karl-WE commented 1 year ago

as download link we can rely on computerbase.de, they are updating their repo frequently and ads free.

https://media.computerbase.de/s/WzznBR5aYGZ_75BUccAb_A/1690838826/download/412/amd_chipset_software_5.05.16.529.exe

steffenweber commented 1 year ago

These links expire after 1 hour, sorry.

Karl-WE commented 1 year ago

alright. dang :|

Macleykun commented 1 year ago

you need to pass a referer to download AMD drivers via script:

wget.exe --referer=https://www.amd.com/en/support/chipsets/amd-socket-am4/x570 https://drivers.amd.com/drivers/amd_chipset_software_5.02.19.2221.exe

I'm not sure how winget can handle this.

May i ask how you got this to work on your end? I tried this on my end but couldn't find wget.exe, using wget as is on windows seems to not work as it doesn't understand the referer argument.

Are you using a different wget?

Also, if we can download the installer, just using this will install it: .\amd_chipset_software_5.08.02.027.exe /qn

Sorry for updating this question, but i found out i had to not use the alias, a methode for me that worked is to use good old cmd! cmd /c curl --referer https://www.amd.com/en/support/chipsets/amd-socket-am4/x570 https://drivers.amd.com/drivers/amd_chipset_software_5.02.19.2221.exe -o amd_chipset_software_5.02.19.2221.exe

MagicAndre1981 commented 1 year ago

ok, great you got it working, I use the JernejSimoncic.Wget in version 1.21.4