mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user