From: Michael Müller <michael(a)fds-team.de> --- programs/wineboot/wineboot.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c index 1bce8bab33a..c90c3e1d41c 100644 --- a/programs/wineboot/wineboot.c +++ b/programs/wineboot/wineboot.c @@ -78,6 +78,7 @@ #include <shlwapi.h> #include <shellapi.h> #include <setupapi.h> +#include <wininet.h> #include <newdev.h> #include "resource.h" @@ -1219,6 +1220,13 @@ static void create_known_dlls(void) } +static void create_proxy_settings(void) +{ + HINTERNET inet; + inet = InternetOpenA( "Wine", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 ); + if (inet) InternetCloseHandle( inet ); +} + /* Performs the rename operations dictated in %SystemRoot%\Wininit.ini. * Returns FALSE if there was an error, or otherwise if all is ok. */ @@ -2059,6 +2067,7 @@ int __cdecl main( int argc, char *argv[] ) create_volatile_environment_registry_key(); create_known_dlls(); + create_proxy_settings(); ProcessRunKeys( HKEY_LOCAL_MACHINE, L"RunOnce", TRUE, TRUE ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7707