msi: Don't evaluate msidbFeatureAttributesFollowParent when features are preselected.

Hans Leidekker hans at codeweavers.com
Mon Jan 23 02:47:00 CST 2012


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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 16ac4f0..59e7b6d 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1821,21 +1821,6 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
                 }
             }
         }
-        LIST_FOR_EACH_ENTRY( feature, &package->features, MSIFEATURE, entry )
-        {
-            FeatureList *fl;
-
-            if (!is_feature_selected( feature, level )) continue;
-
-            LIST_FOR_EACH_ENTRY( fl, &feature->Children, FeatureList, entry )
-            {
-                if (fl->feature->Attributes & msidbFeatureAttributesFollowParent)
-                {
-                    fl->feature->Action = feature->Action;
-                    fl->feature->ActionRequest = feature->ActionRequest;
-                }
-            }
-        }
     }
 
     /* now we want to set component state based based on feature state */
-- 
1.7.8.3






More information about the wine-patches mailing list