Archive: Installer created with NSIS crashes


Installer created with NSIS crashes
The installer compiles successfull, but when I run the program I get the Windows error message "[MY INSTALLER] has caused an error in [MY INSTALLER].exe. [MY INSTALLER] will now close."

What could be causing it? How do I fix it?

Many thanks.


Bad plug-ins, memory operations, many reasons, it's not easy to understand what happens in your installer if we can not see script :) Might be good to attach it.


Of course, my apologies. I only didn't attach it immediately because there's about 2500 lines.
Anyway, I fixed the problem - pretty obvious really:
Using a variable to reference a section number and the variable contained [I think] an empty string.
Sorry to have bothered you!