From 17846e97d081f57bf33ac2041bd7265b0283d77b Mon Sep 17 00:00:00 2001 From: Doug Lyons Date: Fri, 8 May 2026 13:49:17 -0500 Subject: [PATCH] [SYSSETUP] Fix wine gecko install in second stage setup (#8885) CORE-20422 Restore the ability to download ReactOS's Wine Gecko during the Second Stage Installer. Reverts a part of commit https://github.com/reactos/reactos/commit/6b9122b. It reverts all of the changes there to "win32/syssetup/install.c". --- dll/win32/syssetup/install.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dll/win32/syssetup/install.c b/dll/win32/syssetup/install.c index 875c6ca75f2..84906c6a8d6 100644 --- a/dll/win32/syssetup/install.c +++ b/dll/win32/syssetup/install.c @@ -1569,6 +1569,7 @@ InstallReactOS(VOID) TOKEN_PRIVILEGES privs; HKEY hKey; HANDLE hHotkeyThread; + BOOL ret; InitializeSetupActionLog(FALSE); LogItem(NULL, L"Installing ReactOS"); @@ -1638,6 +1639,20 @@ InstallReactOS(VOID) if (!CommonInstall()) return 0; + /* Install the TCP/IP protocol driver */ + ret = InstallNetworkComponent(L"MS_TCPIP"); + if (!ret && GetLastError() != ERROR_FILE_NOT_FOUND) + { + DPRINT("InstallNetworkComponent() failed with error 0x%lx\n", GetLastError()); + } + else + { + /* Start the TCP/IP protocol driver */ + SetupStartService(L"Tcpip", FALSE); + SetupStartService(L"Dhcp", FALSE); + SetupStartService(L"Dnscache", FALSE); + } + InstallWizard(); SetAutoAdminLogon();