- NSIS Discussion
- NSIS 2.0 alpha 0
Archive: NSIS 2.0 alpha 0
justin
22nd May 2002 05:17 UTC
NSIS 2.0 alpha 0
Just put this together. The main improvement is use of a treeview
instead of a listbox for the sections. This allows subsections in
the tree. Anyway, it's a bit hacked together from code Jeff Doozan gave me, so test it out and let me know what you think.
http://firehose.net/free/nsis/nsis20a0.exe
-Justin
justin
22nd May 2002 07:14 UTC
Just updated it with bugfixes, as well as more bitmap support for readonly sections.
BTW, if your first section is visible, you need to set it to RO if you want it to behave like previous installers.
-Justin
Rocker
22nd May 2002 08:55 UTC
!!!!!!!!!!
me downloads instantly
Yathosho
22nd May 2002 14:00 UTC
w00t
R@m00n
22nd May 2002 16:01 UTC
I think NSIS 1.98 is better than 2.0. :mad:
The text and the symbols of the sections is too small.
You should better make it possible to have multilingual setups. :up:
sdbarker
22nd May 2002 17:27 UTC
They look fine to me. I'm exceptionally impressed with it thus far. (You'd hope so, since I told jeff to submit the code. ;-) )
Two things:
1) Request: Have a flag for SubSection that will set the SubSection to default to being expanded.
2) Bug-ish Behavior: (Because I don't think it's a bug really, but behavior by design that should be modified, I think) When you set a Section to have a !define'd var for [section index output], that !define'd var is warned to not exist if it is used before the Section appears in the code, and has a value of 0 and will remain that way until the Section that it's !define'd for is reached. It would seem logical to me that those !define's be filled immediately and are available in all sections.
Wow, that was wordy. I hope it was consise and clear though.
-Scott
[Edit] Added (2) [/Edit]
eccles
22nd May 2002 21:12 UTC
Lookin good!
I notice the SectionSetText changes in BigTest.nsi are not visible until the page is left and revisited though.
--
Dave.
DuaneJeffers
22nd May 2002 23:30 UTC
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!
/me is happy :)
-Duane
liquidmotion
23rd May 2002 05:41 UTC
awesome...Justin, you've done it again :)
Schultz
23rd May 2002 09:11 UTC
keep up the great work.. This new treeview looks awesome..
crish
23rd May 2002 20:20 UTC
fine !!!
(was a long time of waiting)
LMC
28th May 2002 21:29 UTC
[PATCH] Preserving file attributes
Hi
Any chance that this patch will make NSIS 2.0?
http://forums.winamp.com/showthread....&postid=492927
http://forums.winamp.com/showthread....268#post550268
Regards
Lars Munch
bballer182
31st May 2002 04:47 UTC
KILLER Build! Way to go Justin! Any chance of KillProcess?
0mar
2nd June 2002 19:55 UTC
Wow - this sounds absolutely incredible! Thank you very much Justin. :D
As soon as I find the time and wrap up my current installer project, I'll start playing around with this. In the meantime, excuse me for asking: are there any issues with the 2.0 alpha anyone has found that I might want to watch out for?
n0On3
2nd June 2002 23:41 UTC
two comments
I think that the main window for NSIS is getting smaller. At least when it comes to install the same NSIS. I suggest to enable the resize corner.
Another think ;), the bitmaps for the sections should have the background colorless not white, because some people (like me) chose another color for the background. It's quite unestethic to see the boundaries of the icons.
I just have discovered that "exemple2.nsi" doesn't compile in NSIS20a0.
honold
3rd June 2002 21:57 UTC
how about environment (path, classpath, etc) manipulation functions builtin?
kichik
4th June 2002 12:05 UTC
Implementing enviroment manipulation functions into NSIS is a waste of space. One of NSIS's main pluses is its size. You can do it with the functions I have sent you.
honold
4th June 2002 19:34 UTC
it would still increase the space of an installer binary if the function(s) were never called? beyond that, i still don't see how it could possibly add any notable amount of space, and having 100 lines of functions in every nsi script is a bit of a kludge - especially if non-nsis specialists are going to be looking at the script or doing light modifications.
kichik
5th June 2002 11:02 UTC
Yes, if you include these functions as basic directives of NSIS it will increase the header size even though you don't use them. If you don't want to include them in every NSIS script you have just put them in a seprate file and use !include.
honold
5th June 2002 21:15 UTC
thanks for clarifying that :]
vatis
10th June 2002 14:21 UTC
First of all let me declare: NSIS rrrrocks!
But seeing this new version coming, my little requests would be:
* resizable windows (n0On3 you are right!)
* ability to generate sections (or section-like selectable packages) runtime
* multi language support, or at least the ablility to change the texts like "extracting", "skipping", etc.
Just keep up the good work, Justin!
:)
Sunjammer
10th June 2002 15:53 UTC
VC++ Compatible Error Messages
Firstly, luv the treeview !!
A little mod I've made to my copy of the v2 code is to change the three lines of code that log an error during script compilation (only changed if a define exists) so that they use this format:
filename(linenumber): error
This way when I build inside the Developer Studio environment (I make Utility projects for my NSIS installs and use the output window to see errors, I can then double-click them to be taken straight to the file and line where the problem exists).
This is a really minor change to the code, maybe with a run-time switch to enable it many other people could enjoy this feature.
Anyway it was just a thought since it's so small ;-)
---
Sunjammer
Programmer @ Advent Publishing Systems
email: ximon_eighteen@3b2.com
& msn: ximon_eighteen@hotmail.com
0mar
10th June 2002 16:20 UTC
NEW palette limitations
Hello all,
I'd like to say (as usual) that NSIS is an excellent tool and that I'm grateful to Justin and the contributors that keep improving on this wonderful utility. :)
I have a concern with the latest release though... I know one of the major objectives with NSIS is small installer size: an excellent ideal. It is my understanding that it is to this end that higher colour icons and checkbox images are not supported - the maximum colour depth was and is, sixteen colours.
And this is fine for the most part: one can't have everything one wants after all. ;)
But, in versions of NSIS prior to 2.0a, checkbox images for the various states (selected, deselected) were stored separately in separate .bmp files. This was a *great* advantage because although the palette was limited to 16 colours, at least one could have *different* palettes and hence a different range of colours for the checkbox images.
With all checkbox images combined into one image (and colour depth still limited to 16 colours) it becomes very difficult to make vibrant and distinct (in terms of colours anyway) checkbox images.
Here's a screenshot showing checkboxes I've used in the past:
http://www.beyondconvention.net/ohussain/installer1.gif
And here's a file containing the checkboxes themselves... (always meant to submit these as contributions, guess there's not much point now. ;)
RM
14th June 2002 12:28 UTC
to justin
Please add functions that updates a shared (in-use) DLLs.
There is no good way to do it with the current NSIS version.
thanks!
Smile2Me
14th June 2002 12:57 UTC
RM,
what about this then and this?
-Hendri.
RM
14th June 2002 13:26 UTC
I tried it.
it wasn't good enough.
Smile2Me
14th June 2002 13:33 UTC
In what sense it's not good enough? What do you want in addition to this then?
-Hendri.
RM
14th June 2002 15:26 UTC
it doesn't work properly.
mmullikin
14th June 2002 16:11 UTC
Details RM, details. :confused:
RM
14th June 2002 16:23 UTC
it just doesn't work.
mmullikin
14th June 2002 19:43 UTC
That's helpful. :mad:
It doesn't compile for you? It compiles but doesn't upgrade DLLs? It doesn't upgrade DLLs that are in use? It corrupts the DLLs? It works on W9X but not NT/2K/XP? What specifically is wrong? If you expect any kind of help, you're gonna have to be specific.
P.S. - I've been using the macro for almost 6 monthes without any problems.
RM
14th June 2002 21:37 UTC
it doesn't upgarde the dll.
I don't think that this macro is a good way to do this.
There are better ways, but that requires changes in the code.
sdbarker
14th June 2002 22:10 UTC
Then don't use the macro, and make changes in the code and use that.
-Scott
baafie
17th June 2002 20:27 UTC
Well, NSIS 2.0 alpha 0 is convinced that my windows directory is on my C drive, which it isn't. *shrugs*