-
Notifications
You must be signed in to change notification settings - Fork 71
Test-DISMFromOSDCloudUSB always enumerates to True for Lenovo devices #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Further testing on a Dell Latitude 5400, the following folder produces a True result: Whereas the following PackageID folder results in False: I'm not sure how to explain this one at the moment. |
To resolve the PackageID issue for HP and Dell, the following two lines simply need to be reversed: OSD/Public/OSDCloudTS/Test-DISMFromOSDCloudUSB.ps1 Lines 24 to 25 in 809ff2d
|
Thanks @skyblaster, Sorry, been away from my computer for awhile, and still will be barely around for a bit. Is this entire things resolved now, or are you still having some issues? Let me know if you're still having issues and I'll put it on my list to look into. Glad someone is using this feature, I've been loving it, but 95% of my testing is on HP devices, and it's been working well. |
Thanks @gwblok. I believe the merge resolves the issue completely, so I'll close the issue now. I'll do more testing once it's been pushed to the PSGallery. If I happened to break anything I'll open a new issue and hopefully another PR to fix. |
@skyblaster , thanks so much for being on top of that and digging through the code. |
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
The text was updated successfully, but these errors were encountered: