Ventoy Forums

Full Version: json autoinstall parent not working - VentoyPlugson bug?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Parent entry does not seem to work - so I added second image entry and that works.
But just single Parent entry does not seem to prompt user to select XML
Only the second entry seems to work. If I delete the image entry in VentoyPlugson, then I am not prompted to select an XML file.
v1.0.77 Legacy MBR USB disk.

Code:
{
    "auto_install":[
        {
            "parent": "/_ISO/WINDOWS/WIN10/",
            "template":[
                "/_ISO/WINDOWS/WIN10/VENTOY_Auto_WipeDisk1_Win10ProUK_ASK.xml",
                "/_ISO/WINDOWS/WIN10/Ventoy_1.xml"
            ]
        },
        {
            "image": "/_ISO/WINDOWS/WIN10/Windows10_21H1_UK64.iso",
            "template":[
                "/_ISO/WINDOWS/WIN10/VENTOY_1.xml"
            ]
        }
    ]
}

I found problem!
VentoyPlugson allows \ placed at end of the path
If I make path "parent": "/_ISO/WINDOWS/WIN10",
it is OK

Bug in Ventoyplugson?
VentoyPlugson can be improved to auto remove the end \