MSFN Forum: 3rd party drivers - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

3rd party drivers

#1 User is offline   zedox 

  • XPize Darkside Author
  • PipPipPipPipPip
  • Group: Members
  • Posts: 708
  • Joined: 25-August 05

Posted 19 July 2012 - 08:56 AM

i'm trying to have my unattended install install drivers automatically whilst installing.

I've downloaded the x64 Win7 driverpack from driverpacks.net
Unzipped and put in a folder called Drivers.

I've put this folder in..

sources\$OEM$\$1\Drivers

and in my autounattend.xml the code is...
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <DriverPaths>
                <PathAndCredentials wcm:keyValue="d37a5f8b" wcm:action="add">
                    <Path>C:\Drivers</Path>
                </PathAndCredentials>
            </DriverPaths>
        </component>
    </settings>


and

    <settings pass="auditSystem">
        <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <DriverPaths>
                <PathAndCredentials wcm:keyValue="d37a5f8b" wcm:action="add">
                    <Path>C:\Drivers</Path>
                </PathAndCredentials>
            </DriverPaths>
        </component>
    </settings>


The folders copy, but the network drivers do not get installed automatically.
Is there something wrong to my approach? Does the $oem$ folder get copied after installation?


#2 User is offline   WinOutreach4 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 22-March 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 July 2012 - 10:32 AM

Using this command in the WindowsPE settings pass would try to install the drivers in Windows PE, not in Windows. Using this command in the AuditSystem pass would only take effect if you booted into Audit Mode. According to the article 'Add Device Drivers During Windows Setup', you could use this in the OfflineServicing pass. This is also touched upon in the article 'How Configuration Passes Work' which shows how the different passes work. Based on your post, I believe the OfflineServicing pass matches what you are intending to accomplish.



Hope this helps,

David

Windows Outreach Team - IT Pro




#3 User is offline   halikus 

  • Group: Members
  • Posts: 4
  • Joined: 08-February 10

Posted 22 July 2012 - 12:08 PM

I believe this will help you. Just have your drivers (or driverpacks) extracted in as many subfolders as you want and it will find it during install. Have them in "dvdroot"\sources\$OEM$\$$\PnPdrvrs\w7x64 or whatever you want to name the final directory. A caviat is that for an all in one install it will copy both architectures wasting a little time.


  <settings pass="windowsPE">
               
   <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <DriverPaths>
                <PathAndCredentials wcm:keyValue="1" wcm:action="add">
                     <Path>\sources\$OEM$\$$\PnPdrvrs\w7x64</Path>
                </PathAndCredentials>
           </DriverPaths>
      </component>        
               
      <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <DriverPaths>
                <PathAndCredentials wcm:keyValue="1" wcm:action="add">
                     <Path>\sources\$OEM$\$$\PnPdrvrs\w7x86</Path>
                </PathAndCredentials>
           </DriverPaths>
      </component> 

      
   </settings>
   <settings pass="offlineServicing">
    
    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <DriverPaths>
                <PathAndCredentials wcm:keyValue="1" wcm:action="add">
                     <Path>\Windows\PnPdrvrs\w7x64</Path>
                </PathAndCredentials>
           </DriverPaths>
      </component>        
               
      <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <DriverPaths>
                <PathAndCredentials wcm:keyValue="1" wcm:action="add">
                     <Path>\Windows\PnPdrvrs\w7x86</Path>
                </PathAndCredentials>
           </DriverPaths>
      </component>
      
    </settings> 


#4 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 July 2012 - 02:32 PM

this works perfectly if you don't want to inject
http://www.msfn.org/...017#entry913017

#5 User is offline   zedox 

  • XPize Darkside Author
  • PipPipPipPipPip
  • Group: Members
  • Posts: 708
  • Joined: 25-August 05

Posted 23 July 2012 - 08:23 AM

View PostmaxXPsoft, on 22 July 2012 - 02:32 PM, said:

this works perfectly if you don't want to inject
http://www.msfn.org/...017#entry913017


Thank you very much. Worked perfectly as you said!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy