[Bug 18070] Adobe CS3/CS4 installers fail

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jul 1 16:11:33 CDT 2009


--- Comment #28 from Anastasius Focht <focht at gmx.net>  2009-07-01 16:11:33 ---

you need to put more love into it else nothing will happen and people will
suffer for a long time.
Sure, any solution that creates MTA helper thread within app process remains
sort of a hack until Wine Msi can roll its own custom action server.

As already said: avoid using DllMain for dedicated threads.
Ideal would be a place where one can control the startup and shutdown of MTA
helper thread within same function scope while avoiding/minimizing the need for
recreation it due to multiple custom actions.

Have a look at MSI_InstallPackage. All applicable custom actions are run from
within that entry.
MTA helper thread creation should be done before any
MTA helper thread shutdown should be done after ACTION_FinishCustomActions() to
ensure deferred/pending custom actions have ended.
Use event signalling not only for shutdown but also for startup to prevent
possible race condition between threads, ensuring CoInitializeEx() is called
from MTA helper thread before any custom action is run.


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list