Commit ccdd0869 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Fix a logic error.

parent ed580a1d
......@@ -863,7 +863,7 @@ UINT ACTION_RegisterClassInfo(MSIPACKAGE *package)
* yes. MSDN says that these are based on _Feature_ not on
* Component. So verify the feature is to be installed
*/
if ((!ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_LOCAL )) &&
if (!ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_LOCAL ) ||
!(install_on_demand &&
ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_ADVERTISED )))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment