|
|
|
|
#1 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
NSISdl problem
I'm experiencing problems with NSISdl on a few of my users' machines.
The users are running big Firewalls, which is causing NSISdl to fail everytime. Is there going to be a way to fix this, because I'm sure this will make (or has made) a lot of installers using NSISdl to not function correctly... -Stu |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Is Internet Explorer working properly? Can you get Internet Explorer's proxy configuration from them?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
The only user I am able to contact now, uses NetScape.
He has no Proxy settings, and has a direct connection. The other one having problems is away. -Stu |
|
|
|
|
|
#4 | |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Ok, user 1 fixed the problems.
He messed around with a firewall setting, and that fixed it. Soberly Challenged says: Quote:
|
|
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
NSISdl uses the proxy setting from Internet Explorer.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I will see what my other user has to say...
-Stu |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Aug 2003
Location: Austin, TX
Posts: 2
|
I have the same problem
I am having the same problem with NSIS 2. Any luck figuring this one out? I tested NSISdl's ability to grab proxy settings from IE, and it seems to do that just fine. However even without any proxy configuration we get those complaints from our users.
Thanks much in advance. |
|
|
|
|
|
#8 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
In the end, users had to configure their firewall settings to fix the problems.
-Stu |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Jul 2003
Posts: 6
|
crashes with nsisdl + firewall?
Hi,
I'm writing a script that uses nsisDL a lot, it's been working great but i have 2 issues. 1) Would it be possible to have an option to not display what files are being downloaded (just not display the names, progress bar is good) 2) I get crashes using my firewall. I've put MessageBox statements around the call to download() and its definitely happening in the dll. I'm using kerio software firewall. When the installer tries to connect to the internet i get a dialog from kerio saying an app is trying to call out. i can then accept or deny it (there is a checkbox to then accept all or deny all traffic), if i deny all with the checkbox on, the installer is fine. If i keep hitting deny (deny, deny, deny), it will crash out the installer. anyone else get this / reproduce this? I'll start hacking around the dll and see if i can resolve it, but if the writers can (or someone else involved in the project), the better |
|
|
|
|
|
#10 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
1) You can use the quiet option. If you want a progessbar, you have to modify the source to make it hide the name.
2) We have never had reports about NSISdl crashing. Please create a debug version and see where it crashes. |
|
|
|
|
|
#11 | |
|
Junior Member
Join Date: Jul 2003
Posts: 6
|
Quote:
about the firewall crashing, I get the crash at line 70 of nsisdl.cpp return CallWindowProc((long (__stdcall *)(struct HWND__ *, unsigned int, unsigned int, long))lpWndProcOld, hwnd, message, wParam, lParam); i'm debuggin this with the code from cvs, not my edited code. the message var is WM_ACTIVATE, wnd seems valid, though i haven't checked, maybe its because the dialog for the firewall is the foreground window? i'm not sure, i'll investigate, if you have any ideas, or ideas on how to get you further info, please post |
|
|
|
|
|
|
#12 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Is this firewall a free download or do I have to pay to get it?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#13 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Can you include attach a script too? Are you downloading multiple files?
|
|
|
|
|
|
#15 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
I see two of them on the website, one of them is not free. I need to know exactly which one it is.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#16 |
|
Member
Join Date: Mar 2003
Posts: 65
|
sorry, I thought there was only one firewall offered by kerio with different licneses.
Of course only Afrow knows what exactly his user is umm.... using.
|
|
|
|
|
|
#17 |
|
Junior Member
Join Date: Jul 2003
Posts: 6
|
its the free firewall
"kerio personal firewall 2.1.5" link here http://www.kerio.com/dwn/kpf2-en-win.exe I can't post the script, as its huge and i'm using it at my co. its a very strange problem. I'm downloading multiple files, but i'm calling download multiple times (only one download per call to download right?) basically the code looks like NSISdl::download "http://www.blah.com/blah.php" "$PLUGINSDIR\test.dat" Pop $R1 StrCmp $R1 "cancel" quit "" NSISdl::download "http://www.blah.com/blah2.php" "$PLUGINSDIR\test2.dat" Pop $R1 StrCmp $R1 "cancel" quit "" this works find in 80% of the cases. sometimes i have a hard time getting it to crash, if its crashed once before. if i restart the computer, and keep hitting "deny" with correct timing, it will totally crash out. |
|
|
|
|
|
#18 |
|
Junior Member
Join Date: Jul 2003
Posts: 6
|
Here is a simple script i'm using that can crash (brings up the "send error report to microsoft" dialog)
again, it depends on some kind of weird timing with the firewall. you should not check the box to "create a filter", you have to keep hitting deny at a certain rate, for me its about once a second, and i can get it to crash. Sometimes its ok, sometimes it crashes. I've seen this on multiple machines / OSes. InstType Standard Name "Test crash app" ComponentText "This will crash sometimes" OutFile "crash.exe" Page instfiles "" "" "" Section -DownloadScripts sec0 NSISdl::download /TIMEOUT=5000 "http://www.google.com/not-there.html" "not-there.txt" Pop $R1 StrCmp $R1 "cancel" quitMe "" NSISdl::download /TIMEOUT=5000 "http://www.winamp.com/not-there.html" "not-there2.txt" Pop $R1 StrCmp $R1 "cancel" quitMe "" goto out quitMe: Quit out: SectionEnd |
|
|
|
|
|
#19 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Ramon has found and fixed the bug. A fix should be uploaded soon.
Thank you for your bug report and information fromcat2me. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#20 |
|
Junior Member
Join Date: Feb 2004
Posts: 1
|
bug status
Is there any more information on this issue?
I can't find anything in the bug tracker and I have similar problem with 2.0b4. I need to upgrade to 2.0 anyway, but I have some font code that does not work in 2.0 yet. |
|
|
|
|
|
#21 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Which issue are you refering to? Please post details about the problems and system configurations.
You should also try the download stuff using NSIS 2.0. There have been no big language changes since beta 4, what is the font problem? |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|