inno: updated dotnet version

This commit is contained in:
Shreyas Zare
2022-09-24 12:09:16 +05:30
parent d5d7b2f432
commit 2ba4d5b3f5

View File

@@ -310,7 +310,7 @@ var
ResultCode: Integer;
begin
Result := false;
Exec('cmd.exe', '/c dotnet --list-runtimes | find /n "Microsoft.WindowsDesktop.App 6.0.6"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
Exec('cmd.exe', '/c dotnet --list-runtimes | find /n "Microsoft.WindowsDesktop.App 6.0.9"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
if ResultCode = 0 then
begin
Result := true;
@@ -324,8 +324,8 @@ begin
begin
AddDependency('dotnet60desktop' + GetArchitectureSuffix + '.exe',
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
'.NET Desktop Runtime 6.0.6' + GetArchitectureTitle,
GetString('https://download.visualstudio.microsoft.com/download/pr/cc04076c-d188-4c20-9b4f-89be06f1a39c/32da746ef46fbeedb4f609b67cb451c3/windowsdesktop-runtime-6.0.6-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/9d6b6b34-44b5-4cf4-b924-79a00deb9795/2f17c30bdf42b6a8950a8552438cf8c1/windowsdesktop-runtime-6.0.6-win-x64.exe'),
'.NET Desktop Runtime 6.0.9' + GetArchitectureTitle,
GetString('https://download.visualstudio.microsoft.com/download/pr/925f9407-2767-4341-857a-43cdfad71e17/0b84db913bdbb1dcf02db937a3cd3f63/windowsdesktop-runtime-6.0.9-win-x86.exe', 'https://download.visualstudio.microsoft.com/download/pr/fe8415d4-8a35-4af9-80a5-51306a96282d/05f9b2a1b4884238e69468e49b3a5453/windowsdesktop-runtime-6.0.9-win-x64.exe'),
'', False, False, False);
end;
end;