Mike McCormack : msi: Don't fall back to the folder' s parent if the folder doesn't exist.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 18 14:35:04 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 1da2fbce95fde8c2fffd099430ce746b9d59c468
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=1da2fbce95fde8c2fffd099430ce746b9d59c468

Author: Mike McCormack <mike at codeweavers.com>
Date:   Wed Apr 19 02:28:05 2006 +0900

msi: Don't fall back to the folder's parent if the folder doesn't exist.

---

 dlls/msi/helpers.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/dlls/msi/helpers.c b/dlls/msi/helpers.c
index 9eadcfd..6d3d7e3 100644
--- a/dlls/msi/helpers.c
+++ b/dlls/msi/helpers.c
@@ -380,17 +380,6 @@ LPWSTR resolve_folder(MSIPACKAGE *packag
                 }
             }
 
-            /* 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 );




More information about the wine-cvs mailing list