Adding drivers to .iso

Discussion in 'Windows 7' started by ThomasMann, May 31, 2018.

  1. ThomasMann

    ThomasMann MDL Expert

    Dec 31, 2015
    1,045
    163
    60
  2. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    3,692
    4,002
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lewcass

    lewcass MDL Senior Member

    Mar 10, 2018
    429
    239
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. lewcass

    lewcass MDL Senior Member

    Mar 10, 2018
    429
    239
    10
    the Windows Automatic Installation Kit may not be a 3rd party tool but it is a 1.2GB download and complicated. Best is use whatever winraid says. Fernando knows his s**t.

    Dont forget that you may need to add usb3/3.1 drivers to the boot.wim "microsoft windows setup" aswell as the install.wim.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,276
    1,731
    120
    Easy to add drivers to ISO. First you need to extract your drivers to a folder. Create a folder, then run this nice little program I made.
    Code:
    @Echo off
    :: Setting DOS Window Color
    color 1F
    (cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath '%0' -verb runas)&&(exit /B)) >NUL 2>&1
    %~d0
    cd %~d0%~p0
    cls
    :prompt
    cls
    set DRIVERS=
    echo.
    echo ============================================================
    echo Enter / Paste the path to DRIVERS directory
    echo ============================================================
    echo.
    set /p DRIVERS=
    :prompt
    cls
    dism /online /export-driver /destination:%DRIVERS%
    pause
    This will export all your drivers. Next mount your install.wim, and now run this
    Code:
    DISM /IMAGE:<PATH TO MOUNT FOLDER> /Add-Driver /Driver:<PATH TO DRIVERS FOLDER> /recurse
    Commit your install.wim, and unmount, then create ISO.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. lewcass

    lewcass MDL Senior Member

    Mar 10, 2018
    429
    239
    10
    Could you add the commands to Commit and Unload please. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,276
    1,731
    120
    Code:
    @Echo off
    :: Setting DOS Window Color
    color 1F
    (cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath '%0' -verb runas)&&(exit /B)) >NUL 2>&1
    %~d0
    cd %~d0%~p0
    cls
    :prompt
    cls
    set WIM=
    echo.
    echo ============================================================
    echo         Paste the Path to Your Mount Directory
    echo ============================================================
    echo.
    set /p WIM=
    :prompt
    cls
    dism /unmount-image /MountDir:"%WIM%" /commit
    dism /cleanup-mountpoints
    pause
    exit
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. lewcass

    lewcass MDL Senior Member

    Mar 10, 2018
    429
    239
    10
    Thank You dhjohns :worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. shhnedo

    shhnedo MDL Senior Member

    Mar 20, 2011
    304
    243
    10
    #9 shhnedo, May 31, 2018
    Last edited: May 31, 2018
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,276
    1,731
    120
    Well I have 710 MB.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. lewcass

    lewcass MDL Senior Member

    Mar 10, 2018
    429
    239
    10
    250mb isnt much if it includes onboard sound lan and graphics drivers, my nvidia display driver is over 400mb :fear2:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. lolnothankyou

    lolnothankyou MDL Novice

    Jul 27, 2018
    26
    22
    0
    I prefer to install the audio and video drivers by myself.

    Here is which drivers I integrate with NTLite: CardReader, Chipset, LAN, SATA, TouchPad, USB, WebCam, Wireless.

    Total: ~60MB
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...