Skip to content

Commit

Permalink
Update installer check to net 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexejhero committed Aug 5, 2020
1 parent 212338e commit 3db378e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Installer/QModsInstallerScript.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3db378e

Please sign in to comment.
  翻译: