Click here to Skip to main content
15,506,025 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to create an installer which checks for the installation of SQL Server 2019 Express Edition, Direct X, VC 2022 and Dotnet FX.

With help from this link I was able to include the download pages in the setup.

My problem is how to check if the installations exist on the client's machine and skip the download if it truly does.

PS: I am very new to Inno Setup

What I have tried:

function InitializeSetup: Boolean;
begin
  // add the dependencies you need 
	Dependency_AddDotNet60Desktop;
	
  Dependency_AddVC2015To2022;
	
	Dependency_AddSql2019Express;
	
  Dependency_AddDirectX;
  // ...

  Result := True;
end;
Posted
Updated 7-Sep-22 11:09am
v2
Comments
Gerry Schmitz 15-Aug-22 9:39am    
https://www.codeproject.com/Articles/20868/Inno-Setup-Dependency-Installer

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900