windows: 添加自定义驱动

This commit is contained in:
bin456789
2025-02-15 00:25:38 +08:00
parent 3d11c791a7
commit d0342c3ebf
6 changed files with 187 additions and 84 deletions

View File

@ -49,9 +49,14 @@
<settings pass="offlineServicing">
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="%arch%" 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:action="add" wcm:keyValue="1">
<Path>X:\drivers</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="2">
<Path>X:\custom_drivers</Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>