[2/4] msi: Remove a component regardless of its install state, unless it's a permanent component.

Hans Leidekker hans at codeweavers.com
Wed Nov 7 08:55:48 CST 2012


---
 dlls/msi/action.c |    3 +--
 1 file changed, 1 insertion(+), 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;
-- 
1.7.10.4







More information about the wine-patches mailing list