[SYSSETUP] Apply theming from unattend files very early on when booting the LiveCD or a new install (#7797)

Use a `[Shell]` section with `DefaultThemesOff` and `CustomDefaultThemeFile`
values, specifying respectively whether to use the classic theme or a
custom one, and the complete path to the custom .theme (or .msstyles) file.

These values are compatible with those documented in the
"MS Windows Preinstallation Reference" help file
of the Windows installation CD (DEPLOY.CAB\ref.chm)

[BOOTDATA] bootcd/unattend.inf: Use the Shell/CustomDefaultThemeFile value to specify which theme to use
This commit is contained in:
Hermès Bélusca-Maïto 2025-03-18 13:52:39 +01:00
parent 8e2d1b358c
commit 2e47094764
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 153 additions and 16 deletions

View file

@ -59,16 +59,12 @@ LocaleID = 409
; 1: ReactOS Workstation
ProductOption = 0
; enable this section to automatically launch programs
; Enable this section to automatically launch programs
; after 3rd boot
;
; [GuiRunOnce]
; %SystemRoot%\system32\cmd.exe
; Enable the next line (+ the GuiRunOnce section) to enable the lautus theme
; "rundll32.exe shell32.dll,Control_RunDLL desk.cpl desk,@Appearance /Action:ActivateMSTheme /file:%SYSTEMROOT%\Resources\themes\lautus\lautus.msstyles"
; enable this section to change resolution / bpp
; Enable this section to change resolution / bpp
; setting a value to 0 or skipping it will leave it unchanged
; [Display]
; BitsPerPel = 32
@ -80,3 +76,8 @@ ProductOption = 0
;[Env]
;WINETEST_PLATFORM=reactos
; Enable this section to enable the default ReactOS theme
; [Shell]
; DefaultThemesOff = no
; CustomDefaultThemeFile = "%WINDIR%\Resources\Themes\Lautus\lautus.msstyles"