Module: wine Branch: master Commit: 075e84bd90bc5dae9cb050d110281ce8ea1b7256 URL: http://source.winehq.org/git/wine.git/?a=commit;h=075e84bd90bc5dae9cb050d110... Author: James Hawkins <truiken(a)gmail.com> Date: Mon Nov 19 12:51:34 2007 -0600 msi: Check the cabinet's full path for existence, not just the cabinet name. --- dlls/msi/files.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index 94510c5..c50e420 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -639,9 +639,9 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m if (file->IsCompressed && mi->cabinet && mi->cabinet[0] != '#' && - GetFileAttributesW(mi->cabinet) == INVALID_FILE_ATTRIBUTES) + GetFileAttributesW(mi->source) == INVALID_FILE_ATTRIBUTES) { - ERR("Cabinet not found: %s\n", debugstr_w(mi->cabinet)); + ERR("Cabinet not found: %s\n", debugstr_w(mi->source)); return ERROR_INSTALL_FAILURE; }