I have an Inno setup script to produce a setup file for an application, the script tried to download 15 files from our website through the internet.
Once you run the setup for the first time, the setup fails due to some missing file [the setup shows that the file is downloaded], if you run the setup for the second time, it’s working perfectly without any problem.
I have tried to change the sequence of the downloaded files in the script; all of these versions have the same behavior for different files.
Why is this happening? and how I can get rid of the error of 1st time execution.