>From b88a43dbc2234c8b35ee4fa7bb4f275475b8d821 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Tue, 4 Mar 2008 18:16:27 +0100 Subject: [PATCH] Fix bug in handling of multivolume CAB files. After extracting a single file from a multivolume CAB file, sometimes information about the next CAB file to extract from would not be loaded, because the is_continuous state was previously only properly reset if a file happened to be partially extracted from the last volume of a multivolume series. --- dlls/msi/files.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index 33a3a5a..b43337a 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -401,10 +401,13 @@ static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin) } case fdintCLOSE_FILE_INFO: { + CabData *data = (CabData*) pfdin->pv; FILETIME ft; FILETIME ftLocal; HANDLE handle = (HANDLE) pfdin->hf; + data->mi->is_continuous = FALSE; + if (!DosDateTimeToFileTime(pfdin->date, pfdin->time, &ft)) return -1; if (!LocalFileTimeToFileTime(&ft, &ftLocal)) -- 1.5.4.1