Hans Leidekker : msi: Ignore unknown components in the FeatureComponents table.

Alexandre Julliard julliard at winehq.org
Fri Sep 9 10:56:46 CDT 2011


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Sep  9 11:02:11 2011 +0200

msi: Ignore unknown components in the FeatureComponents table.

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 69384be..62d857a 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1048,10 +1048,9 @@ static UINT iterate_load_featurecomponents(MSIRECORD *row, LPVOID param)
     comp = msi_get_loaded_component( ilfs->package, component );
     if (!comp)
     {
-        ERR("unknown component %s\n", debugstr_w(component));
-        return ERROR_FUNCTION_FAILED;
+        WARN("ignoring unknown component %s\n", debugstr_w(component));
+        return ERROR_SUCCESS;
     }
-
     add_feature_component( ilfs->feature, comp );
     comp->Enabled = TRUE;
 




More information about the wine-cvs mailing list