Archive: Non-official release 1.44e


I will be spinning off a new 'e' series of the NSIS installer, starting tomorrow with 1.44e.

Source will not be available until next week because I need that long to make it readable again. It works now, but its god-aweful ugly. And don't worry, I'll send it to Justin ASAP.

Following is the README file for the release:
---

Changes in 1.44e:

- New command: ReadEnvStr
Reads an environment variable into $0-$9, $INSTDIR, etc. Examples:
. "ReadEnvString $0 PATH" puts the search path into $0
. "ReadEnvString $9 COMSPEC" puts the path to COMMAND.COM in $9

- New command: AdjustDiskSpace
Adds to or resets the section's disk space requrement. Examples:
. "AdjustDiskSpace set 20" resets space requirements to 20kb
. "AdjustDiskSpace add 100" increases requirements by 100kb
. "AdjustDiskSpace 100" ('add' is assumed)

- New command: ProgressText
Overrides the text label above the progress bar. Examples:
. "ProgressText set 'Checking registry'" is rather obvious
. "ProgressText auto" restores the default NSIS messages
. "ProgressText 'Removing temp files'" ('set' is assumed)

- Changes to command: Section
New /HIDDEN flag is just like having an empty section name or having the name begin with a "-". The section does not show up on the Components screen and is always installed. Example:
. "Section /HIDDEN 'this will not be seen'"

New /UNCHECKED flag means that the section will be visible on the Components screen but not originally checked. This has no effect if InstallTypes are being used. This also does not work on hidden sections, for obvious reasons. Example:
. "Section /UNCHECKED 'Create Desktop Icon'"

- Changes to command: CopyFiles
The third argument (size in kb of copied data) is no longer required. The new AdjustDiskSpace command is recommended instead. Example:
. "AdjustDiskSpace add 56"
. "CopyFiles 'C:\WINDOWS\notepad.exe' $INSTDIR"

- Other changes:
User choices are now saved when the Back button is used to return to the component selection screen.

NOTE: All changes are backwards compatible. No script should change behavior in the least when built with 1.44e. IF THIS IS NOT THE CASE, EMAIL ME IMMEDIATELY at wiked_edge@yahoo.com

[Edited by Edgewize on 06-12-2001 at 10:59 PM]


:)


Is the 'e' for "Edgewize", "Enhanced", or "Eeeeek!!!!" ?

Really, thanks for all your time on this, I know I'll be using some of those new commands.

I'll try to run my scripts through it and maybe some funky things too and let you know how it goes.

-=Gonzotek=-



Is it for Extra? Enhanced? Edgewize? Everything you'll Ever need? Environmentally friendly?

... beats me :)


Thanks, Edgewize! I know I'll be using at elast three of those...who was the genius that came up with those ideas?! :)


This is all stuff that's been asked for on the forums, so I guess you guys are the geniuses :D


color
Not all, i asked for that InstallColors would also affect, the licensetext+background, and the section field, and the directory edit box.


Dang man, give the guy a few more days...

BTW: Where do you grab the code/patches?


woot
Of course he can have a few more days, just being irritating.


There's no fun if you don't have anything to complain about :D


If complaining is fun, here's something else to keep yourselves amused :)

I'm pushing back the release until:
1) source code is clean enough to be included, and
2) the EXE header is within 1k of the original size

Probably Friday.


I believe the "e" stands for "Extra Flavour"
Mmmmm tastey!


Sorry, I haven't checked for awhile, and I missed your posting on the 3rd about what features were wanted. I think it would give a more polished look if the "License Agreement" screen allowed Rich Text. Basically, you would specify an RTF file to place in there, and it would do the rest.

Whaddya think?

Aarif


Version 1.44e released: http://edgewize.cjb.net/

The next release will have NONE of the following:
- NO named parameters
- NO way to change text-box and drop-box color
- NO RTF or HTML license files

Instead, you'll get:
- Better compression ratios for installers
- Multi-file and disk-spanning installer support

1.44e was strictly a new-feature release.
The next version will be only *internal* changes.


Better compression? Tell me more! Did you integrate a new algo, or did you improve the Zlib one?


I'm not sure if I will stay with zlib or switch to bzip2 - both are excellent, but bzip2 (while slower) has a higher maximum compression ratio.

I also plan to reogranize the datablock to group files with the same extensions - and then compress them in one pass, without stopping at the file boundaries. There may also be "smart" EXE handling, but that depends on whether or not it makes a large difference.


Nice to see you following the Justin strategy of minimalism. That is *the* reason why I use NSIS (besides being free, of course).

Keep up the good work


I think it's the eventual installer size that matters - I don't mind if creating the installer is slow. You have to watch of course how fast the decompressor is - and how 'heavy' it is on the base installer size.


are you one of the people actually working on nsis with nullsoft? I mean official?

either way... I like what you did with nsis. Very good job. But why did you put your name in the installer instead of Nullsoft? Isn't that a bit selfish? After compiling it says Edgewize 1.44e instead of Nullsoft 1.44e. I understand you added a few things, but it's not like you CREATED the program.

If I am am way off, then flame me now. ::shrugs::


Yes I changed it to Edgewize NSIS 1.44e, but not for selfish reasons (at least I don't think so...)

I wanted some way to see how many people were using it, so I changed the version string. I didn't realize at the time that it was so obvous on the UI. I still don't think it's a very big deal, since anyone with Visual C++ or a hex editor can erase it completely or change it back in under 2 minutes.

But my apologies for stealing credit from Justin and the Nullsoft crew, of which I am not a member :(


Solid archiving ?
It sounds like RAR/WinRAR solid archiving compression method. It mainly uses the extension (but it is configurable) to group files. Great idea. I save a lot of space with that option on when I compress into RAR format. But watch out for damages. It can break many more files.

Also, remove options /HIDDEN and /UNCHECKED from Section instruction. They are useless, since we can already do that in a backward compatible way.


I'm pulling out of my next e-series release, because keeping compatibility with NSIS is starting to become a real issue.

Instead, I am glad to announce development of a NSIS derivative, code-named UltraPimp :) No details yet, since release may be way off in the future (family, vacations, college prep, etc).


Don't remove /UNCHECKED!