Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions CodeDependencies.iss
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,42 @@ begin
end;
end;

procedure Dependency_AddDotNet100;
begin
// https://dotnet.microsoft.com/download/dotnet/10.0
if not Dependency_IsNetCoreInstalled('Microsoft.NETCore.App', 10, 0, 0) then begin
Dependency_Add('dotnet100' + Dependency_ArchSuffix + '.exe',
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
'.NET Runtime 10.0.0' + Dependency_ArchTitle,
Dependency_String('https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.0/dotnet-runtime-10.0.0-win-x86.exe', 'https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.0/dotnet-runtime-10.0.0-win-x64.exe'),
'', False, False);
end;
end;

procedure Dependency_AddDotNet100Asp;
begin
// https://dotnet.microsoft.com/download/dotnet/10.0
if not Dependency_IsNetCoreInstalled('Microsoft.AspNetCore.App', 10, 0, 0) then begin
Dependency_Add('dotnet100asp' + Dependency_ArchSuffix + '.exe',
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
'ASP.NET Core Runtime 10.0.0' + Dependency_ArchTitle,
Dependency_String('https://builds.dotnet.microsoft.com/dotnet/aspnetcore/Runtime/10.0.0/aspnetcore-runtime-10.0.0-win-x86.exe', 'https://builds.dotnet.microsoft.com/dotnet/aspnetcore/Runtime/10.0.0/aspnetcore-runtime-10.0.0-win-x64.exe'),
'', False, False);
end;
end;

procedure Dependency_AddDotNet100Desktop;
begin
// https://dotnet.microsoft.com/download/dotnet/10.0
if not Dependency_IsNetCoreInstalled('Microsoft.WindowsDesktop.App', 10, 0, 0) then begin
Dependency_Add('dotnet100desktop' + Dependency_ArchSuffix + '.exe',
'/lcid ' + IntToStr(GetUILanguage) + ' /passive /norestart',
'.NET Desktop Runtime 10.0.0' + Dependency_ArchTitle,
Dependency_String('https://builds.dotnet.microsoft.com/dotnet/WindowsDesktop/10.0.0/windowsdesktop-runtime-10.0.0-win-x86.exe', 'https://builds.dotnet.microsoft.com/dotnet/WindowsDesktop/10.0.0/windowsdesktop-runtime-10.0.0-win-x64.exe'),
'', False, False);
end;
end;

procedure Dependency_AddVC2005;
begin
// https://www.microsoft.com/en-us/download/details.aspx?id=26347
Expand Down
3 changes: 3 additions & 0 deletions ExampleSetup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ begin
Dependency_AddDotNet90;
Dependency_AddDotNet90Asp;
Dependency_AddDotNet90Desktop;
Dependency_AddDotNet100;
Dependency_AddDotNet100Asp;
Dependency_AddDotNet100Desktop;

Dependency_AddVC2005;
Dependency_AddVC2008;
Expand Down