Module: wine Branch: refs/heads/master Commit: ccdd0869a1afc9b951eed6da4ead9af6a739896b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ccdd0869a1afc9b951eed6da...
Author: Mike McCormack mike@codeweavers.com Date: Fri Apr 7 13:33:43 2006 +0900
msi: Fix a logic error.
---
dlls/msi/classes.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/classes.c b/dlls/msi/classes.c index b7799f3..75a0ffa 100644 --- a/dlls/msi/classes.c +++ b/dlls/msi/classes.c @@ -863,8 +863,8 @@ UINT ACTION_RegisterClassInfo(MSIPACKAGE * 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",