-
Notifications
You must be signed in to change notification settings - Fork 11
RequireDriver
Homes32 edited this page May 14, 2022
·
2 revisions
Copy the driver support files and driver entries from the INSTALL.WIM driver database to the target registry driver database. Both the DRIVERS hive and SYSTEM\Drivers store are processed.
RequireDriver,<filename.inf>,[NOREG]
Argument | Description |
---|---|
InfFile | The name of the driver's .inf file. |
NOREG | (Optional) Don't copy registry (services & driver database). |
None.
Registry hives Tmp_Install_Drivers, Tmp_Install_System, Tmp_Drivers, Tmp_System must be loaded before calling.
RegCopyDriver, RegLoadHives, RegUnLoadHives
Echo,"Configuring %ScriptTitle%..."
RegLoadHives
RequireDriver,display.inf
RequireDriver,displayoverride.inf,NOREG
RegUnloadHives