msi: Don't initialize COM for custom action threads.
This commit is contained in:
parent
c844582177
commit
b8965ee7c9
@ -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 )
|
|||||||
}
|
}
|
||||||
__ENDTRY;
|
__ENDTRY;
|
||||||
|
|
||||||
CoUninitialize();
|
|
||||||
|
|
||||||
MsiCloseHandle( hPackage );
|
MsiCloseHandle( hPackage );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user