PDA

View Full Version : NSIS 1.4 BETA IS UP!!! :)


justin
23rd April 2001, 22:24
http://firehose.net/free/nsis/

With a ton of new features, some bug fixes, and a lot of changes to the way things work, this will be a handful. I hope we all like it though.

For a 1.4 non-beta, I want to give us a good week or two, for plentiful testing, and spruce up the documentation a bit.

-J

Changes in this release:

Note: many of the changes in this release will break previous scripts. Deal with it. It is for your own good.

Added maxlen parameter to StrCpy
Added GetFullDLLPath command/instruction
Added CompareDLLVersions command/instruction
Added CompareFileTimes command/instruction
Added leet callback functions
Added /oname= switch to File.
Label system (Goto values are no longer specified by number, but by labels, which are declared as Label:)
Added $OUTDIR variable
Made it so you could set $INSTDIR directly, using StrCpy/etc
Renamed Jump to Goto (and FindWindow's jump:label to goto:label). Change em all.
Removed $WAVISDIR and $WADSPDIR - you now should be able to implement these using ReadINIStr etc.
Made comments only started with ; not # (may break old scripts).
Made it so header commands cannot be declared inside functions/sections.
Massively reorganized compiler (now in one big-ass class) - hey, I got bored on the plane :)
Reduced the VM instruction size to 24 bytes from 28.
Reworked and optimized the Function system.
Rewrote and optimized and fixed recursive_create_directory (though no longer recursive, heh)
Updated zip2exe to work better with the new changes (WAVISDIR and WADSPDIR going away)
The documentation needs a lot more love.

NickC
23rd April 2001, 22:43
w00p, exellent :)
n1.
Now i just gotta start begging for you to code in a way of getting an update file of a web server. :)
Having that would help me and the 100-200 ppl that are going to be using NSIS from now on :)

[/grovel] :p

Edgewize
23rd April 2001, 22:53
If you mean a way to download patches (not the original installer) via the web automatically, I'm almost done with that.

If you want it integrated into the original installer, like one of those "web install" thingies, you'll have to wait for Justin.

justin
23rd April 2001, 23:10
Just a note.. if you downloaded it in the first hour after it was posted.. get it again. I fixed one bug that would basically occur if you did this:

!ifdef crap
Section MySection
Poop:
SectionEnd
!endif

and if crap was not defined, the line 'Poop:' would
give error.

-Justin

NickC
23rd April 2001, 23:35
Edgewize, id be very interested in it if it can be done as an NSIS routine atm, but my long term hope is that Justin will hear my pleas :) and actually intergrate it to NSIS.
But when you finish your web updater make sure you post it here and chances are il use that for the moment as thats what we really need at MPZ.

saivert
25th April 2001, 09:43
I'm looking forward to a Web Update system, but what about separate sections that are put in it's own section binaries (.zip files!?) that get downloaded when selected. Kinda like Wise's installation system (llok at the QuickTime 4.0 installer, for an example).