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

This commit is contained in:
Mike McCormack 2006-11-22 17:04:54 +09:00 committed by Alexandre Julliard
parent 2a95a8ae78
commit b1a16d978d

View file

@ -398,7 +398,7 @@ static UINT process_handle(MSIPACKAGE* package, UINT type,
{ {
TRACE("Asynchronous Execution of action %s\n",debugstr_w(Name)); TRACE("Asynchronous Execution of action %s\n",debugstr_w(Name));
/* asynchronous */ /* asynchronous */
if (type & msidbCustomActionTypeContinue) if (!(type & msidbCustomActionTypeContinue))
{ {
if (ProcessHandle) if (ProcessHandle)
{ {
@ -406,7 +406,7 @@ static UINT process_handle(MSIPACKAGE* package, UINT type,
CloseHandle(ThreadHandle); CloseHandle(ThreadHandle);
} }
else else
file_running_action(package, ThreadHandle, FALSE, Name); file_running_action(package, ThreadHandle, FALSE, Name);
} }
else else
{ {