Commit 1da2fbce authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

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

parent 67394207
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment