Old 21st July 2003, 11:54   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 21st July 2003, 12:21   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 21st July 2003, 12:26   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 21st July 2003, 12:28   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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:
for some reasons, the firewall was blocking it
even though I told it to give access
but if you could get the app to be able to use an http and ftp proxy that would be great
just have it as an option for the people that need it
-Stu
Afrow UK is offline   Reply With Quote
Old 21st July 2003, 12:31   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 21st July 2003, 13:45   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
I will see what my other user has to say...

-Stu
Afrow UK is offline   Reply With Quote
Old 21st August 2003, 14:34   #7
codehistorian
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.
codehistorian is offline   Reply With Quote
Old 21st August 2003, 20:56   #8
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 25th September 2003, 15:35   #9
fromcat2me
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
fromcat2me is offline   Reply With Quote
Old 25th September 2003, 15:46   #10
Joost Verburg
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.
Joost Verburg is offline   Reply With Quote
Old 25th September 2003, 16:05   #11
fromcat2me
Junior Member
 
Join Date: Jul 2003
Posts: 6
Quote:
Originally posted by Joost Verburg
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.
thanks for the quick reply. I've coded the change for the name removal

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
fromcat2me is offline   Reply With Quote
Old 26th September 2003, 11:52   #12
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 26th September 2003, 12:37   #13
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Can you include attach a script too? Are you downloading multiple files?
Joost Verburg is offline   Reply With Quote
Old 26th September 2003, 17:06   #14
psyke
Member
 
Join Date: Mar 2003
Posts: 65
Quote:
Originally posted by kichik
Is this firewall a free download or do I have to pay to get it?
From the kerio site: "Kerio Personal Firewall is free for home and personal use."

keep up the great work!
psyke is offline   Reply With Quote
Old 26th September 2003, 17:08   #15
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 26th September 2003, 20:59   #16
psyke
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.
psyke is offline   Reply With Quote
Old 30th September 2003, 21:26   #17
fromcat2me
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.
fromcat2me is offline   Reply With Quote
Old 3rd October 2003, 14:25   #18
fromcat2me
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
fromcat2me is offline   Reply With Quote
Old 9th November 2003, 20:47   #19
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 29th February 2004, 20:33   #20
aheld
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.
aheld is offline   Reply With Quote
Old 29th February 2004, 20:51   #21
Joost Verburg
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?
Joost Verburg 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