http://bugs.winehq.org/show_bug.cgi?id=18070
--- Comment #7 from Anastasius Focht focht@gmx.net 2009-05-05 13:16:39 --- Hello,
although Hans implemented reuse of existing MTA part now (commit bd4975acb0b682bbf2b4934d12f942ea629f5bbb) which fixes my bug 17902 *g* this still might not be enough for Adobe and possibly other installers.
Wine needs to ensure there _is_ an MTA present for CA's If the app installer only consists of single threaded apartments or the installer didn't initialize COM at all, custom actions will still fail. An indication might be messages like that:
--- snip --- err:ole:CoCreateInstance apartment not initialised ... err:msi:ITERATE_Actions Execution halted, action "foo" returned "bar" --- snip ---
Maybe you can take up my suggestion about creating an msi (internal) thread solely for the purpose of ensuring MTA present which CA's can reuse. Don't use the app/installer own threads to initialize the COM MTA, it would backfire when the app later decides to initialize COM with a different model (STA).
Regards