Commit 44649d2f authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Fall back to checking if the cab exists if the volume name doesn't match.

parent 1aa00825
......@@ -615,6 +615,9 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m
if (type == DRIVE_CDROM || type == DRIVE_REMOVABLE)
found = source_matches_volume(mi, source_dir);
if (!found)
found = GetFileAttributesW(mi->cabinet) != INVALID_FILE_ATTRIBUTES;
msi_free(source_dir);
}
......
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