Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

3rd party drivers


  • Please log in to reply
4 replies to this topic

#1
zedox

zedox

    XPize Darkside Author

  • Member
  • PipPipPipPipPip
  • 708 posts
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?


Download XPize Darkside 2.1 here!

Posted Image



How to remove advertisement from MSFN

#2
WinOutreach4

WinOutreach4

    Newbie

  • Member
  • 40 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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
halikus

halikus
  • Member
  • 5 posts
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
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,880 posts
  • OS:Windows 7 x64
  • Country: Country Flag
this works perfectly if you don't want to inject
http://www.msfn.org/...017#entry913017
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#5
zedox

zedox

    XPize Darkside Author

  • Member
  • PipPipPipPipPip
  • 708 posts

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!


Download XPize Darkside 2.1 here!

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN