From 2e001b0f49e3d90443c5b782b1256adfee7841b4 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 20 Jul 2014 01:50:24 -0500 Subject: [PATCH] win32_apply.c: Add comment about registry changes --- src/win32_apply.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/win32_apply.c b/src/win32_apply.c index 300571f0..0da07937 100644 --- a/src/win32_apply.c +++ b/src/win32_apply.c @@ -333,6 +333,20 @@ start_wimboot_extraction(struct win32_apply_ctx *ctx) if (ret) return ret; + /* TODO: DISM seems to set HKEY_LOCAL_MACHINE\SOFTWARE\Setup + * "WimBoot"=dword:00000001 in the registry of the extracted image. Do + * we need to do this too? I'd really prefer not to be mucking around + * with the extracted files, and certainly not the registry... + * + * It changed two other keys as well: + * + * [HKEY_LOCAL_MACHINE\SOFTWARE\ControlSet001\Control\ProductOptions] + * value "ProductPolicy" + * + * [HKEY_LOCAL_MACHINE\SOFTWARE\ControlSet001\Control\SessionManager\AppCompatCache] + * value "AppCompatCache" + */ + return wimboot_alloc_data_source_id(wim->filename, wim->hdr.guid, wim->current_image, -- 2.43.0