Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 8th October 2019, 08:01   #1
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 337
Question inetc plug-in message: Your internet connection seems to be not permitted or dropped

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?
Attached Thumbnails
Click image for larger version

Name:	Your internet connection seems to be not permitted or dropped out!.jpg
Views:	64
Size:	15.0 KB
ID:	54493  
r2du-soft is offline   Reply With Quote
Old 8th October 2019, 17:40   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,165
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
Anders is offline   Reply With Quote
Old 9th October 2019, 08:22   #3
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 337
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"
when start the app and download started i disconnect the internet
Although I Set 60 seconds to try again, application quickly Rejects this section! and show me message text....
r2du-soft is offline   Reply With Quote
Old 9th October 2019, 10:50   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,165
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
Anders is offline   Reply With Quote
Old 9th October 2019, 16:23   #5
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 337
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
Attached Thumbnails
Click image for larger version

Name:	2019-10-09_19-50-04.jpg
Views:	44
Size:	20.3 KB
ID:	54494  
r2du-soft is offline   Reply With Quote
Old 9th October 2019, 19:04   #6
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,165
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
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump