Vista Drivers Injection Methods?

Discussion in 'Windows Vista' started by laddanator, Sep 30, 2012.

  1. laddanator

    laddanator MDL Junior Member

    Oct 13, 2009
    71
    5
    0
    What are you guys using to inject drivers into Vista boot.wim and install.wim? I am using peimg.exe but it's time consuming due to the fact each path has to be absolute and driver packs extracted has tons of subfolders.
     
  2. laddanator

    laddanator MDL Junior Member

    Oct 13, 2009
    71
    5
    0
    Bump...come on guys. No one using Vista anymore? lol
     
  3. sebus

    sebus MDL Guru

    Jul 23, 2008
    5,772
    1,728
    180
    peimg.exe is fine, keep using it
     
  4. UVAIS

    UVAIS MDL Expert

    Mar 17, 2011
    1,333
    1,886
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. laddanator

    laddanator MDL Junior Member

    Oct 13, 2009
    71
    5
    0
    #7 laddanator, Sep 30, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Will this work on Vista? Says 7 and 8 in the post

    Made this little deal also today and it scans sub folders. Forgot about dir /b /s

    Code:
    @echo off 
    color 9F
    Title Vista Boot.wim Slipstrem Driver CMD
    
    SET "PEIMG=%~dp0WindowsAIK\Tools\PETools\peimg.exe"
    SET "DRIVERS=%~dp0BootDrivers"
    echo ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
    echo.
    echo Mounting Vista Boot.wim 2
    echo.
    Dism /Mount-Wim /WimFile:%~dp0BootWim\boot4.WIM /index:2 /MountDir:%~dp0Mount
    echo.
    echo Adding Drivers To Boot.wim 2
    echo.
    FOR /F %%I IN ('dir /b /s "%DRIVERS%\*.inf"') DO (
    ECHO Integrating %%I
    %PEIMG% /inf=%%I %~dp0Mount
    )
    pause
    echo.
    echo Unmounting Boot.wim 2
    echo.
    Dism /Unmount-Wim /MountDir:%~dp0Mount /commit
    echo.
    echo ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
    
    echo Boot Driver Integration Complete
    :end
    pause