Old 3rd October 2003, 14:25   #1
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
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