|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 |
Senior Member
Join Date: Nov 2013
Location: Iran
Posts: 343
|
![]()
hi
i use from inetc plug-in for download and upload files... but i confront at least every half hour with the message: Your internet connection seems to be not permitted or dropped out! Please reconnect and click Retry to resume installation. the reason for encountering this message is unclear to me! do you know what is the problem? |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Not using /RESUME will decrease the likelihood of this dialog but it can still happen for ERROR_INTERNET_TIMEOUT errors.
This dialog is not displayed if you use /SILENT, the transfer will just fail instead if there are problems with your connection. You can try setting /CONNECTTIMEOUT (INTERNET_OPTION_CONNECT_TIMEOUT) and /RECEIVETIMEOUT (INTERNET_OPTION_RECEIVE_TIMEOUT) to higher values. IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Nov 2013
Location: Iran
Posts: 343
|
I tried but failed to solve the problem
i tested /CONNECTTIMEOUT and /RECEIVETIMEOUT but i think thats not work! HTML Code:
inetc::get /CONNECTTIMEOUT 60 /RECEIVETIMEOUT 60 /popup "Download" "http://download.microsoft.com/download/A/1/D/A1D07600-6915-4CB8-A931-9A980EF47BB7/NDP47-DevPack-KB3186612-ENU.exe" "$EXEDIR\NDP47-DevPack-KB3186612-ENU.exe" Pop $0 # return value = exit code, "OK" if OK MessageBox MB_OK "Download Status: $0" Although I Set 60 seconds to try again, application quickly Rejects this section! and show me message text.... |
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Pulling out the Ethernet cable etc. is not the same thing as a timeout, especially if you just disconnect at the first hop.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#5 |
Senior Member
Join Date: Nov 2013
Location: Iran
Posts: 343
|
very well
i test /CONNECTTIMEOUT 60 and /RECEIVETIMEOUT 60 but the problem not solve also i use from /SILENT but this parameter remove the download and upload status (speed,file size & ...) i want solve the problem without hide the inetc status (speed,file size & ...) how can do this? the parameters not work |
![]() |
![]() |
![]() |
#6 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
You could ask the author to add a infinite retry option.
To fix it yourself you would have to recompile with that call to MessageBox removed. IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|