mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:23:03 +00:00
Initialize profiles.
svn path=/trunk/; revision=7530
This commit is contained in:
parent
0a3b04610c
commit
14eeda1399
1 changed files with 30 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: install.c,v 1.3 2003/09/08 09:56:57 weiden Exp $
|
/* $Id: install.c,v 1.4 2004/01/09 20:05:04 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -31,11 +31,19 @@
|
||||||
|
|
||||||
#include <syssetup.h>
|
#include <syssetup.h>
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
VOID Wizard (VOID);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* userenv.dll */
|
||||||
|
BOOL WINAPI InitializeProfiles (VOID);
|
||||||
|
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
DWORD STDCALL
|
DWORD STDCALL
|
||||||
InstallReactOS (HINSTANCE hInstance)
|
InstallReactOS (HINSTANCE hInstance)
|
||||||
{
|
{
|
||||||
|
# if 0
|
||||||
OutputDebugStringA ("InstallReactOS() called\n");
|
OutputDebugStringA ("InstallReactOS() called\n");
|
||||||
|
|
||||||
if (!InitializeSetupActionLog (FALSE))
|
if (!InitializeSetupActionLog (FALSE))
|
||||||
|
@ -53,6 +61,27 @@ InstallReactOS (HINSTANCE hInstance)
|
||||||
L"ReactOS Setup finished");
|
L"ReactOS Setup finished");
|
||||||
|
|
||||||
TerminateSetupActionLog ();
|
TerminateSetupActionLog ();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
if (InitializeProfiles())
|
||||||
|
{
|
||||||
|
MessageBoxA (NULL,
|
||||||
|
"Profiles initialized!\nRebooting now!",
|
||||||
|
"ReactOS Setup",
|
||||||
|
MB_OK);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBoxA (NULL,
|
||||||
|
"Profile initialization failed!\nRebooting now!",
|
||||||
|
"ReactOS Setup",
|
||||||
|
MB_OK);
|
||||||
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
Wizard ();
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue