From 2ee5a5bf7c4cc67f40a3dc7d5e8325224713dc85 Mon Sep 17 00:00:00 2001 From: Ulrich Czekalla Date: Thu, 23 Feb 2006 11:33:10 -0500 Subject: [PATCH] msi: When evaluating conditions, if the condition is empty or none is provided then treat it as being satisfied. --- dlls/msi/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 0a8fa506aa4..69909a753c3 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -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 ); -- 2.11.4.GIT