I've just made a little modification to nsisdl: I've introduced a new flag called /NOIEPROXY which makes the plugin not to read IE proxy settings, so it tries to download the files directly.
The reason behind this modification is that in certain enviroments, some of the intranet http servers can't be connected via the corporate proxy server and I can't make the users switch to M$IE proxy options just because that single download, it's easier to give them the option to not to use the proxy in that one case.
Use:
The /NOIEPROXY flag should be the first flag for the nsis::download command.
If /NOIEPROXY or /NOIEPROXY=1 is the first flag for this command, then the IE proxy config is not used. Examples:
- NSISdl::download /NOIEPROXY http://www.domain.com/file localfile.exe
- NSISdl::download /NOIEPROXY=1 http://www.domain.com/file localfile.exe
If this flag is ommitted or for exp. /NOIEPROXY=0 is inserted then IE proxy is used.
Examples:
- NSISdl::download http://www.domain.com/file localfile.exe
- NSISdl::download /NOIEPROXY=0 http://www.domain.com/file localfile.exe
I think this modification is helpful and does not make the usage or the source code much too complicated. I hope that it might be included in the CVS someday.
Regards,
Memph