Adding drivers to .iso

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

  1. ThomasMann

    ThomasMann MDL Expert

    Joined:
    Dec 31, 2015
    Messages:
    1,596
    Likes Received:
    270
    Trophy Points:
    60
  2. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Joined:
    Jul 26, 2012
    Messages:
    4,078
    Likes Received:
    4,652
    Trophy Points:
    150
  3. lewcass

    lewcass MDL Senior Member

    Joined:
    Mar 10, 2018
    Messages:
    429
    Likes Received:
    250
    Trophy Points:
    10
  4. lewcass

    lewcass MDL Senior Member

    Joined:
    Mar 10, 2018
    Messages:
    429
    Likes Received:
    250
    Trophy Points:
    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.
     
  5. dhjohns

    dhjohns MDL Guru

    Joined:
    Sep 5, 2013
    Messages:
    3,275
    Likes Received:
    1,735
    Trophy Points:
    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.
     
  6. lewcass

    lewcass MDL Senior Member

    Joined:
    Mar 10, 2018
    Messages:
    429
    Likes Received:
    250
    Trophy Points:
    10
    Could you add the commands to Commit and Unload please. :)
     
  7. dhjohns

    dhjohns MDL Guru

    Joined:
    Sep 5, 2013
    Messages:
    3,275
    Likes Received:
    1,735
    Trophy Points:
    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
     
  8. lewcass

    lewcass MDL Senior Member

    Joined:
    Mar 10, 2018
    Messages:
    429
    Likes Received:
    250
    Trophy Points:
    10
    Thank You dhjohns :worthy:
     
  9. shhnedo

    shhnedo MDL Addicted

    Joined:
    Mar 20, 2011
    Messages:
    927
    Likes Received:
    1,273
    Trophy Points:
    30
    #9 shhnedo, May 31, 2018
    Last edited: May 31, 2018
  10. dhjohns

    dhjohns MDL Guru

    Joined:
    Sep 5, 2013
    Messages:
    3,275
    Likes Received:
    1,735
    Trophy Points:
    120
    Well I have 710 MB.
     
  11. lewcass

    lewcass MDL Senior Member

    Joined:
    Mar 10, 2018
    Messages:
    429
    Likes Received:
    250
    Trophy Points:
    10
    250mb isnt much if it includes onboard sound lan and graphics drivers, my nvidia display driver is over 400mb :fear2:
     
  12. ThomasMann

    ThomasMann MDL Expert

    Joined:
    Dec 31, 2015
    Messages:
    1,596
    Likes Received:
    270
    Trophy Points:
    60
  13. lolnothankyou

    lolnothankyou MDL Novice

    Joined:
    Jul 27, 2018
    Messages:
    48
    Likes Received:
    65
    Trophy Points:
    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