Commit 395479f0 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Avoid loading cabinet streams more than once.

parent 0c43024a
......@@ -2114,6 +2114,8 @@ static UINT load_all_media( MSIPACKAGE *package )
MSIQUERY *view;
UINT r;
if (!list_empty( &package->cabinet_streams )) return ERROR_SUCCESS;
r = MSI_DatabaseOpenViewW( package->db, query, &view );
if (r != ERROR_SUCCESS) return ERROR_SUCCESS;
......
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