diff --git a/reactos/subsys/system/setup/setup.c b/reactos/subsys/system/setup/setup.c index 50eb5676002..655058430e9 100644 --- a/reactos/subsys/system/setup/setup.c +++ b/reactos/subsys/system/setup/setup.c @@ -57,17 +57,6 @@ LPTSTR lstrchr(LPCTSTR s, TCHAR c) return (LPTSTR)NULL; } - -static VOID -SetupIsActive( DWORD dw ) -{ - HKEY hKey = 0; - if (RegOpenKeyEx( HKEY_LOCAL_MACHINE, _T("SYSTEM\\Setup"), 0, KEY_WRITE, &hKey ) == ERROR_SUCCESS) { - RegSetValueEx( hKey, _T("SystemSetupInProgress"), 0, REG_DWORD, (CONST BYTE *)&dw, sizeof(dw) ); - RegCloseKey( hKey ); - } -} - static VOID RunNewSetup (HINSTANCE hInstance) { @@ -85,8 +74,6 @@ RunNewSetup (HINSTANCE hInstance) } DPRINT("Loaded 'syssetup'!\n"); - - SetupIsActive(1); InstallReactOS = (PINSTALL_REACTOS)GetProcAddress (hDll, "InstallReactOS"); if (InstallReactOS == NULL)