From 9761df14f00450cef6b33d155d3685c368ea5047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Wed, 13 May 2026 22:08:31 +0200 Subject: [PATCH] [BOOTDATA] Explicitly add "Profiles/Default User/My Documents" to the LiveImage (#8936) CORE-19691 Removing the `livecd_start.cmd` entry also caused the "Profiles/Default User/My Documents" directory to not be created in the LiveImage. When booting it, this caused explorer.exe to hang while loading the desktop, for **some** (but not all) non-english environments. (Technically it should instead ignore the non-existing directory if it cannot create or open it, or drop an error then continue execution... But that's another bug for another time!) Adding back the creation of this directory fixes the hang. --- boot/boot_images.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/boot_images.cmake b/boot/boot_images.cmake index 16948bfb46b..baabd7f96ac 100644 --- a/boot/boot_images.cmake +++ b/boot/boot_images.cmake @@ -124,6 +124,7 @@ function(add_user_profile_dirs _image_filelist _rootdir _username) file(APPEND ${_image_filelist} "${_rootdir}/${_username}/Local Settings/Application Data=${CMAKE_CURRENT_BINARY_DIR}/empty\n") file(APPEND ${_image_filelist} "${_rootdir}/${_username}/Local Settings/History=${CMAKE_CURRENT_BINARY_DIR}/empty\n") file(APPEND ${_image_filelist} "${_rootdir}/${_username}/Local Settings/Temporary Internet Files=${CMAKE_CURRENT_BINARY_DIR}/empty\n") + file(APPEND ${_image_filelist} "${_rootdir}/${_username}/My Documents=${CMAKE_CURRENT_BINARY_DIR}/empty\n") file(APPEND ${_image_filelist} "${_rootdir}/${_username}/My Music=${CMAKE_CURRENT_BINARY_DIR}/empty\n") file(APPEND ${_image_filelist} "${_rootdir}/${_username}/My Pictures=${CMAKE_CURRENT_BINARY_DIR}/empty\n") file(APPEND ${_image_filelist} "${_rootdir}/${_username}/My Videos=${CMAKE_CURRENT_BINARY_DIR}/empty\n")