diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index f5096550509..f3b4987c1f4 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -1425,6 +1425,8 @@ static void msi_dialog_update_pathedit( msi_dialog *dialog ) BOOL indirect; control = msi_dialog_find_control( dialog, szPathEdit ); + if (!control) + return; indirect = control->attributes & msidbControlAttributesIndirect; prop = msi_dialog_dup_property( dialog, control->property, indirect );