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

This commit is contained in:
Hans Leidekker 2012-01-23 09:47:00 +01:00 committed by Alexandre Julliard
parent 6302ba5dd6
commit fcce720a2f
1 changed files with 0 additions and 15 deletions

View File

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