mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
inno: updated to install .net 8.0.1 runtime.
This commit is contained in:
@@ -310,7 +310,7 @@ var
|
|||||||
ResultCode: Integer;
|
ResultCode: Integer;
|
||||||
begin
|
begin
|
||||||
Result := false;
|
Result := false;
|
||||||
Exec('cmd.exe', '/c dotnet --list-runtimes | find /n "Microsoft.AspNetCore.App 7.0.13"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
|
Exec('cmd.exe', '/c dotnet --list-runtimes | find /n "Microsoft.AspNetCore.App 8.0.1"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
|
||||||
if ResultCode = 0 then
|
if ResultCode = 0 then
|
||||||
begin
|
begin
|
||||||
Result := true;
|
Result := true;
|
||||||
@@ -322,7 +322,7 @@ var
|
|||||||
ResultCode: Integer;
|
ResultCode: Integer;
|
||||||
begin
|
begin
|
||||||
Result := false;
|
Result := false;
|
||||||
Exec('cmd.exe', '/c dotnet --list-runtimes | find /n "Microsoft.WindowsDesktop.App 7.0.13"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
|
Exec('cmd.exe', '/c dotnet --list-runtimes | find /n "Microsoft.WindowsDesktop.App 8.0.1"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
|
||||||
if ResultCode = 0 then
|
if ResultCode = 0 then
|
||||||
begin
|
begin
|
||||||
Result := true;
|
Result := true;
|
||||||
@@ -334,19 +334,19 @@ procedure CheckDotnetDependency;
|
|||||||
begin
|
begin
|
||||||
if not IsAspDotNetInstalled then
|
if not IsAspDotNetInstalled then
|
||||||
begin
|
begin
|
||||||
AddDependency('aspdotnet70' + GetArchitectureSuffix + '.exe',
|
AddDependency('aspdotnet80' + GetArchitectureSuffix + '.exe',
|
||||||
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
|
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
|
||||||
'ASP.NET Core Runtime 7.0.13' + GetArchitectureTitle,
|
'ASP.NET Core Runtime 8.0.1' + GetArchitectureTitle,
|
||||||
GetString('https://download.visualstudio.microsoft.com/download/pr/6db4150d-11f3-4c21-b2c6-c81d5e6243db/3707dcce96dae59516a7679953df1ace/aspnetcore-runtime-7.0.13-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/2047544d-b948-480e-a4ce-2d5276d906dc/010c6e5c6b822dc2121c1d23f0820cf6/aspnetcore-runtime-7.0.13-win-x64.exe'),
|
GetString('https://download.visualstudio.microsoft.com/download/pr/054695b5-a7fd-43e9-8e7f-c8422e9766c4/78ff5d8a3ea0f03af996456dd260351e/aspnetcore-runtime-8.0.1-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/4b805b84-302c-42e3-b57e-665d0bb7b1f0/3a0965017f98303c7fe1ab1291728e07/aspnetcore-runtime-8.0.1-win-x64.exe'),
|
||||||
'', False, False, False);
|
'', False, False, False);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if not IsDotNetDesktopInstalled then
|
if not IsDotNetDesktopInstalled then
|
||||||
begin
|
begin
|
||||||
AddDependency('dotnet70desktop' + GetArchitectureSuffix + '.exe',
|
AddDependency('dotnet80desktop' + GetArchitectureSuffix + '.exe',
|
||||||
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
|
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
|
||||||
'.NET Desktop Runtime 7.0.13' + GetArchitectureTitle,
|
'.NET Desktop Runtime 8.0.1' + GetArchitectureTitle,
|
||||||
GetString('https://download.visualstudio.microsoft.com/download/pr/84986c79-dd13-4bbc-abef-294638d5864a/75d29754580986fef26b5d64ec880075/windowsdesktop-runtime-7.0.13-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/515cc796-e9f2-4b5c-be7f-b42f115a65a7/b0b146fcbf1d1c135807ff24b3d88093/windowsdesktop-runtime-7.0.13-win-x64.exe'),
|
GetString('https://download.visualstudio.microsoft.com/download/pr/ca725693-6de7-4a4d-b8a4-4390b0387c66/ce13f2f016152d9b5f2d3c6537cc415b/windowsdesktop-runtime-8.0.1-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/f18288f6-1732-415b-b577-7fb46510479a/a98239f751a7aed31bc4aa12f348a9bf/windowsdesktop-runtime-8.0.1-win-x64.exe'),
|
||||||
'', False, False, False);
|
'', False, False, False);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Reference in New Issue
Block a user