Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 13th June 2001, 02:39   #1
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
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]
Edgewize is offline   Reply With Quote
Old 13th June 2001, 02:57   #2
Gonzotek
Gunslinger
 
Gonzotek's Avatar
 
Join Date: May 2000
Location: Terminus
Posts: 4,693



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=-


Gonzotek is offline   Reply With Quote
Old 13th June 2001, 03:05   #3
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
Is it for Extra? Enhanced? Edgewize? Everything you'll Ever need? Environmentally friendly?

... beats me
Edgewize is offline   Reply With Quote
Old 13th June 2001, 09:13   #4
petersa
Senior Member
 
petersa's Avatar
 
Join Date: Apr 2001
Location: Melbourne, Australia
Posts: 207
Thanks, Edgewize! I know I'll be using at elast three of those...who was the genius that came up with those ideas?!
petersa is offline   Reply With Quote
Old 13th June 2001, 10:59   #5
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
This is all stuff that's been asked for on the forums, so I guess you guys are the geniuses
Edgewize is offline   Reply With Quote
Old 13th June 2001, 16:40   #6
Bor
Junior Member
 
Join Date: Mar 2001
Posts: 33
color

Not all, i asked for that InstallColors would also affect, the licensetext+background, and the section field, and the directory edit box.
Bor is offline   Reply With Quote
Old 13th June 2001, 18:03   #7
mcgarrah
Junior Member
 
Join Date: Mar 2001
Location: Raleigh NC USA
Posts: 26
Send a message via AIM to mcgarrah
Dang man, give the guy a few more days...

BTW: Where do you grab the code/patches?
mcgarrah is offline   Reply With Quote
Old 13th June 2001, 18:27   #8
Bor
Junior Member
 
Join Date: Mar 2001
Posts: 33
woot

Of course he can have a few more days, just being irritating.
Bor is offline   Reply With Quote
Old 13th June 2001, 19:39   #9
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
There's no fun if you don't have anything to complain about

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 13th June 2001, 22:31   #10
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
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.
Edgewize is offline   Reply With Quote
Old 14th June 2001, 06:59   #11
spanky
Senior Member
 
Join Date: May 2000
Posts: 295
Send a message via ICQ to spanky
I believe the "e" stands for "Extra Flavour"
Mmmmm tastey!

all work and no play makes jack a dull boy
spanky is offline   Reply With Quote
Old 15th June 2001, 19:25   #12
Aarif
Junior Member
 
Join Date: May 2001
Posts: 11
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
Aarif is offline   Reply With Quote
Old 16th June 2001, 05:31   #13
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
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.
Edgewize is offline   Reply With Quote
Old 16th June 2001, 12:38   #14
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
Better compression? Tell me more! Did you integrate a new algo, or did you improve the Zlib one?

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 16th June 2001, 21:43   #15
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
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.
Edgewize is offline   Reply With Quote
Old 17th June 2001, 18:55   #16
spaetz
Junior Member
 
Join Date: Feb 2001
Posts: 44
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
spaetz is offline   Reply With Quote
Old 18th June 2001, 17:36   #17
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
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.

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 1st July 2001, 03:17   #18
SNYder
Forum King
 
SNYder's Avatar
 
Join Date: Nov 2000
Posts: 4,432
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::
SNYder is offline   Reply With Quote
Old 1st July 2001, 12:48   #19
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
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

Edgewize is offline   Reply With Quote
Old 1st July 2001, 19:50   #20
Repzilon
Member
 
Join Date: Apr 2001
Posts: 51
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.
Repzilon is offline   Reply With Quote
Old 1st July 2001, 20:34   #21
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
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).
Edgewize is offline   Reply With Quote
Old 2nd July 2001, 09:03   #22
petersa
Senior Member
 
petersa's Avatar
 
Join Date: Apr 2001
Location: Melbourne, Australia
Posts: 207
Don't remove /UNCHECKED!
petersa is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump