Ventoy Forums
【Solved】Injection Plugin - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy Plugin —— Ventoy 插件 (https://forums.ventoy.net/forumdisplay.php?fid=3)
+--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4)
+--- Thread: 【Solved】Injection Plugin (/showthread.php?tid=2216)



【Solved】Injection Plugin - nguyen ha thai trong - 10-06-2022

is there a way to inject VentoyAutoRun.bat into any loaded iso file?


RE: Injection Plugin - longpanda - 10-06-2022

Need more details about your request.


RE: Injection Plugin - nguyen ha thai trong - 10-06-2022

When using ventoy.json, Injection Plugin is only used for iso file with specified name and path. I want to use Injection Plugin every time I choose any iso file, so how do I do that?


RE: Injection Plugin - longpanda - 10-07-2022

You can use parent key to set that all the ISO files under a directory use the same injection archive.
For example:
Code:
{
    "injection": [       
        {
            "parent": "/WinISO",
            "archive": "/driver/win-driver.zip"
        }
    ]
}

Then the injection config will take effect for all the ISO files under WinISO directory.


RE: Injection Plugin - nguyen ha thai trong - 10-07-2022

Very thank you