How to use mirror download link with Inetc::get if the first link fail?
Please take a look at this script:
Section "Dummy Section" SecDummy
inetc::get "http://mydomain1.com/setup.exe" "$PLUGINSDIR\setup.exe" /end
Pop $1 # return value = exit code, "OK" means OK
MessageBox MB_OK "Download Status: $0"
and please let me know how I can update it to use a secondary (mirror) link "http://mydomain2.com/setup.exe" as an alternative file download in case that the first one is unavailable?
Same time I will preffer an popup message (with personalizable text message) to be displayed only in the case when both links are not available.
Last edited by realpuff; 28th June 2009 at 17:18.