About VentoyAutoRun.bat
- 1. Background
iVentoy has provided Injection feature to inject files to the runtime envrionment after boos the ISO file.
For Windows ISO files, the injection is applied to the WinPE environment (X:\ drive)
If you inject a X:\VentoyAutoRun.bat
file, iVentoy will run this bat file automatically.
Attention:
Support standard Windows ISO and most type of WinPE ISO, but some special WinPE may not support.
- 2. When to call
For standard Windows ISO, iVentoy will call the bat before winpeshl.exe
run.
For most type of WinPE ISO, iVentoy will call the bat before PECMD.EXE
run.
- 3. Log
The output of the bat will be saved to X:\VentoyAutoRun.log
- 4. Template
For convenience, I have created a template. Download https://github.com/ventoy/WinInjection/blob/main/WinInjection.zip and decompress it.
VentoyAutoRun.bat
is under X
directory after decompression. You can modify it as you want.
Then, double-click pack.bat
and it will create a windows_injection.7z
file.
- 5. Screenshot