Hans Leidekker : msi: Don't reinstall components shared with other products .

Alexandre Julliard julliard at winehq.org
Thu Sep 13 14:39:22 CDT 2012


Module: wine
Branch: master
Commit: dd8f54a49fd29eb5e91cf4ac5798a41580434151
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dd8f54a49fd29eb5e91cf4ac5798a41580434151

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Sep 13 13:43:37 2012 +0200

msi: Don't reinstall components shared with other products.

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 845a0fd..f29be2b 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -812,7 +812,7 @@ INSTALLSTATE msi_get_component_action( MSIPACKAGE *package, MSICOMPONENT *comp )
     if (comp->num_clients > 0 && comp->ActionRequest == INSTALLSTATE_ABSENT)
     {
         TRACE("%s has %u clients left\n", debugstr_w(comp->Component), comp->num_clients);
-        return comp->Installed;
+        return INSTALLSTATE_UNKNOWN;
     }
     return comp->ActionRequest;
 }




More information about the wine-cvs mailing list