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

This commit is contained in:
Hans Leidekker 2009-03-24 10:26:24 +01:00 committed by Alexandre Julliard
parent c844582177
commit b8965ee7c9

View File

@ -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