How to integrate drivers to windows 7 sources

Discussion in 'Windows 7' started by Reginald_Rae, Dec 14, 2009.

  1. Reginald_Rae

    Reginald_Rae MDL Novice

    Sep 7, 2009
    How to integrate drivers to windows 7 sources??
  2. secr9tos

    secr9tos MDL Addicted

    Jul 28, 2009
    #2 secr9tos, Dec 14, 2009
    Last edited by a moderator: May 23, 2017
    Look at this thread, maybe it helps you.
  3. faizan

    faizan MDL Novice

    Aug 25, 2010
    Driver integration in win 7 soe wim file - MDT CREATED WIM

    Process of Integrating Drivers in Window 7
    1)Identify the missing drivers by deploying windows 7 Vanila SOE on target machine.
    2)Once drivers identified, download them.
    3) Identify the silent switch of drivers.
    4)Create a vbs which check the model and install them silently.
    Eg. I have created one script which check the model and inject the required driver in SOE.

    'Declare Variable for Shell Object
    Dim WshShell
    Set WshShell = CreateObject("Wscript.Shell")

    'Gather Current SourcePath
    Dim SourcePath
    SourcePath = Left(WScript.ScriptFullName, Len(WScript.ScriptFullName) - Len(WScript.ScriptName))

    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

    Set colSettings = objWMIService.ExecQuery _
    ("SELECT * FROM Win32_ComputerSystem")
    For Each objComputer in colSettings
    STRMODEL = objComputer.Model

    if Instr(STRMODEL,nc6400) THEN
    WshShell.RUN SourcePath & "PCI_CONTROLOR\SETUP.EXE -S",1, true
    END IF

    5)Now place the driver source folder and vbs in Drivers folder
    6)Now open the MDT Deployment share and go to $OEM$.
    7)Create a folder $1 in $OEM$. Content of $1 will be copied in %systemdrive% i.e C:\

    8)Create a support folder in $1 and copy the Drivers Folder which Contain Driver source file and vbs.

    9) Now create the SOE by booting with Lite Touch ISO file.
    10)Before running sysprep open the the unattend.xml file which is present in C:\windows\system32\sysprep Folder, and add the command line to run the vbs which install driver silently.
    Eg. I have modified unattend.xml

    There is one first logon command section where I added the command line to run vbs which install driver.

    11)Now when system shutdown Capture the wim image and deploy on the target PC.