DPRINT("PNP_ReportLogOn(%u, %u) called\n", Admin, ProcessId);
+ if (hInstallEvent != NULL)
+ SetEvent(hInstallEvent);
+
/* Get the users token */
hProcess = OpenProcess(PROCESS_ALL_ACCESS,
TRUE,
}
/* Trigger the installer thread */
- if (hInstallEvent != NULL)
- SetEvent(hInstallEvent);
+ /*if (hInstallEvent != NULL)
+ SetEvent(hInstallEvent);*/
return CR_SUCCESS;
}
UNREFERENCED_PARAMETER(lpParameter);
+ WaitForSingleObject(hInstallEvent, INFINITE);
+
showWizard = !SetupIsActive() && !IsConsoleBoot();
while (TRUE)