http://bugs.winehq.org/show_bug.cgi?id=19636
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net 2009-08-23 06:04:12 --- Hello,
the "CreateShortcuts" action (dlls/msi/action.c:ACTION_CreateShortcuts) unconditionally initializes STA which obviously fails because the installer thread (managed worker, not main thread) already runs in MTA.
The main installer is .NET based using C# wrapper for msi API. Managed installer worker threads that call msi interop seem to explicitly initialize their apartment (MTA). You need msi test case that checks if "CreateShortcuts" action explicitly initializes COM apartment and what type of apartment is requested.
Regards