From 3db378e4adef42924ee7066f9191d893d024c6d2 Mon Sep 17 00:00:00 2001 From: AlexejheroYTB Date: Wed, 5 Aug 2020 16:33:00 +0300 Subject: [PATCH] Update installer check to net 4 --- Installer/QModsInstallerScript.iss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Installer/QModsInstallerScript.iss b/Installer/QModsInstallerScript.iss index 6ae67104..7453bac4 100644 --- a/Installer/QModsInstallerScript.iss +++ b/Installer/QModsInstallerScript.iss @@ -510,11 +510,11 @@ function InitializeSetup(): Boolean; var ErrCode: Integer; begin - if not IsDotNetDetected('v3.5', 0) then + if not IsDotNetDetected('v4\Full', 0) then begin - if MsgBox('QModManager requires Microsoft .NET Framework 3.5.' + #13#10 + 'Would you like to install it now?', mbCriticalError, MB_YESNO) = IDYES then + if MsgBox('QModManager requires Microsoft .NET Framework 4.0' + #13#10 + 'Would you like to install it now?', mbCriticalError, MB_YESNO) = IDYES then begin - if not ShellExec('open', 'https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10', '', '', SW_SHOW, ewNoWait, ErrCode) then + if not ShellExec('open', 'https://dotnet.microsoft.com/download/dotnet-framework/net40', '', '', SW_SHOW, ewNoWait, ErrCode) then begin SysErrorMessage(ErrCode); end