View Single Post
Old 6th March 2019, 20:35   #531
sgt-d
Junior Member
 
Join Date: Aug 2001
Location: Earth
Posts: 36
I'm glad to see this topic is still active.

I have tried using these two INetC plugins:

https://nsis.sourceforge.io/Inetc_plug-in
https://github.com/DigitalMediaServer/NSIS-INetC-plugin

In this example I am including the username and password which I think is supposed to send automatically to the proxy server without the pop up Windows/web/whatever authorization screen:

inetc::get /proxy localhost:80 /username wut /password oic "http://download.blah.com/setup.exe" "$instdir\test_setup.exe" /end
pop $0
messagebox mb_ok "$0"

But the auth screen still pops up every time (attached, hopefully, below).

If I don't put in the information the messagebox says "Cancelled" and the download fails.

If I manually type in the username and password in the auth dialog (which is redundant since it was supposed to be passed automatically) the download works and the messagebox says "OK".

I also tried /USERNAME and /PASSWORD but I don't think case matters and I tried /weaksecurity but I don't think that's the right angle anyway.

What am I doing wrong? Any suggestions?

Thank you!


meh.
sgt-d is offline   Reply With Quote