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

DriverTool.exe missing from package. #50

Closed
trondr opened this issue Jan 24, 2022 · 0 comments
Closed

DriverTool.exe missing from package. #50

trondr opened this issue Jan 24, 2022 · 0 comments
Assignees

Comments

@trondr
Copy link
Owner

trondr commented Jan 24, 2022

The Script\DriverTool folder of a package is missing DriverTool.exe when using the PowerShell module to create the package.

Reproduced with:
$models = @("10RS")
$models | Foreach-Object{ Write-Host "Getting driver updates for model $"; Get-DtDriverUpdates -Manufacturer Lenovo -ModelCode "$" -OperatingSystem "WIN10X64" -OsBuild "21H2" -ExcludeDriverUpdates @("BIOS","Firmware") -Verbose } | Invoke-DtDownloadDriverUpdates

Workaround: Copy DriverTool.exe and DriverTool.exe.config manually from powershell module. Example:
copy "C:\Program Files\WindowsPowerShell\Modules\DriverTool.PowerCLI\1.0.22023\internal\tools\DriverTool\DriverTool.exe" "C:\temp\DU\10RS\2021-11-12-1.0\Script\DriverTool\DriverTool.exe"
copy "C:\Program Files\WindowsPowerShell\Modules\DriverTool.PowerCLI\1.0.22023\internal\tools\DriverTool\DriverTool.exe.config" "C:\temp\DU\10RS\2021-11-12-1.0\Script\DriverTool\DriverTool.exe.config"

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