|
|
#1 |
|
Guest
Posts: n/a
|
Getting proxy info plugin
Hello,
I've looked at the How to find the answer link, searched the forums and checked the available NSIS plugins list before asking here . Is there any NSIS plugin which would return the proxy settings (proxy host/port/authentication req or not) - I've seen the InetC, InetLoad plugins - but they accept these as parameters and not detect and return them as values. Is there anything similar to what I am looking for? Thanks in advance. Regards Hrish |
|
|
|
#2 |
|
Junior Member
Join Date: Jul 2007
Posts: 29
|
Proxy detection Plugin required
Hi, even I am looking for exactly the same things - proxy plugin. Have you been able to find any ??
Please help. Thanks |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Not yet - guess we might have to write our own
- Hrish |
|
|
|
#4 |
|
Junior Member
Join Date: Jul 2007
Posts: 29
|
hey..I m jus 5 days old to NSIS
![]() ..still unaware of how to write the plugins..how abt you? Have you got any idea of how to create the proxy plugin ??
|
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
I've worked with NSIS - but writing a plugin would require knowledge of C/C++ - am awfully unequipped in that direction.
- Hrish |
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
You can do what NSISdl does and read it from HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings - ProxyEnable and ProxyServer. ProxyServer has to be parsed. If it contains http=xxxxx;, you need to get xxxx. If not, you need to get the entire string.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jul 2007
Posts: 29
|
Hi kichik,
can you please explain in detail on how to go about for getting the proxy settings like port,host, username etc. using the NSISdl plugin. I am unable to get the NSIS code which does this. How can I see the code for how NSISdl plugin does this ? Sorry for being so confused :P:P |
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
What other details do you want? Read that registry key, parse it as mentioned and you have the proxy. The code is in Contrib\NSISdl\nsisdl.cpp.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|