Archive: NSISDl Crash


NSISDl Crash
I've just written a small NSISDl script to do some online version checking. When i run it, if i'm connected to the internet, the program runs and terminates correctly. But if i'm NOT connected to the internet, it crashes when the download fails (because i'm not connected)...this happens when i click on the close/cancel button. Did i miss something? As far as i know for NSISDL to work i just need this line :

NSISdl::download http://www.blahproduct.com/currentver.txt "$TEMP\currentver.txt"


Your command is fine.
I didn't get where exactly it crashes... Right after it fails or when you click cancel/close after it fails?


It crashes after the close. That's one...if i put a exec / execshell / execwait (valid one) after the nsisdl (or anywhere else AFTER it), it will crash before the exec gets to do the job (meaning nothing is executed, it just crashes with the "Application error".

I've made my own script to check the availability of the .NET framework and it can be found at :

http://members.fortunecity.com/neotw...downloads.html

called Got dotNet Framework.

it seems to crash IF the user is NOT connected to the internet ONLY...when i click on close it will crash. To get the program to work just in case your have .NET installed, rename your windows\microsoft.net folder to something else temporarily.


This one should be it:
https://sourceforge.net/tracker/?fun...group_id=22049

I will implment this bug fix tomorrow.


Fixed in the latest CVS version thanks to Stephan Jou.
https://sourceforge.net/tracker/inde...49&atid=373085