I have been attempting to make an installer for an application where the required files are on a server. I am using Inno Setup with InnoTools Downloader. After executing the setup I'm getting the following error:
Sorry, the files could not be downloaded, Click 'Retry' or try downloading the files again, or click 'Next' to continue installing anyway.
The script was working fine but all of a sudden its throwing me this error, I don't know what am I doing wrong. I have attached the picture and code below.
procedure InitializeWizard();
var
i: Integer;
begin
CreateTheWizardPages;
for i := 1 to 10 do
begin
if down_URLs[i].url <> '' then
itd_addfile(down_URLs[i].url, ExpandConstant('{tmp}\'+down_URLs[i].target_exe));
end;
itd_downloadafter(wpReady);
end;
Any help either resolving this issue or pointing me to a solution would be appreciated.
Thank you