[3/4] msi: Don't extract files for assemblies which are already installed.

Hans Leidekker hans at codeweavers.com
Tue Jan 11 03:28:50 CST 2011


---
 dlls/msi/files.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/files.c b/dlls/msi/files.c
index 182e027..9d0e01a 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;
-- 
1.7.1







More information about the wine-patches mailing list