Commit b36a26d6 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Don't attempt to patch files from disabled components.

parent aeb7d70f
......@@ -466,7 +466,8 @@ static BOOL patchfiles_cb(MSIPACKAGE *package, LPCWSTR file, DWORD action,
if (temp_folder[0] == '\0')
GetTempPathW(MAX_PATH, temp_folder);
if (!(p = get_next_filepatch(package, file))) return FALSE;
if (!(p = get_next_filepatch(package, file)) || !p->File->Component->Enabled)
return FALSE;
GetTempFileNameW(temp_folder, NULL, 0, patch_path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment