msi: Ignore unknown components in the FeatureComponents table.

This commit is contained in:
Hans Leidekker 2011-09-09 11:02:11 +02:00 committed by Alexandre Julliard
parent 6351cd827b
commit 258fc7137f
1 changed files with 2 additions and 3 deletions

View File

@ -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;