maurice-daly / DriverAutomationTool

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

6.4.8 Not create driver package #72

Open pgordienko1983 opened 4 years ago

pgordienko1983 commented 4 years ago
  1. Drivers downloaded
  2. Extracted in downloaded dir.
  3. Not create Driver pkg. in SCCM
  4. Not create Driver dir. in Source.

image image

Tuttu commented 4 years ago

I am having the same problem with HP drivers. The softpack is downloaded, it is extracted, it is then compressed in a zip file and while it's compressing, I can see the ZIP file growing at the destination path (UNC path to a share). But once it should complete, it fails with the same two error lines Error: Errors occurred while copying drivers and the zip file is not present anymore. Out of 4 tries, I got it working one time so that suggests it's not a rights issue.

Tuttu commented 4 years ago

More information about it. The output windows is throwing this error:

ZipArchiveHelper : The process can't access to the file '\\Share$\Hewlett-Packard\ProDesk 600 G3 Desktop Mini PC\Windows10-1809-x64-18.0 A 1\storage\intel\P00RQM-B2J\src\x64\iaStorAC.sys', because it is used by another process.
At character C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:697 : 30
+ ... sArchived = ZipArchiveHelper $subDirFiles.ToArray() $destinationPath  ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (\\Share$\s...64\iaStorAC.sys:String) [Write-Error], IOException
    + FullyQualifiedErrorId : CompressArchiveUnauthorizedAccessError,ZipArchiveHelper

Error: Exception during call of « .ctor » with « 1 » argument(s) : « The stream can't be read. »
Error: Check security permissions and specified path
azulol commented 2 years ago

I have the same problem with surface driver, do you have a solution?