I have used the steps shown in this article
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-and-remove-drivers-to-an-offline-windows-image?view=windows-11
but instead of this install.wim file I used boot.wim as I couldn't find the install.wim file
Dism /Mount-Image /ImageFile:C:\test\images\boot.wim /MountDir:C:\test\offline
and I have injected the driver using these commands
Dism /Mount-Image /ImageFile:C:\test\images\boot.wim /index:2 /MountDir:C:\test\offline
Dism /Image:C:\test\offline /Add-Driver /Driver:c:\drivers /Recurse
Dism /Unmount-Image /MountDir:C:\test\offline /Commit
but when I use the flash drive to install the windows it is not installing the missing drivers which I added them.
what could you be the issue please?