inno: updated dotnet to v7.0.8

This commit is contained in:
Shreyas Zare
2023-07-02 17:10:49 +05:30
parent 450aba1da1
commit ee96e44902

View File

@@ -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.5"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode); Exec('cmd.exe', '/c dotnet --list-runtimes | find /n "Microsoft.AspNetCore.App 7.0.8"', '', 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.5"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode); Exec('cmd.exe', '/c dotnet --list-runtimes | find /n "Microsoft.WindowsDesktop.App 7.0.8"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
if ResultCode = 0 then if ResultCode = 0 then
begin begin
Result := true; Result := true;
@@ -336,8 +336,8 @@ begin
begin begin
AddDependency('aspdotnet70' + GetArchitectureSuffix + '.exe', AddDependency('aspdotnet70' + GetArchitectureSuffix + '.exe',
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart', '/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
'ASP.NET Core Runtime 7.0.5' + GetArchitectureTitle, 'ASP.NET Core Runtime 7.0.8' + GetArchitectureTitle,
GetString('https://download.visualstudio.microsoft.com/download/pr/423272b5-615c-436b-a198-a10518b3e8a3/e7587e2c70e4db7f9c93d0e6dbbc21f5/aspnetcore-runtime-7.0.5-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/02d08d3a-c846-40a9-a75d-4dcfa12b2d8d/c9d48b7ce67ad4e1356d9f3630f51cf4/aspnetcore-runtime-7.0.5-win-x64.exe'), GetString('https://download.visualstudio.microsoft.com/download/pr/6ad5ebde-12f9-46c3-89a2-189834ce3ac5/e90560462225d598a7de058c818750bb/aspnetcore-runtime-7.0.8-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/ddfe312d-511a-4e1c-bca2-59046d1ec73f/823812d3a1421aa967748da9ac26b4e5/aspnetcore-runtime-7.0.8-win-x64.exe'),
'', False, False, False); '', False, False, False);
end; end;
@@ -345,8 +345,8 @@ begin
begin begin
AddDependency('dotnet70desktop' + GetArchitectureSuffix + '.exe', AddDependency('dotnet70desktop' + GetArchitectureSuffix + '.exe',
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart', '/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
'.NET Desktop Runtime 7.0.5' + GetArchitectureTitle, '.NET Desktop Runtime 7.0.8' + GetArchitectureTitle,
GetString('https://download.visualstudio.microsoft.com/download/pr/eb64dcd1-d277-4798-ada1-600805c9e2dc/fc73c843d66f3996e7ef22468f4902e6/windowsdesktop-runtime-7.0.5-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/dffb1939-cef1-4db3-a579-5475a3061cdd/578b208733c914c7b7357f6baa4ecfd6/windowsdesktop-runtime-7.0.5-win-x64.exe'), GetString('https://download.visualstudio.microsoft.com/download/pr/b59c30b1-05b8-46ef-9384-a94d58dc5016/8cb385cf8552abaa5876710c5c2f9492/windowsdesktop-runtime-7.0.8-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/53868e57-c621-476a-885b-dea78ac6edba/f1d5957ba91bde28370f0e782b3d6177/windowsdesktop-runtime-7.0.8-win-x64.exe'),
'', False, False, False); '', False, False, False);
end; end;
end; end;