Archive: Script Engine


Script Engine
I'm impressed nsis is very nice ...but ...scripting is not as powerful and easy as it could be , why not use some script engine already available like www.scriptbasic.com or http://www.mozilla.org/js/ ?

Just my two cents ;)

Keep up great work!


A more high-level language is planned for NSIS 3.


What are you missing in the current scripting language? Why do you think it is not powerful enough? What can't you do with it?


I would die for an

if / then / else

just give me that and I will upgrade to NSIS 3 ASAP! ;)

All these StrCmp / goto / goto labels that I need to go through instead make each script 3 times as large as it should be...


Originally posted by Zaraza
I would die for an

if / then / else

just give me that and I will upgrade to NSIS 3 ASAP! ;)

All these StrCmp / goto / goto labels that I need to go through instead make each script 3 times as large as it should be...
but there is !ifdef and so on.

BTW, when is NSIS 3 coming out? Together with Winamp4?

If / then / else is nothing else (funny...) than

Strcmp bla1 bla2 "" elsetarget
;dosomething
goto endif
elsetarget:
;doanotherthing
endif:

So the code would be even more, because you can normally brain-optimize some jumps away, but the compiler maybe won't...
Anyway, it would be easier to write, read, maintain and you would make less mistakes...
Let us have it!!!