Skip to content
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

Invoke-MSIntuneDriverUpdate.ps1 - Script stopped working for Dell Devices, Dell switched the driver source package from CAB to EXE. #58

Open
afenandez1027 opened this issue Dec 14, 2022 · 4 comments

Comments

@afenandez1027
Copy link

No description provided.

@afenandez1027 afenandez1027 changed the title Script stopped working for Dell Devices, Dell switched the driver source package from CAB to EXE. Invoke-MSIntuneDriverUpdate.ps1 - Script stopped working for Dell Devices, Dell switched the driver source package from CAB to EXE. Dec 15, 2022
@afenandez1027
Copy link
Author

the new extraction for the EXE should be like this:
dup.exe /s /e=

How can we integrate this in the script?

@afenandez1027
Copy link
Author

maybe something like this to extract the exe:

                $DellSilentSwitches = "/s " + " /e=$DriverExtractDest"
                Start-Process -FilePath "$("$DriverSourceCab")" -ArgumentList $DellSilentSwitches -Verb RunAs

@afenandez1027
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant