Ventoy Forums
Add drivers for Windows unattended install? - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy Plugin (https://forums.ventoy.net/forumdisplay.php?fid=3)
+--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4)
+--- Thread: Add drivers for Windows unattended install? (/showthread.php?tid=2140)



Add drivers for Windows unattended install? - markm - 07-28-2022

I saw there is a plugin for DUD for Linux, but was wondering if there is a way to do something similar for Windows ISOs. When doing a normal install I can load the driver from my Ventoy thumb drive at the drive selection/partition screen, but in order for my unattended installs to work I have to add new drivers with dism and resave the ISO each time a new build comes out.


RE: Add drivers for Windows unattended install? - Steve2926 - 07-30-2022

https://ventoy.net/en/plugin_injection.html
Are you talking about adding drivers into both the WinPE boot.wim and the install.wim/esd files?


RE: Add drivers for Windows unattended install? - markm - 08-01-2022

(07-30-2022, 07:51 AM)Steve2926 Wrote: https://ventoy.net/en/plugin_injection.html
Are you talking about adding drivers into both the WinPE  boot.wim and the install.wim/esd files?
Yes. I normally add the latest intel rst drivers to boot.wim so the installer can see the drive, and the install.wim because I assumed they must be in the install.wim for the installed copy of windows to contain the drivers.


RE: Add drivers for Windows unattended install? - Steve2926 - 08-02-2022

Well, you can inject the drivers into the winPE OS by adding a zip file which contains the drivers so that they appear in the correct folder. I am not sure but I think they would need to be in DriverStore folders so your .zip file would have the same folder structure.
https://ventoy.net/en/plugin_injection.html

As for the installed OS - you would need to avoid running Setup.exe and use the WinPE environment and a .cmd file to install from one of the images in the install.wim (after partitioning and formatting the disk) and then copy over the drivers or use a DISM command to add in offline drivers.
Or you could use WinntSetup.exe to do the (scripted or GUI) install with drivers.
https://easy2boot.xyz/create-your-website-with-blocks/add-payload-files/windows-install-isos/installing-windows-xp7810-using-winntsetup/
You can load an XML file using Ventoy and the XML file could contain a RunSychronous entry to start the install script or use the VentoyAutoRun.bat file which is inside your zip file. See https://ventoy.net/en/doc_inject_autorun.html.

The same script could install the WinPE drivers from the extracted folders in the X: drive if WinPE did not automatically use them from the DriverStore folder.