diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index ffac63f2bbb..fa8f9517acf 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