Jump to content

INF Drivers won't install


Recommended Posts

I have a bunch of drivers in INF format (along with catalogues and actual driver binaries) that are stored in a WIM data image. These are extracted to %SystemDrive%\Drivers\INF along with other installer-based drivers that I install during auditUser. I've tried adding driver paths to these INF drivers in both offlineServicing and auditSystem passes, but for some reason Windows does not load them into its driver store.

In the following example script, the unattend file uses a config set with the drivers.wim image stored on a usb drive along with the unattend file. The image is extracted to the root of the installation drive, and the driver path is passed to Windows at auditSystem:

 <?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.0.6000.16386" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="Adhoc-Meetings" state="false" />
<selection name="FaxServicesUltimate" state="false" />
<selection name="InboxGames" state="true" />
<selection name="Printing-Foundation-InternetPrinting-Client" state="false" />
<selection name="Printing-Foundation-Features" state="false" />
<selection name="TabletPCOC" state="false" />
<selection name="FreeCell" state="false" />
<selection name="Hearts" state="false" />
<selection name="Inkball" state="false" />
<selection name="PurblePlace" state="false" />
<selection name="DFSR-Infrastructure-ClientEdition" state="false" />
</package>
</servicing>
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SystemLocale>en-GB</SystemLocale>
<InputLocale>2057:00000809</InputLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-GB</UserLocale>
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<UILanguageFallback></UILanguageFallback>
</component>
<component name="Microsoft-Windows-Setup" 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">
<DiskConfiguration>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>false</WillWipeDisk>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Format>NTFS</Format>
<Label>Windows Vista Test</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<Display>
<HorizontalResolution>1680</HorizontalResolution>
<VerticalResolution>1050</VerticalResolution>
<ColorDepth>32</ColorDepth>
</Display>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
</OSImage>
<DataImage wcm:action="add">
<InstallFrom>
<Path>%configsetroot%\drivers.wim</Path>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
<Order>1</Order>
</DataImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key>REDACTED</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>REDACTED</FullName>
<Organization>REDACTED</Organization>
</UserData>
<PageFile>
<Size>0</Size>
</PageFile>
<UseConfigurationSet>true</UseConfigurationSet>
<Restart>Restart</Restart>
<LogPath>%SystemDrive%\Log</LogPath>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" 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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1680</HorizontalResolution>
<VerticalResolution>1050</VerticalResolution>
<DPI>96</DPI>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>REDACTED</Value>
<PlainText>false</PlainText>
</Password>
<Name>REDACTED</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
<RegisteredOrganization>Cybernet</RegisteredOrganization>
<RegisteredOwner>---</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>GMT Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-Sidebar" 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">
<Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget1>
<Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\CPU.Gadget,true</Gadget2>
<Gadget4>%PROGRAMFILES%\windows sidebar\gadgets\Notes.Gadget,true</Gadget4>
<Gadget5>%PROGRAMFILES%\windows sidebar\gadgets\Currency.Gadget,true</Gadget5>
</component>
</settings>
<settings pass="auditSystem">
<component name="Microsoft-Windows-Shell-Setup" 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">
<Display>
<HorizontalResolution>1680</HorizontalResolution>
<VerticalResolution>1050</VerticalResolution>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
</Display>
<UserAccounts>
<AdministratorPassword>
<Value>REDACTED</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
<TimeZone>GMT Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
<AutoLogon>
<Username>Administrator</Username>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Password>
<Value>REDACTED</Value>
<PlainText>false</PlainText>
</Password>
</AutoLogon>
</component>
<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="8d501bd5" wcm:action="add">
<Path>%systemdrive%\Drivers\INF\</Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>
<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>8</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
<Description>Finishing installation</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>%systemdrive%\Drivers\Graphics\setup.exe /S</Path>
<Order>1</Order>
<Description>Installing Graphics Drivers</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>%systemdrive%\Drivers\Sound\setup.exe /S</Path>
<Description>Installing Sound Drivers</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>%systemdrive%\Drivers\Touchpad\setup.exe /S</Path>
<Description>Installing Touchpad Drivers</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Path>msiexec /i %systemdrive%\Drivers\Bluetooth\BlueSoleilAMD64.msi /qb</Path>
<Description>Installing Bluetooth Drivers</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>5</Order>
<Path>%systemdrive%\Drivers\Webcam\setup.exe /S</Path>
<Description>Installing Webcam Drivers</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>6</Order>
<Path>%systemdrive%\Drivers\Mouse\setup.exe /S</Path>
<Description>Installing Mouse Drivers</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>7</Order>
<Path>%systemdrive%\Drivers\QLButton\setup.exe /S</Path>
<Description>Installing QuickLaunch Button Drivers</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>%windir%\system32\sysprep\sysprep.exe /quiet /audit</Path>
<Description>Reboot to Audit Mode</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Shell-Setup" 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">
<Display>
<HorizontalResolution>1680</HorizontalResolution>
<VerticalResolution>1050</VerticalResolution>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
</Display>
<ComputerName>vista-test</ComputerName>
<RegisteredOrganization>REDACTED</RegisteredOrganization>
<RegisteredOwner>REDACTED</RegisteredOwner>
<TimeZone>GMT Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
<BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled>
<WindowsFeatures>
<ShowInternetExplorer>false</ShowInternetExplorer>
<ShowMediaCenter>true</ShowMediaCenter>
<ShowWindowsMail>false</ShowWindowsMail>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
</WindowsFeatures>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-SQMApi" 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">
<CEIPEnabled>0</CEIPEnabled>
</component>
<component name="Microsoft-Windows-SystemRestore-Main" 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">
<DisableSR>1</DisableSR>
</component>
<component name="Microsoft-Windows-UnattendedJoin" 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">
<Identification>
<JoinWorkgroup>REDACTED</JoinWorkgroup>
</Identification>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:c:/vista deployment/install_windows vista ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Edited by r3loaded
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...