[8/8] msi: Ignore unknown components in the FeatureComponents table.

Hans Leidekker hans at codeweavers.com
Fri Sep 9 04:02:11 CDT 2011


Fix for the Visio 2000 installer.
---
 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;
 
-- 
1.7.5.4






More information about the wine-patches mailing list