From 1da2fbce95fde8c2fffd099430ce746b9d59c468 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 19 Apr 2006 02:28:05 +0900 Subject: [PATCH] msi: Don't fall back to the folder's parent if the folder doesn't exist. --- dlls/msi/helpers.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/dlls/msi/helpers.c b/dlls/msi/helpers.c index 9eadcfd9afd..6d3d7e33881 100644 --- a/dlls/msi/helpers.c +++ b/dlls/msi/helpers.c @@ -380,17 +380,6 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source, } } - /* try the parent folder's path */ - if (!path) - { - path = strdupW(p); - if (INVALID_FILE_ATTRIBUTES == GetFileAttributesW( path )) - { - msi_free( path ); - path = NULL; - } - } - /* try the root of the install */ if (!path) path = get_source_root( package );