I'm using IDP to download files from an HTTP server which has authentication enabled. I'm using the following functions for downloading the file
idpAddFile(URL, '{#DownloadedFile}');
idpSetLogin(UserName, Password);
idpDownloadAfter(wpInfoAfter);
Things are working fine as desired whenever the download is successful.
Now the problem is, if download fails because of some reason like a network issue or something, my installer is not allowing me to more forward. Instead it is just allowing me to retry the download.
I have even used idpDownloadFile but that didn't work.
What I need to do is, enable the Next button on the retry page and move the installation ahead even if the download fails. Struggling to figure this thing out.
Thanks a lot in advance.
I just want the user to re-enter the username and password if the download fails and then immediately try to download the files added by idpaddfile().
I'm currently using the InitializeWizard procedure to allow users to enter their credentials for authenticated download.
What I'm unable to figure out is, how to detect the download failure (since the idpDownloadAfter(wpInfoAfter) doesn't return a result code) and invoke the InitializeWizard page or something that allows the user to give the credentials again and retry download.
Because of this I've to manually start the Task Manager and kill the setup :-(