diff --git a/dll/win32/syssetup/wizard.c b/dll/win32/syssetup/wizard.c index efddcfd6b1d..77db90686f2 100644 --- a/dll/win32/syssetup/wizard.c +++ b/dll/win32/syssetup/wizard.c @@ -2170,6 +2170,12 @@ RegistrationProc(LPVOID Parameter) RegistrationNotify.Progress = RegistrationData->DllCount; RegistrationNotify.ActivityID = IDS_REGISTERING_COMPONENTS; RegistrationNotify.CurrentItem = NULL; + + RegisterTypeLibraries(hSysSetupInf, L"TypeLibraries"); + + // FIXME: Move this call to a separate cleanup page! + RtlCreateBootStatusDataFile(); + SendMessage(RegistrationData->hwndDlg, PM_REGISTRATION_NOTIFY, 1, (LPARAM) &RegistrationNotify); if (NULL != RegistrationNotify.ErrorMessage && @@ -2181,11 +2187,6 @@ RegistrationProc(LPVOID Parameter) SetupTermDefaultQueueCallback(RegistrationData->DefaultContext); HeapFree(GetProcessHeap(), 0, RegistrationData); - RegisterTypeLibraries(hSysSetupInf, L"TypeLibraries"); - - // FIXME: Move this call to a separate cleanup page! - RtlCreateBootStatusDataFile(); - return 0; }