msi: Fall back to checking if the cab exists if the volume name
doesn't match
James Hawkins
truiken at gmail.com
Tue May 29 12:43:50 CDT 2007
Hi,
Fixes the AutoCAD 2004 installer, probably several others.
Changelog:
* Fall back to checking if the cab exists if the volume name doesn't match.
dlls/msi/files.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--
James Hawkins
-------------- next part --------------
diff --git a/dlls/msi/files.c b/dlls/msi/files.c
index ae675e9..0f8f1d9 100644
--- a/dlls/msi/files.c
+++ b/dlls/msi/files.c
@@ -615,6 +615,9 @@ static UINT ready_media(MSIPACKAGE *pack
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);
}
--
1.4.1
More information about the wine-patches
mailing list