msi: When evaluating conditions, if the condition is empty or none is

provided then treat it as being satisfied.
This commit is contained in:
Ulrich Czekalla 2006-02-23 11:33:10 -05:00 committed by Alexandre Julliard
parent 4eb389bbdf
commit 2ee5a5bf7c

View file

@ -1991,7 +1991,7 @@ static UINT msi_dialog_control_event( MSIRECORD *rec, LPVOID param )
condition = MSI_RecordGetString( rec, 5 );
r = MSI_EvaluateConditionW( dialog->package, condition );
if( r == MSICONDITION_TRUE )
if( r == MSICONDITION_TRUE || r == MSICONDITION_NONE )
{
event = MSI_RecordGetString( rec, 3 );
arg = MSI_RecordGetString( rec, 4 );