Prev Previous Post   Next Post Next
Old 27th November 2014, 14:33   #11
joaosaleiro
Junior Member
 
Join Date: Nov 2014
Posts: 6
inetc failing and showing it's parameters in the stack

Hello,

I'm having a very weird problem with inetc::get that looks like a bug.
A very specific subset of our users are complaining that our installer doesn't work.

What's happening is that inetc::get is failing and it shows in the stack one of it's parameters.
For example, see the code below:

inetc::get /nocancel /translate "Downloading %s" "Connecting ..." second minute hour s "Checking version..." "" /caption " " "http://www.myserver.com/version.xml" "${UPDATES_DIR}\version.xml" /end
Pop $1

inetc::get /translate "Downloading %s" "Connecting ..." second minute hour s "Checking version..." "" /caption " " "http://www.myserver.com/version.xml" "$TEMP\version.xml" /end
Pop $2

inetc::get /noproxy /translate "Downloading %s" "Connecting ..." second minute hour s "Checking version..." "" /caption " " "http://www.myserver.com/version.xml" "${UPDATES_DIR}\version.xml" /end
Pop $3

inetc::get /noproxy /translate "Downloading %s" "Connecting ..." second minute hour s "Checking version..." "" /caption " " "https://www.myserver.com/version.xml" "${UPDATES_DIR}\version.xml" /end
Pop $4

inetc::get "https://www.myserver.com/version.xml" "${UPDATES_DIR}\version.xml" /end
Pop $5

MessageBox MB_OK "normal: $1 --> temp: $2 --> noproxy: $3 --> https: $4 --> noparams: $5 "


The result for this code is:

normal: /nocancel --> temp: /translate --> noproxy: /noproxy --> https: /noproxy --> noparams: https://www.myserver.com/version.xml

So, no matter the call, the error is always the first parameter used.
This doesn't happen with all users, and I haven't figured out what's so specific for those that get the error.

Can you please enlighten me? Is this a bug, or am I missing something?

Thanks!

JS
joaosaleiro is offline   Reply With Quote
 
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