Dism /Get-WimInfo /WimFile:F:\sources\install.wim
Dism /Mount-Image /ImageFile:F:\sources\install.wim /Index:4 /MountDir:F:\mount
Dism /Mount-Image /ImageFile:F:\sources\boot.wim /Index:2 /MountDir:F:\mount
Dism /Image:F:\mount /Add-Driver /Driver:F:\virtio\viostor\2k22\amd64 /Recurse
Dism /Unmount-Image /MountDir:F:\mount /Commit
https://thunderysteak.github.io/windows-setup-driver-injection
正文完