Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 24th July 2003, 18:41   #1
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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
Attached Files
File Type: nsi bla2.nsi (697 Bytes, 192 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 24th July 2003, 19:18   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
New version uploaded. Fixes LicenseForceSelection in PageEx and inner LangStrings. New example that shows inner LangStrings attached.
Attached Files
File Type: nsi bla2.nsi (784 Bytes, 172 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 24th July 2003, 19:23   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Source code included in the ZIP file of course...

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 24th July 2003, 19:42   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
And here's a screen shot because packing is boring.
Attached Images
File Type: png license and readme.png (20.1 KB, 353 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 25th July 2003, 12:13   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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
Attached Files
File Type: nsi bla2.nsi (1.3 KB, 196 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 25th July 2003, 13:25   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Very nice!
I may use the licence page for a readme...

-Stu
Afrow UK is offline   Reply With Quote
Old 8th August 2003, 21:09   #7
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
More!

Working example included in zip file (no need to compile).
Attached Files
File Type: zip new stuff.zip (22.9 KB, 228 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 9th August 2003, 02:26   #8
TonyDS
Senior Member
 
Join Date: Jul 2003
Posts: 151
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
TonyDS is offline   Reply With Quote
Old 9th August 2003, 09:05   #9
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
I think you need the file from the link in the first post in this thread.
Sunjammer is offline   Reply With Quote
Old 9th August 2003, 11:02   #10
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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).

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 9th August 2003, 12:39   #11
TonyDS
Senior Member
 
Join Date: Jul 2003
Posts: 151
Opps, sorry and thanks

Oh just wondering is there or will there be Modern UI version?
TonyDS is offline   Reply With Quote
Old 9th August 2003, 12:44   #12
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Of course there will be. Once it's completely ready Joost will surely update the MUI to take advantage of it.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 20th August 2003, 00:26   #13
Olomite
Junior Member
 
Join Date: Jun 2003
Location: San Diego
Posts: 16
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
Olomite is offline   Reply With Quote
Old 20th August 2003, 13:25   #14
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 22nd August 2003, 17:51   #15
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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]

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 25th August 2003, 20:40   #16
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 27th August 2003, 18:16   #17
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Extraction progress added. Same URL.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast 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