mirror of
https://github.com/reactos/reactos.git
synced 2026-09-09 02:44:55 +08:00
- Just after initially caching the path to the ReactOS installer, check whether an unattend.inf file can be found in its directory; otherwise, fall back to an unattend file in the current ReactOS directory. - If this unattend.inf file specifies to run an unattended setup (`UnattendSetupEnabled` value set to `"yes"`), automatically start the ReactOS installer -- instead of starting the live environment desktop. - If the user presses Ctrl+Shift+F10 however, disable unattended setup (suggestion to override the behaviour with a keypress from Whindmar Saksit). NOTE: in the `WM_INITDIALOG` dialog handlers, use `SendMessageW` to simulate the button presses. This also allows the invocation of `EndDialog()` (from the button command handlers) while the `WM_INITDIALOG` message is handled, so that the USER dialog manager can then directly close the dialog without showing it first.