[LIVECD] - Add registration to LiveCD. Fixes #6597, #6613 and probably some more

svn path=/trunk/; revision=54522
This commit is contained in:
Rafal Harabien
2011-11-28 09:53:01 +00:00
parent fb2da4e672
commit 5ea66e831b
+18
View File
@@ -721,6 +721,24 @@ InstallLiveCD(IN HINSTANCE hInstance)
if (!CommonInstall())
goto error;
/* Register components */
_SEH2_TRY
{
if (!SetupInstallFromInfSectionW(NULL,
hSysSetupInf, L"RegistrationPhase2",
SPINST_ALL,
0, NULL, 0, NULL, NULL, NULL, NULL))
{
DPRINT1("SetupInstallFromInfSectionW failed!\n");
}
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
DPRINT1("Catching exception\n");
}
_SEH2_END;
SetupCloseInfFile(hSysSetupInf);
/* Run the shell */