-
Notifications
You must be signed in to change notification settings - Fork 11
Attempt to fix Issue #10 Installer should read proxy settings #11
base: master
Are you sure you want to change the base?
Conversation
Please take these changes with a grain of salt. I was unable to get the installer to build locally for many many other reasons and figured it'd be best to pass along an 'example' of how this might be done. It makes used of the ProxySettings plugin to get the proxy value for HTTP, the value on the stack is the checked and the --proxy flag is added properly.
Thanks! The VM that I'm using to generate the installer is at work, so I'll generate and test a new build with your changes on Monday. Have a nice week-end! jonathan |
Hi, The patch does not compile as-is, so I had to change quite a few details to get the thing to compile. However, I'm pretty sure your code won't work since the documentation for ProxySettings says that 1) GetConnectionProxyByProtocol takes two parameters: a connection name (ProxySettings::GetConnectionName) and 2) a protocol (e.g. "ftp"), not a URL. Also, the wiki page at http://nsis.sourceforge.net/ProxySettings says that this is for dialup connections... Can you please try your changes on a local copy and submit a new version of the patch once you're confident it works? Thanks, jonathan |
Also, http://cygwin.com/cygwin-ug-net/setup-net.html#internet-setup says:
I wonder if we could use the "IE5 method" by default instead of querying the proxy server in the nsis script. |
I have yet to be able to get the build to complete with/without my On Mon, Jun 11, 2012 at 1:55 AM, Jonathan Protzenko
|
If there's something unclear in the instructions that I gave in the On Thu 14 Jun 2012 11:50:31 PM CEST, Jacob Danner wrote:
|
Hey Protz, Thanks again for this project, I'll keep poking. |
Please take these changes with a grain of salt. I was unable to get the installer to build locally for many many other reasons and figured it'd be best to pass along an 'example' of how this might be done.
It makes used of the ProxySettings plugin to get the proxy value for HTTP, the value on the stack is the checked and the --proxy flag is added properly.