msi: Fix a logic error.
This commit is contained in:
parent
ed580a1d85
commit
ccdd0869a1
|
@ -863,7 +863,7 @@ UINT ACTION_RegisterClassInfo(MSIPACKAGE *package)
|
||||||
* yes. MSDN says that these are based on _Feature_ not on
|
* yes. MSDN says that these are based on _Feature_ not on
|
||||||
* Component. So verify the feature is to be installed
|
* Component. So verify the feature is to be installed
|
||||||
*/
|
*/
|
||||||
if ((!ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_LOCAL )) &&
|
if (!ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_LOCAL ) ||
|
||||||
!(install_on_demand &&
|
!(install_on_demand &&
|
||||||
ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_ADVERTISED )))
|
ACTION_VerifyFeatureForAction( feature, INSTALLSTATE_ADVERTISED )))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue