Ventoy Forums
【Solved】Change Default selection on auto installation 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】Change Default selection on auto installation plugin? (/showthread.php?tid=1578)



【Solved】Change Default selection on auto installation plugin? - markm - 02-17-2021

Is there a way to change the default highlighted selection for the auto installation plugin from the 1st auto install script to "boot without auto installation template"? Some times I need to use Windows installer for WinRE environment, and am always worried someday I might accidentally use wrong selection and accidentally lose someone's data.


RE: Change Default selection on auto installation plugin? - longpanda - 02-18-2021

Currently this is not supported. 
Maybe you can consider the following workaround.
offer another empty or invalid unattend.xml.

Code:
{
    "auto_install": [
        {
            "image": "/Windows10.iso",
            "template": [
                "/script/fake_unattend.xml",
                "/script/real_unattend.xml"
            ]           
        }
    ]
}

Now fake_unattend.xml will become the default highlighted selection.


RE: Change Default selection on auto installation plugin? - markm - 02-19-2021

(02-18-2021, 12:57 AM)longpanda Wrote: Currently this is not supported. 
Maybe you can consider the following workaround.
offer another empty or invalid unattend.xml.

Code:
{
    "auto_install": [
        {
            "image": "/Windows10.iso",
            "template": [
                "/script/fake_unattend.xml",
                "/script/real_unattend.xml"
            ]           
        }
    ]
}

Now fake_unattend.xml will become the default highlighted selection.
That would be fine, thank you for the suggestion!