Mike McCormack : msi: Only wait for custom actions that don' t have msidbCustomActionTypeContinue specified.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 22 05:21:17 CST 2006


Module: wine
Branch: master
Commit: b1a16d978d8187433670558de60e4ad4aa871e46
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b1a16d978d8187433670558de60e4ad4aa871e46

Author: Mike McCormack <mike at codeweavers.com>
Date:   Wed Nov 22 17:04:54 2006 +0900

msi: Only wait for custom actions that don't have msidbCustomActionTypeContinue specified.

---

 dlls/msi/custom.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 2d8aced..a5751cc 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -398,7 +398,7 @@ static UINT process_handle(MSIPACKAGE* p
     {
         TRACE("Asynchronous Execution of action %s\n",debugstr_w(Name));
         /* asynchronous */
-        if (type & msidbCustomActionTypeContinue)
+        if (!(type & msidbCustomActionTypeContinue))
         {
             if (ProcessHandle)
             {
@@ -406,7 +406,7 @@ static UINT process_handle(MSIPACKAGE* p
                 CloseHandle(ThreadHandle);
             }
             else
-            file_running_action(package, ThreadHandle, FALSE, Name);
+                file_running_action(package, ThreadHandle, FALSE, Name);
         }
         else
         {




More information about the wine-cvs mailing list