maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
399 stars 120 forks source link

MDT Dell driver not extracting #475

Open wondergeekak opened 1 year ago

wondergeekak commented 1 year ago

When trying to download drivers and import to MDT through the tool, it will download the EXE file, but not extract. The workaround is to use download only first, then run the MDT process. Looks like a missing script line for the MDT jobs. This was tested on version 7.2.2.

fraggy2k commented 1 year ago

Thanks for the Workaround!

if ($Make -eq "Dell") {
    global:Write-LogEntry -Value "- $($Product): Extracting $Make Drivers to $DriverExtractDest" -Severity 1
    Expand "$DriverSourceCab" -F:* "$DriverExtractDest" -R | Out-Null
}

should be replaced by something similar from function Invoke-ContentExtract there is a check if the file is CAB or EXE

jadit1 commented 7 months ago

I tried you suggestions and they do extract, however they won't load into MDT when I go back and try again but with Deployment Platform set to MDT. It says it wants to though. image image