msi: Set concurrency model to multi-threaded for custom action threads.
commitba50d15060b612420b8849ac337404b3c4331f71
authorHans Leidekker <hans@codeweavers.com>
Fri, 13 Mar 2009 13:48:00 +0000 (13 14:48 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 13 Mar 2009 13:52:48 +0000 (13 14:52 +0100)
treef3b2d34f22a12811337786a88d90bdd0e997096e
parent3bc7bdab886033c4ff31809bb8741ecc5a6265d0
msi: Set concurrency model to multi-threaded for custom action threads.

A custom action in the office 2007 sp1 installer fails right after calling
CoInitializeEx(NULL, COINIT_MULTITHREADED). This is because our code calls
CoInitialize(NULL) first, which sets a different concurrency model, and a
subsequent call with a different model will return RPC_E_CHANGED_MODE.

Ergo, we should set the model to multi-threaded too.
dlls/msi/custom.c