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

Alexandre Julliard julliard at winehq.org
Mon Jan 23 13:00:57 CST 2012


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Jan 23 09:47:00 2012 +0100

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

---

 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 */




More information about the wine-cvs mailing list