Author: rharabien
Date: Mon Nov 28 09:53:01 2011
New Revision: 54522

URL: http://svn.reactos.org/svn/reactos?rev=54522&view=rev
Log:
[LIVECD] - Add registration to LiveCD. Fixes #6597, #6613 and probably some more

Modified:
    trunk/reactos/dll/win32/syssetup/install.c

Modified: trunk/reactos/dll/win32/syssetup/install.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/install.c?rev=54522&r1=54521&r2=54522&view=diff
==============================================================================
--- trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] Mon Nov 28 09:53:01 
2011
@@ -721,6 +721,24 @@
 
     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 */


Reply via email to