msi: Fall back to checking if the cab exists if the volume name doesn't match.
This commit is contained in:
parent
1aa0082558
commit
44649d2ff8
|
@ -615,6 +615,9 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m
|
||||||
if (type == DRIVE_CDROM || type == DRIVE_REMOVABLE)
|
if (type == DRIVE_CDROM || type == DRIVE_REMOVABLE)
|
||||||
found = source_matches_volume(mi, source_dir);
|
found = source_matches_volume(mi, source_dir);
|
||||||
|
|
||||||
|
if (!found)
|
||||||
|
found = GetFileAttributesW(mi->cabinet) != INVALID_FILE_ATTRIBUTES;
|
||||||
|
|
||||||
msi_free(source_dir);
|
msi_free(source_dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue