Commit b8965ee7 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

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

parent c8445821
...@@ -695,8 +695,6 @@ static DWORD ACTION_CallDllFunction( const GUID *guid ) ...@@ -695,8 +695,6 @@ static DWORD ACTION_CallDllFunction( const GUID *guid )
TRACE("calling %s\n", debugstr_w( function ) ); TRACE("calling %s\n", debugstr_w( function ) );
handle_msi_break( function ); handle_msi_break( function );
CoInitializeEx(NULL, COINIT_MULTITHREADED);
__TRY __TRY
{ {
r = fn( hPackage ); r = fn( hPackage );
...@@ -709,8 +707,6 @@ static DWORD ACTION_CallDllFunction( const GUID *guid ) ...@@ -709,8 +707,6 @@ static DWORD ACTION_CallDllFunction( const GUID *guid )
} }
__ENDTRY; __ENDTRY;
CoUninitialize();
MsiCloseHandle( hPackage ); MsiCloseHandle( hPackage );
} }
else else
......
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