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
1 changed files with 2 additions and 2 deletions

View File

@ -398,7 +398,7 @@ static UINT process_handle(MSIPACKAGE* package, UINT type,
{
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* package, UINT type,
CloseHandle(ThreadHandle);
}
else
file_running_action(package, ThreadHandle, FALSE, Name);
file_running_action(package, ThreadHandle, FALSE, Name);
}
else
{