When testing on a Lenovo and the following folder is present, the Test-DISMFromOSDCloudUSB function enumerates to True, even though a $ComputerProduct sub folder does not exist:
E:\OSDCloud\DriverPacks\DISM\Lenovo\
This is due to "PackageID": null, statements in the Lenovo DriverPack Catalog
Causing line 30 to fail to complete the path:
|
$DriverPathPackageID = "$($OSDCloudDriveLetter):\OSDCloud\DriverPacks\DISM\$ComputerManufacturer\$PackageID" |
And line 41 to return True
|
elseif (Test-Path $DriverPathPackageID){Return $true} |
When testing on a Lenovo and the following folder is present, the Test-DISMFromOSDCloudUSB function enumerates to True, even though a $ComputerProduct sub folder does not exist:
E:\OSDCloud\DriverPacks\DISM\Lenovo\
This is due to
"PackageID": null,statements in the Lenovo DriverPack CatalogCausing line 30 to fail to complete the path:
OSD/Public/OSDCloudTS/Test-DISMFromOSDCloudUSB.ps1
Line 30 in 809ff2d
And line 41 to return True
OSD/Public/OSDCloudTS/Test-DISMFromOSDCloudUSB.ps1
Line 41 in 809ff2d