Commit 2ee5a5bf authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

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

provided then treat it as being satisfied.
parent 4eb389bb
...@@ -1991,7 +1991,7 @@ static UINT msi_dialog_control_event( MSIRECORD *rec, LPVOID param ) ...@@ -1991,7 +1991,7 @@ static UINT msi_dialog_control_event( MSIRECORD *rec, LPVOID param )
condition = MSI_RecordGetString( rec, 5 ); condition = MSI_RecordGetString( rec, 5 );
r = MSI_EvaluateConditionW( dialog->package, condition ); r = MSI_EvaluateConditionW( dialog->package, condition );
if( r == MSICONDITION_TRUE ) if( r == MSICONDITION_TRUE || r == MSICONDITION_NONE )
{ {
event = MSI_RecordGetString( rec, 3 ); event = MSI_RecordGetString( rec, 3 );
arg = MSI_RecordGetString( rec, 4 ); arg = MSI_RecordGetString( rec, 4 );
......
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