Author: rharabien Date: Tue Dec 20 18:55:09 2011 New Revision: 54712
URL: http://svn.reactos.org/svn/reactos?rev=54712&view=rev Log: [SYSSETUP] - Create shortcuts after shell32 registration. Fixes shortcuts not being created during installation.
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.... ============================================================================== --- trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] Tue Dec 20 18:55:09 2011 @@ -893,12 +893,6 @@ return 0; }
- if (!CreateShortcuts()) - { - FatalError("InitializeProfiles() failed"); - return 0; - } - /* Initialize the Security Account Manager (SAM) */ if (!SamInitializeSAM()) { @@ -982,6 +976,12 @@
RtlFreeSid(AdminSid); RtlFreeSid(DomainSid); + + if (!CreateShortcuts()) + { + FatalError("CreateShortcuts() failed"); + return 0; + }
/* ROS HACK, as long as NtUnloadKey is not implemented */ { @@ -1020,7 +1020,7 @@ TerminateSetupActionLog();
/* Get shutdown privilege */ - if (! OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &token)) + if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &token)) { FatalError("OpenProcessToken() failed!"); return 0;