Skip to content

Commit

Permalink
Updated Setup
Browse files Browse the repository at this point in the history
Updated the .NET check to version 8.0.x
  • Loading branch information
Leo-Peyronnet committed Apr 14, 2024
1 parent f946698 commit 455a473
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions InternetTest.Setup/Setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ Name: "chinesesimplified"; MessagesFile: "Languages\ChineseSimplified.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "..\InternetTest\InternetTest\bin\Release\net6.0-windows\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\InternetTest\Xalyus Updater\bin\Release\net6.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\InternetTest\InternetTest\bin\Release\net6.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\InternetTest\InternetTest\bin\Release\net8.0-windows\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\InternetTest\Xalyus Updater\bin\Release\net8.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\InternetTest\InternetTest\bin\Release\net8.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Expand Down Expand Up @@ -115,13 +115,13 @@ end;
function IsDotNetCore60RuntimeInstalled(): Boolean;
begin
Result := IsDotNetInstalled('Microsoft.WindowsDesktop.App 6.0.');
Result := IsDotNetInstalled('Microsoft.WindowsDesktop.App 8.0.');
end;
function InitializeSetup(): Boolean;
begin
if not IsDotNetCore60RuntimeInstalled() then begin
MsgBox('The required .NET Core 6.0 Windows Desktop Runtime is not installed on your system. Please install it and try again.', mbError, MB_OK);
MsgBox('The required .NET Core 8.0 Windows Desktop Runtime is not installed on your system. Please install it and try again.', mbError, MB_OK);
Result := False;
Exit;
end;
Expand Down

0 comments on commit 455a473

Please sign in to comment.