This is the code used to download any prerequisites during the installation,
#include <idp.iss>
[Code]
function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
begin
idpAddFileSize('<url>', ExpandConstant('{commonappdata}\<my file name>'), <my file size>);
idpDownloadAfter(wpReady);
end;
However, if there is no internet connection it disables the Next button from continuing the installation. Here is the dialog,
The installation needs to continue even if any download fails. How to fix this?

IDP has
AllowContinueoption that allows continuing even on errors:Note that Inno Setup 6.1 has a native support for downloads. You may want to consider using it instead of IDP. See Inno Setup: Install file from Internet.
Also, I believe that
UpdateReadyMemocan be called multiple times (when the user returns from the "Ready" page). So youridpAddFileSizecan also add the file to download queue multiple times.