6、将驱动程序注入到安装的wim中(图5)
Dism /Image:C:\temp\wim /Add-Driver /Driver:C:\temp\drivers /Recurse
7、卸载wim文件的索引并提交更改(图6)
Dism /Unmount-Wim /MountDir:C:\temp\wim /Commit
注:为boot.wim的两个索引以及所需安装介质的任何install.wim索引重复上述步骤
8、安装wim文件的索引2:(图7)
Dism /Mount-Wim /WimFile:C:\temp\WindowsISO\sources\boot.wim /Index:2 /MountDir:C:\temp\Wim
9、将驱动程序注入到安装的wim中(图8)
Dism /Image:C:\temp\wim /Add-Driver /Driver:C:\temp\drivers /Recurse