msi: wake dialog on messages from external threads

Thomas Kho tkho at ucla.edu
Mon Jul 31 20:17:03 CDT 2006


msi: wake dialog on messages from external threads

Fixes bug 5806 (http://bugs.winehq.org/show_bug.cgi?id=5806) where an AutoIt3
script hangs during scripted JDK 1.5 install.

Thomas Kho

Index: dlls/msi/dialog.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/dialog.c,v
retrieving revision 1.85
diff -u -r1.85 dialog.c
--- dlls/msi/dialog.c	21 Jul 2006 18:49:57 -0000	1.85
+++ dlls/msi/dialog.c	1 Aug 2006 01:05:50 -0000
@@ -2598,7 +2598,7 @@
     {
         while( !dialog->finished )
         {
-            MsgWaitForMultipleObjects( 0, NULL, 0, INFINITE, QS_ALLEVENTS );
+            MsgWaitForMultipleObjects( 0, NULL, 0, INFINITE, QS_ALLINPUT );
             msi_process_pending_messages( dialog->hwnd );
         }
     }



More information about the wine-patches mailing list