Commit 78eead93 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent 05a9678d
...@@ -637,7 +637,8 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m ...@@ -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) GetFileAttributesW(mi->cabinet) == INVALID_FILE_ATTRIBUTES)
{ {
ERR("Cabinet not found: %s\n", debugstr_w(mi->cabinet)); ERR("Cabinet not found: %s\n", debugstr_w(mi->cabinet));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment