Old 24th January 2019, 12:39   #1
Gluck
Senior Member
 
Join Date: Apr 2018
Posts: 103
Force proxy

Hi,

I have a program that doesn't support proxy configuration.

When I create a launcher, can I force it to communicate to internet ONLY through a port?

Ex 127.0.0.1:3128 (Is like to proxify it).

And is possible to force the dipendencies of it to use this proxy? (other .exe opened from the main program).

Thanks
Gluck is offline   Reply With Quote
Old 24th January 2019, 13:16   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,014
You would probably have to write a custom .dll that you inject into the process and it would hook WinInet and WinSocks.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 24th January 2019, 16:17   #3
Gluck
Senior Member
 
Join Date: Apr 2018
Posts: 103
Thanks.
Gluck is offline   Reply With Quote
Old 24th January 2019, 22:33   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,014
If the application hosts a embedded instance of Internet Explorer it might be possible to override some things based on the .exe name in the registry but I'm not sure if the proxy is one of them. And it would only affect the IE pages, not anything else in the application.

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