msi: Install assemblies only if the component action request is set to INSTALLSTATE_LOCAL.

Hans Leidekker hans at codeweavers.com
Thu Nov 18 05:08:37 CST 2010


---
 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 9aeaaf3..182e027 100644
--- a/dlls/msi/files.c
+++ b/dlls/msi/files.c
@@ -293,7 +293,8 @@ UINT ACTION_InstallFiles(MSIPACKAGE *package)
     }
     LIST_FOR_EACH_ENTRY( comp, &package->components, MSICOMPONENT, entry )
     {
-        if (comp->Enabled && comp->assembly && !comp->assembly->installed)
+        if (comp->ActionRequest == INSTALLSTATE_LOCAL && comp->Enabled &&
+            comp->assembly && !comp->assembly->installed)
         {
             rc = install_assembly( package, comp );
             if (rc != ERROR_SUCCESS)
-- 
1.7.1







More information about the wine-patches mailing list