I have to integrate in my Win10 Wim-file the drivers of my scanner Epson Perfection 1200U. I install Win10 with Autounattend.xml and Setupcomplete.cmd. The driver consists of 2 files. An .INF file and a .CAB file. The .Cab file contains the .Inf file too. If I do this with DISM : Dism /Image:C:\test\offline /Add-Driver /Driver:C:\Epson.inf will only the .Inf file be inegrated, or the .Cab file too? What can I do that the scanner is recognized and accessible after installation? Thank you
Did the driver come by default as just the INF and the CAB file or did you manually extract the INF with the CAB? Usually driver packages are fully extracted and not compacted in a CAB file. So my guts says this won't work until it is properly extracted and staged.
Correct. A driver package consists of .inf (the setup information), .sys (kernel-mode driver), and .cat (digital signing) at minimum, and possibly additional files. That's what you'll need for installing the driver. Also, dism.exe doesn't take the path to the .inf as the argument, but the path to the directory containing an .inf. So extract your .cab, and point dism.exe to where you extracted it. In case you're integrating a driver while running a different OS version than that of the offline image you'll also need the "/forceunsigned" argument, else it will fail because it can't verify the offline image's signing requirements.
@agent268 The driver came with INF and CAB file. In the CAB the same INF is included. So I have to extract the CAB and insert the INF with DISM? Thank you for helping.
@100 Thank you. You'r right. The CAB contains CAT and DLLs ICMs and INF. O.K. I'll extract the CAB into a directory and will use this command to insert: Dism /Image:C:\test\offline /Add-Driver /Driver:C:\Epson.inf
U might want to test the driver first ? to update to lastest version ? cos windows export it in compatible package? I tried few times to add driver to wim, it didnt work maybe it was me...mb the package [win7 btw], so last thing i did,i just drop the files in inf folder and it driver found while installation