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

This commit is contained in:
Mike McCormack 2006-04-19 02:28:05 +09:00 committed by Alexandre Julliard
parent 67394207a9
commit 1da2fbce95

View File

@ -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 );