GoHa
29th January 2009 02:28 UTC
Unicode Nsisdl with proxy - problem
I am using unicode nsis.
Also I am using nsisdl.
Works fine - except for proxy.
I cannot make it work with proxy.
Using IE LAN settings or control panel / internet settins (the same), using simple proxy without authorization.
Cannot make it works.
If I specify proxy URL - then it says "Download failed: resolving hostname", If I specify the IP - "Download failed: connecting to host"
Any advise/help will be appreciated =(
GoHa
29th January 2009 04:15 UTC
It does works with /proxy www.doman.cop:80
but it won't or cannont read/recognize IS's proxy settings.
GoHa
29th January 2009 17:29 UTC
Looks like the issue is in the IEPRoxy registty entry parsing. Most likely ANSI-> unicode transition problem. I implemented temporary workaround - reimplemented this parsing in the installer body. I'll fix this in plugin code, when will able to compile the plugin (http://forums.winamp.com/showthread....hreadid=281519)
Takhir
30th January 2009 07:10 UTC
"resolving hostname" probably comes from NSISdl code. Another way is Inetc with proxy support, re-get and some other features. But adding proxy support to NSISdl would be cool ;).
GoHa
31st January 2009 03:05 UTC
nsisdl has support to basic proxies.
the problem that I am speaking, tht during ANSI-> Unicode migration theres happen a bug, wich prevent nsisdl from parsing IEProxy settings (from registry) correctly.
jimpark
31st January 2009 12:19 UTC
Can you point me to where you think the bug might be? I can take a look at it on my development machine.
Egor
31st January 2009 21:04 UTC
I was not able to build it yet, so, I cannot give you exact location for sure. I have a guess, and the guess is, it is the piece of code, wich read from registry (\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings) and then parse settings, by extracting proxy address. (I am away from my desk until Monday).
Made full nsisdl code search for "http=" and you will find it.
Egor
1st February 2009 02:11 UTC
Egor==Goha
Do I have two different accounts here?
hmmm, interesting,I was sure, I have only one..