Invoke-MSIntuneDriverUpdate.ps1 - Script stopped working for Dell Devices, Dell switched the driver source package from CAB to EXE.
Opened this issue · 4 comments
afenandez1027 commented
Invoke-MSIntuneDriverUpdate.ps1 - Script stopped working for Dell Devices, Dell switched the driver source package from CAB to EXE.
afenandez1027 commented
afenandez1027 commented
the new extraction for the EXE should be like this:
dup.exe /s /e=
How can we integrate this in the script?
afenandez1027 commented
maybe something like this to extract the exe:
$DellSilentSwitches = "/s " + " /e=$DriverExtractDest"
Start-Process -FilePath "$("$DriverSourceCab")" -ArgumentList $DellSilentSwitches -Verb RunAs
afenandez1027 commented
I was able to fix the script by commenting the line below and adding the following, also replace all "Driver Files" with "Driver_Files"
#Expand "$DriverSourceCab" -F:* "$DriverExtractDest"
$DellSilentSwitches = "/s " + " /e=$DriverExtractDest"
Start-Process -FilePath "$("$DriverSourceCab")" -ArgumentList $DellSilentSwitches -Verb RunAs -Wait