Hans Leidekker : msi: Remove a component regardless of its install state, unless it's a permanent component.

Alexandre Julliard julliard at winehq.org
Wed Nov 7 14:02:29 CST 2012


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Nov  7 15:55:48 2012 +0100

msi: Remove a component regardless of its install state, unless it's a permanent component.

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index f338f25..88de118 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1982,8 +1982,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
             continue;
         }
         TRACE("nobody wants component %s\n", debugstr_w(component->Component));
-        if (component->anyAbsent &&
-            (component->Installed == INSTALLSTATE_LOCAL || component->Installed == INSTALLSTATE_SOURCE))
+        if (component->anyAbsent && component->ComponentId)
         {
             component->Action = INSTALLSTATE_ABSENT;
             component->ActionRequest = INSTALLSTATE_ABSENT;




More information about the wine-cvs mailing list