From f618eb28607e456fab6b61a9c271f5093bbe8065 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 9 Sep 2011 10:59:18 +0200 Subject: [PATCH] msi: Respect the indirect attribute in the SelectionPath event handler. --- dlls/msi/dialog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 2210f1764b3..caad21cbd28 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -691,7 +691,8 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control, } else if ( !strcmpW( attribute, szSelectionPath ) ) { - LPWSTR path = msi_dialog_dup_property( dialog, ctrl->property, TRUE ); + BOOL indirect = ctrl->attributes & msidbControlAttributesIndirect; + LPWSTR path = msi_dialog_dup_property( dialog, ctrl->property, indirect ); if (!path) return; SetWindowTextW( ctrl->hwnd, path ); msi_free(path); -- 2.11.4.GIT