How to use mirror download link with Inetc::get if the first link fail?
Hi,
Please take a look at this script:
Section "Dummy Section" SecDummy
SetDetailsView hide
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"
SectionEnd
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.
Thank you!