From ccdd0869a1afc9b951eed6da4ead9af6a739896b Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Fri, 7 Apr 2006 13:33:43 +0900 Subject: [PATCH] msi: Fix a logic error. --- dlls/msi/classes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/classes.c b/dlls/msi/classes.c index b7799f38059..75a0ffafa6a 100644 --- a/dlls/msi/classes.c +++ b/dlls/msi/classes.c @@ -863,8 +863,8 @@ 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 )) && - !(install_on_demand && + if (!ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_LOCAL ) || + !(install_on_demand && ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_ADVERTISED ))) { TRACE("Skipping class %s reg due to disabled feature %s\n",