- NSIS Discussion
- New stuff
Archive: New stuff
kichik
24th July 2003 19:41 UTC
New stuff
As I'm leaving tomorrow on vacation for a week, I have decided to release some partial work I have done in the last few days that might interest a lot of you.
This version includes the possibility to easily show more than one license page (second license, readme page, whatever you want) and permits access to NSIS's NLF strings so you don't have to redefine them. A list of the LangString names is in Source\lang.cpp. To use any string in the uninstaller just prefix it with "un." and NSIS will take care of the rest. This feature, hmm... Doesn't really work so good at the moment ;)
You can get this version here:
http://nsis.sourceforge.net/newstuff.zip
An example is attached.
I haven't uploaded it to CVS because it's not ready yet and I haven't completely tested it. If you find anything quirky it would help if you post it here. Expect encountering missing strings, mixed up strings and lots of weird characters if you're using a language that uses characters with the value of 253, 254 or 255.
As I said, I'm going on vacation, so I won't be able to answer any forum/IRC questions in the next few days.
Bye
kichik
24th July 2003 20:18 UTC
New version uploaded. Fixes LicenseForceSelection in PageEx and inner LangStrings. New example that shows inner LangStrings attached.
kichik
24th July 2003 20:23 UTC
Source code included in the ZIP file of course...
kichik
24th July 2003 20:42 UTC
And here's a screen shot because packing is boring.
kichik
25th July 2003 13:13 UTC
My flight got postponed, so I have made yet another version. Same URL, example attached. Notice there are now two directory pages and each one is using a different variable to work with. There is also a license agreement in the uninstaller, don't forget to read it ;)
Afrow UK
25th July 2003 14:25 UTC
Very nice!
I may use the licence page for a readme...
-Stu :)
kichik
8th August 2003 22:09 UTC
More!
Working example included in zip file (no need to compile).
TonyDS
9th August 2003 03:26 UTC
What do I need to have for this to run, as I just keep getting a invalid command withPageEx
I've just downloaded the latest updates, and it still doesn't compile
Sunjammer
9th August 2003 10:05 UTC
I think you need the file from the link in the first post in this thread.
kichik
9th August 2003 12:02 UTC
The files required to compile the above example are not in CVS yet because they are not ready. You must use the files in the zip linked to above.
I have updated the zip to contain the latest changes to support the last example (with the uninstall components page).
TonyDS
9th August 2003 13:39 UTC
Opps, sorry :) and thanks
Oh just wondering is there or will there be Modern UI version?
kichik
9th August 2003 13:44 UTC
Of course there will be. Once it's completely ready Joost will surely update the MUI to take advantage of it.
Olomite
20th August 2003 01:26 UTC
Great addition! I'm using the extra license pages to allow for an intro section, a requirements section and then a license section. Is there a way to change the message box title so it doesn't append ":License Agreement" to each of those windows? Thanks!
Lance
Afrow UK
20th August 2003 14:25 UTC
See SubCaption under documentation.
Thinking now, how is it possible to use SubCaption when there are multiple LicensePage's; won't it place the same text on all?
-Stu
kichik
22nd August 2003 18:51 UTC
Same URL, lots of new stuff. No more /LANG (one license for all languages for example), more default strings (default LicenseText for example) and more stuff that I don't remember.
bla2.nsi is included in the zip file this time and shows how to set the caption too.
I'll be back answering questions soon.
Good night.
[edit]Last beta before b4 if everything is ok.[/edit]
kichik
25th August 2003 21:40 UTC
Same URL, text color added (SetCtlColors), some old bugs with SetOutPath and File fixed and another one regarding /REBOOTOK on Windows 98.
Help me test please.
kichik
27th August 2003 19:16 UTC
Extraction progress added. Same URL.