Custom Prompt / Shell-Window before installation starts - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: iVentoy General Use —— iVentoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=7) +--- Forum: iVentoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=8) +--- Thread: Custom Prompt / Shell-Window before installation starts (/showthread.php?tid=2671) |
Custom Prompt / Shell-Window before installation starts - chaiuwe - 09-15-2023 Hi, I want to enter some data (like e.g. ComputerName) before the installation starts. I tried the solution from here: https://github.com/ventoy/Ventoy/issues/727#issuecomment-773552387 Basically that's a Batch Script loaded via winpeshl.ini asking for user input. Which works really well when the iso is loaded via USB (both plain USB or classic Ventoy). However, when loading the same iso via iVentoy it seems to be ignored / skipped and goes straight to the auto installer part. I also tried via injection, but it's the same (though I can see in the log that VentoyAutoRun.bat is being executed, but no Shell window opens). Host OS for iVentoy: openSUSE Linux Version 1.0.18 Pro Edition ISO: Windows 11 22h2 Hope you can give me some advice. Regards RE: Custom Prompt / Shell-Window before installation starts - longpanda - 09-16-2023 For VentoyAutoRun.bat: There is no Window when run it. So no shell windows is available. For winpeshl.ini: iVentoy also use winpeshl.ini. So in current release, iVentoy just create a new winpeshl.ini file (so it override the one that you injected). I will fix this in the next release, then if there is already a winpeshl.ini file, iVentoy just append to the end of the file. So you can wait for the next release, and use winpeshl.ini method. But it should be noted that, you can not add setup.exe in winpeshl.ini file, because iVentoy will add it to the end of winpeshl.ini file. Your winpeshl.ini file can be as follows: Code: [LaunchApps] RE: Custom Prompt / Shell-Window before installation starts - chaiuwe - 09-18-2023 Hi, thanks a lot for taking care of this, really appreciate it! Looking forward to the next release! Regards RE: Custom Prompt / Shell-Window before installation starts - chaiuwe - 10-25-2023 Hi, any news on that issue? Best, RE: Custom Prompt / Shell-Window before installation starts - chaiuwe - 11-27-2023 For anyone interrested, I got working around that issue by putting the following inside the "settings pass="windowsPE"" section in autounattend.xml: Code: <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> The drawback of that method is, you cannot modify autounattend.xml via that bat since it has already been called. |