mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
msi: Don't fall back to the folder's parent if the folder doesn't exist.
This commit is contained in:
parent
67394207a9
commit
1da2fbce95
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user