diff --git a/src/winetricks b/src/winetricks index 7ac28e448..b9a0711ed 100755 --- a/src/winetricks +++ b/src/winetricks @@ -9241,6 +9241,9 @@ load_dotnet45() w_override_dlls native mscoree + # Avoid a popup on WINEPREFIX updates, see https://bugs.winehq.org/show_bug.cgi?id=41727#c5 + "$WINE" reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v OnlyUseLatestCLR /t REG_DWORD /d 0001 /f + w_warn "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail" w_set_winver win2k3 }