How does DISM handle duplicate and/or older drivers (re: install.wim)?

10Fan

New member
Local time
12:22 PM
Messages
18
I am trying to collect drivers to cover all the usual stuff like chipset, LAN and so on, to be integrated into install.wim on Windows 7 x64.

I have already updated the ISO with 7updater so a lot of drivers are added (from my current system's DriverStore) and it's had every hotfix integrated.

I have read the Microsoft page about DISM, but my questions are a bit specific, I will just pose them as Y/N questions to save wasting anyone's time!

1. When a driver is added to install.wim by DISM, what happens if a newer (or signed vs unsigned) driver was previously integrated, is the driver you're trying to add just ignored and the newer/better driver stays retained in the wim?

2. What happens when you have a huge folder of drivers and you have like three drivers that are all duplicates? If that exact driver exists in the install.wim file already, does DISM know that and it just doesn't add the duplicate(s)?

3. If you have got duplicate drivers to be added, but the driver doesn't exist in the install.wim file, what happens then? Does only one copy of the driver get added to the wim file?

I guess if DISM is clever, it will not add duplicate drivers, regardless of if it already exists in the install.wim file, or if you are trying to add drivers from which you have duplicates.

Cheers guys.
 

My Computer My Computer

At a glance

Windows 10 x64
Computer type
PC/Desktop
OS
Windows 10 x64
You can find out for yourself easily enough.

Mount boot.wim image 2 add a driver commit and unmount.

Then mount boot.wim image 2 again. Add the same driver.

Then have a look in windows\inf and windows\system32\driverstore\filerepository.
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Is this of any help ?

... windows 7 stores each driver in its own custom subfolder in %WinDir%\System32\DriverStore\FileRepository
It uses the INF name, architecture, language and it then generates a custom hash number...here are some example driverstore folders of iastor.inf v9 and v10
Code:
\iastor.inf_amd64_neutral_05602dde0a28e7f4
\iastor.inf_amd64_neutral_f610710b4d5b0c20
Source: DISM\AIK - Drivers - duplicate files | msfn
 

My Computer My Computer

At a glance

Windows 7 x64, Vista x64, 8.1 smartphoneIntel E8400 65W 64-bitDDR2 2 x 2GB, 1GB x 2XFX Radeon HD5750
Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Back
Top