win32_apply.c: Add comment about registry changes
authorEric Biggers <ebiggers3@gmail.com>
Sun, 20 Jul 2014 06:50:24 +0000 (01:50 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 20 Jul 2014 06:50:43 +0000 (01:50 -0500)
src/win32_apply.c

index 300571f..0da0793 100644 (file)
@@ -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,