[3/7] msi: Avoid loading cabinet streams more than once.
Hans Leidekker
hans at codeweavers.com
Fri May 6 07:39:42 CDT 2011
---
dlls/msi/action.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index c4d7717..227e661 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -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;
--
1.7.4.1
More information about the wine-patches
mailing list