msi: Don't check for a cabinet's existence if it's embedded in the package.

This commit is contained in:
James Hawkins 2007-11-16 17:29:18 -06:00 committed by Alexandre Julliard
parent 05a9678d20
commit 78eead93fd
1 changed files with 2 additions and 1 deletions

View File

@ -637,7 +637,8 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m
}
}
if (file->IsCompressed && mi->cabinet &&
if (file->IsCompressed &&
mi->cabinet && mi->cabinet[0] != '#' &&
GetFileAttributesW(mi->cabinet) == INVALID_FILE_ATTRIBUTES)
{
ERR("Cabinet not found: %s\n", debugstr_w(mi->cabinet));