From 6a0801a40ac45b260d75cff0d77add6373d94ed3 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 11 Jan 2011 10:28:50 +0100 Subject: [PATCH] msi: Don't extract files for assemblies which are already installed. --- dlls/msi/files.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index 182e0272584..9d0e01af632 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -68,7 +68,8 @@ static void schedule_install_files(MSIPACKAGE *package) { MSICOMPONENT *comp = file->Component; - if (comp->ActionRequest != INSTALLSTATE_LOCAL || !comp->Enabled) + if (comp->ActionRequest != INSTALLSTATE_LOCAL || !comp->Enabled || + (comp->assembly && comp->assembly->installed)) { TRACE("File %s is not scheduled for install\n", debugstr_w(file->File)); file->state = msifs_skipped;