From 038d31ca93f0fee8af13b5863d3da07536de0945 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 3 Oct 2006 14:59:16 -0700 Subject: [PATCH] msi: Don't ERR if a dialog doesn't provide control conditions, as they are not required. --- dlls/msi/dialog.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 11719ddb38c..fcbd7660735 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -2529,10 +2529,7 @@ static UINT msi_dialog_evaluate_control_conditions( msi_dialog *dialog ) /* query the Control table for all the elements of the control */ r = MSI_OpenQuery( package->db, &view, query, dialog->name ); if( r != ERROR_SUCCESS ) - { - ERR("query failed for dialog %s\n", debugstr_w(dialog->name)); - return ERROR_INVALID_PARAMETER; - } + return ERROR_SUCCESS; r = MSI_IterateRecords( view, 0, msi_dialog_set_control_condition, dialog ); msiobj_release( &view->hdr );