Hans Leidekker : msi: Don't initialize COM for custom action threads.

Alexandre Julliard julliard at winehq.org
Tue Mar 24 09:02:00 CDT 2009


Module: wine
Branch: master
Commit: b8965ee7c90a687af4c84ad0ede73b1df901e16c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b8965ee7c90a687af4c84ad0ede73b1df901e16c

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Mar 24 10:26:24 2009 +0100

msi: Don't initialize COM for custom action threads.

---

 dlls/msi/custom.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index ffac63f..fa8f951 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -695,8 +695,6 @@ static DWORD ACTION_CallDllFunction( const GUID *guid )
             TRACE("calling %s\n", debugstr_w( function ) );
             handle_msi_break( function );
 
-            CoInitializeEx(NULL, COINIT_MULTITHREADED);
-
             __TRY
             {
                 r = fn( hPackage );
@@ -709,8 +707,6 @@ static DWORD ACTION_CallDllFunction( const GUID *guid )
             }
             __ENDTRY;
 
-            CoUninitialize();
-
             MsiCloseHandle( hPackage );
         }
         else




More information about the wine-cvs mailing list