Commit 038d31ca authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Don't ERR if a dialog doesn't provide control conditions, as they are not required.

parent 1bfc50eb
......@@ -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 );
......
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