OSDeploy / OSD

OSD Shared Functions
MIT License
130 stars 54 forks source link

Unable to add HP drivers into the WinPE #126

Closed JorgaWetzel closed 3 months ago

JorgaWetzel commented 3 months ago

With the build 24.3.10.1, it is no longer possible to integrate the HP drivers into the WinPE. image

gwblok commented 3 months ago

Just some notes as I look into this.

Issue reproduced.

Following the Functions: Edit-OSDCloudWinPE -> Save-WinPECloudDriver -> Get-HpWinPEDriverPack

Get-HPWinPEDriverPack leverages this URL: $DriverPackInfoUrl = $Global:OSDModuleResource.WinPEDriverPack.HP.Info which is: http://ftp.ext.hp.com/pub/caps-softpaq/cmit/softpaq/WinPE10.html

The function then tries to grab the softpaq exe from the links on the page. it would appear HP slightly modified the URL pre-fix.

Current Code was looking for: 'ftp.hp.com/pub/softpaq//*.exe' However, HP added .ext into it (ftp.ext.hp.com)

I'm going to modify the function to be *.hp.com, which resolves the issue.

@OSDeploy, do you see any issue with that?

Change is pushed to GitHub

image

Also adding a little verbose logging into the functions.

gwblok commented 3 months ago

Note, tests with updated functions worked successfully.
Test Steps:

image image

Edit-OSDCloudWinPE -CloudDrivers 'HP' -Verbose will return quite a bit of helpful information in troubleshooting.

Next time the module is updated, the fix will be included.

gwblok commented 3 months ago

Tested this morning with updated Module, it worked without issue. Closing Issue

JorgaWetzel commented 3 months ago

Thank you, I can confirm that the issue has been resolved on my end as well. You are doing an amazing job with this project, many THANKS.