ventoy / Ventoy

A new bootable USB solution.
https://www.ventoy.net
GNU General Public License v3.0
61.9k stars 4.03k forks source link

Request for injecting custom 'winpeshl_ventoy.ini' and 'start_ventoy.bat' to X:/Windows/System32 folder. #143

Closed devdevadev closed 2 years ago

devdevadev commented 4 years ago

Hi..Ventoy

I run my own 'SMART_INSTALL.cmd' within 'boot.wim' environment in order to pickup 'SMART_INSTALL.xml' to make Installation Autounattended. I change UNAME, PCNAME and MYINDEX strings in XML. I also Backup User Files to Free Drive and then Auto Format Windows Partition using my 'SMART_INSTALL.cmd'.

So it will be very useful if Ventoy inject custom 'winpeshl_ventoy.ini' and 'start_ventoy.bat' within from EFI Partition to X:/Windows/System32 folder if 'winpeshl_ventoy.ini' and 'start_ventoy.bat' exist in EFI Partition. OR Maybe any better solution to allow user to user their own 'start.bat' within WinPE environment to do some extra/Special work before starting Installation..

a1ive agFM allow us to set 'grubfm_startbat' variable so that we can use custom 'start.bat' within WinPE environment. Similiar Approach will be very useful if Ventoy also provide ?

Thanks & Regards....

ventoy commented 2 years ago

Ventoy 1.0.55 add VentoyAutoRun.bat feature: https://www.ventoy.net/en/doc_inject_autorun.html