[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".
This commit is contained in:
Doug Lyons
2026-05-08 13:49:17 -05:00
committed by GitHub
parent 2c377eba79
commit 17846e97d0

View File

@@ -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();