Old 30th August 2002, 06:04   #121
Tscherno
Junior Member
 
Join Date: Jan 2001
Posts: 8
Thumbs up

Woahhhhhh

GREAT work kichik!

Thank you veryyyyyyyyy much!

Tscherno is offline   Reply With Quote
Old 30th August 2002, 12:52   #122
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Modern UI update

Removed the titlebar from the Verifying installer & Unpacking data dialog.

Available in the new alpha 7 release or on CVS.
Joost Verburg is offline   Reply With Quote
Old 30th August 2002, 14:02   #123
Daab
Junior Member
 
Join Date: Jun 2002
Location: Jerusalem, Israel
Posts: 19
I've tried using the modern UI in the 2.0 alpha 7. I want to change UI components during runtime (text, color).

The documentation about ".InitDialog" explains that this event occurs only for new outer dialogs and not InstallOptions inner pages. However, I've seen a posts here that there is/will be an example on how to use the modern UI's flexibility even with InstallOptions pages...?

I mean that I want to change the outer dialog (for instance, change the text "License Agreement" to something else when a new inner dialog (a custom InstallOptions page of mine) is displayed.

I tried using ".onNextPage" based on the original example, but I guess that these component changes need to occur before actual display in order to take effect, and since the outer dialog is not reloaded each time an inner dialog is...

Well, any ideas?

Also, (maybe) unrelated: I saw some posts about a callback function called ".onStaticCtlBkColor" - but other than an example here in the forum on how to use it I didn't find any documentation on what it actually is, what it does, and when.
Daab is offline   Reply With Quote
Old 30th August 2002, 14:12   #124
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Quote:
This callback is called right after an inner dialog is created (excluding InstallOptions dialogs) and before it is shown. Useful for CreateFont, SetStaticBkColor and any other last minute text changes.
It works for inner dialogs, not outer dialogs, and no IO dialogs. I haven't seen any posts about IO and the modern UI, I don't know what you are talking about.

Use SendMessage ${WM_SETTEXT} to set the text of the outer dialog when an inner dialog is created (.onNextPage, .onPrevPage).

.onStaticCtlBkColor is dead, use SetStaticBkColor from .onInitdialog instead.

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 30th August 2002, 14:37   #125
Daab
Junior Member
 
Join Date: Jun 2002
Location: Jerusalem, Israel
Posts: 19
Ugh, yeah, scratch that, I found a moronic mistake in my script...

Works like a charm.
Daab is offline   Reply With Quote
Old 30th August 2002, 18:57   #126
okapi
Junior Member
 
Join Date: May 2002
Location: Washington, DC
Posts: 10
Separate Installer Icon

The setting Icon is used for the desktop icon of the installer and also inside the installer in the upper right corner. I would like to suggest separating that into 2 setting such that you could use a different icon inside vs outside the program.

Steve
okapi is offline   Reply With Quote
Old 30th August 2002, 19:03   #127
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I got your message at SF, there is no need to post both here and there. I will try to add it to the next version.

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 30th August 2002, 19:37   #128
YtseJam
Forum King
 
YtseJam's Avatar
 
Join Date: Dec 2000
Location: Israel
Posts: 2,399
Send a message via ICQ to YtseJam Send a message via AIM to YtseJam
Hey kichik,

I stumbled across NSIS2 alpha 7 at betanews.com(here) and... Well, they make it sound as if this is an official alpha release of NSIS2, when it's actually just your changes.
They also release it under Justin's name and I just thought that you might want to post there a little note, noting that this is not an official NSIS release untill Justin will actually review and merge this to his 'official' NSIS... (Less confusion, even though there were never any bad reviews about NSIS).

I totally dislike betanews.
(I could also be just wrong and Justin already accepted your changes...)
YtseJam is offline   Reply With Quote
Old 30th August 2002, 19:48   #129
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Thanks for the heads up nant, I have dropped them a note.
Justin is currently working on merging the changes.

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 2nd September 2002, 07:54   #130
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
Hey all, sorry to be gone so much, just been busy with other projects (and non-computer-related funness). I'd just like to thank KiCHiK and everybody who has been contributing to the NSIS 2.a series. It looks HOT. I'm basically in the process of looking through it all, trying to catch up so I can understand everything that is happening.. But basically, it looks like when kichik and everybody is ready, we'll just make it the official 2.0 beta which we put on nullsoft.com for a week or two.. Then we fix any small or glaring bugs, and go to final. Or something. This sound good to people?

This really does rock guys, thank you for all this work. And people who have been contributing, update the docs/comments/msgs printed by makensis to reflect you/add credits. I'll coordinate with kichik to get the latest stuff (or I'll just pull the cvs from sf).

You guys put a big fat smile on my face. Anyway.

-Justin
justin is offline   Reply With Quote
Old 2nd September 2002, 08:01   #131
SQwerl
Junior Member
 
Join Date: Dec 2001
Location: USA
Posts: 41
Welcome Back Justin. We missed you.
SQwerl is offline   Reply With Quote
Old 2nd September 2002, 12:32   #132
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Right-to-left (RTL) support available at the CVS!
Just use ChangeUI /RTL (...) (ui file) and it will move it all around for you! No RTL language files though

Friendly warning: no NLF will work with the latest CVS version for now. The reason is a new version of the NLF format due to a new string. You will have to wait for your language translator or send a translation yourself. The new string, by the way, is "Copy Details To Clipboard" which is used for a nice feature Sunjammer has added. It allows you to right-click the log window and copy all of its contents.

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 2nd September 2002, 12:37   #133
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
And here is a screen shot (look at the buttons).
Attached Images
File Type: png rtl.png (72.4 KB, 238 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 2nd September 2002, 12:49   #134
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
Quote:
Originally posted by kichik feature Sunjammer has added. It allows you to right-click the log window and copy all of its contents.
Before anyone asks yes CTRL-C support was tried as a way of avoiding the need for a new language string but (a) the context menu is nicer and (b) the CTRL-C code was crap :P
Sunjammer is offline   Reply With Quote
Old 2nd September 2002, 12:54   #135
YtseJam
Forum King
 
YtseJam's Avatar
 
Join Date: Dec 2000
Location: Israel
Posts: 2,399
Send a message via ICQ to YtseJam Send a message via AIM to YtseJam
kichik, good work on the RTL support(most people here wouldn't really understand the change in that screen shot, btw... They don't understand Hebrew, remember? ).

I totally love this and good to know that Justin is going to add all your hard work to the official NSIS!
YtseJam is offline   Reply With Quote
Old 2nd September 2002, 12:56   #136
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Bad news =/
WS_EX_RIGHT doesn't work on TreeView and ListView, which means the log, and the components selection page are not completely RTL

Actually, it should only works on OS with full support for a RTL language (localized).

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 2nd September 2002, 13:00   #137
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Welcome back Justin

I don't understand the screenshot at all I'll update the Dutch/German/Frensh language files soon.
Joost Verburg is offline   Reply With Quote
Old 2nd September 2002, 13:02   #138
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Quote:
Originally posted by kichik
Bad news =/
WS_EX_RIGHT doesn't work on TreeView and ListView, which means the log, and the components selection page are not completely RTL

Actually, it should only works on OS with full support for a RTL language (localized).
nm
Joost Verburg is offline   Reply With Quote
Old 2nd September 2002, 13:06   #139
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Joost, it doesn't. I have one, I can tell

Just look at the buttons, they are on the left

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 2nd September 2002, 13:10   #140
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
I see Quite strange, RTL listviews and treeview are possible, there are some examples on MSDN.
Joost Verburg is offline   Reply With Quote
Old 2nd September 2002, 13:17   #141
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Would you mind posting some links 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 2nd September 2002, 13:30   #142
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
http://www.microsoft.com/globaldev/w...WRG_mirror.asp

http://www.microsoft.com/middleeast/msdn/
Joost Verburg is offline   Reply With Quote
Old 2nd September 2002, 13:45   #143
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Thanks Joost, but:
Quote:
Only localized Arabic/Hebrew Win98 and all versions of Win2000 support mirroring.

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 3rd September 2002, 12:36   #144
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Fixed a bug that prevented the last letter from getting copied (copy details to clipboard feature). Available at the CVS.

Also new:
Always load RichEdit v2 if present.
DeleteRegKey 3 now only accepts two parameters as it should (and possibly /ifempty)

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 4th September 2002, 15:30   #145
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Plugin call method has changed.
You must now call plugins in the form of dllname[.dll]::FunctionName.
This prevents clashes with future commands.

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 4th September 2002, 16:12   #146
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
Lose the .dll completely, it shouldn't be part of script syntax and is unnecessary and implied.
Sunjammer is offline   Reply With Quote
Old 4th September 2002, 17:00   #147
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Done.

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 4th September 2002, 20:39   #148
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Bug alert: LandDLL::LangDialog must be used first in the script or it might pop a lot of things it shouldn't from the stack.

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 7th September 2002, 10:53   #149
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Make sure you run SetCVSShellCommands.exe before you start using the latest version of MakeNSISw from the CVS.

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 7th September 2002, 12:05   #150
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
MakeNSISW

MakeNSISW has had a *lot* of work done to it to fix bugs over the last couple of days. The only way I have now of crashing it involves compiling about 30 .nsi files in parallel ... so to anyone who has been having trouble with MakeNSISW I'd definitely recommend downloading the latest MakeNSISW.exe from CVS (get cvs revision 1.21, the most recent as of this post, here).
Sunjammer is offline   Reply With Quote
Old 7th September 2002, 13:05   #151
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
1.22 as of this post. Another buffer overflow bug fixed
If anyone still has crashes with MakeNSISw please come to the IRC channel, I am waiting there

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 10th September 2002, 00:57   #152
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
The new homepage for NSIS development is at:

http://sourceforge.net/projects/nsis

Please use this url when posting bugs and/or features. The latest file release will be posted on the new project site soon.
rainwater is offline   Reply With Quote
Old 10th September 2002, 15:48   #153
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
File releases are up at the new project page. I have updated the links at the first post in this thread for your convenience.

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 18th September 2002, 14:41   #154
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Nasty bug alert:

Using .onInitDialog may cause some issues. As long as you don't use it, you should be OK.

The problem is caused due to .onInitDialog running parallel to other NSIS code sections, which causes problems due to static variables used in both.

This will be fixed ASAP.

http://sourceforge.net/tracker/index...49&atid=373085

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 19th September 2002, 15:56   #155
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Nasty bug fixed.

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 21st September 2002, 00:28   #156
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
bzip2 installers now start up a lot faster.

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 21st September 2002, 14:25   #157
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Installers with plugins should now load faster too.

All in the latest CVS version, which is copied every night to the nightly snapshot (have a look at the FAQ).

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 22nd September 2002, 16:07   #158
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
A snapshot of all NSIS files (including the new Modern UI) is available at http://nsis.sourceforge.net/nsis-snapshot-sep22.exe.

This snapshot has an installer and the files have Windows line breaks, but snapshots with installer will not be made every day.
Joost Verburg is offline   Reply With Quote
Old 30th September 2002, 14:53   #159
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Latest CVS version now has user multilingual strings.

Example taken from languages.nsi:

PHP Code:
LangString Sec1Name ${LANG_ENGLISH"!English section #1"
LangString Sec1Name ${LANG_DUTCH"!Dutch section #1"
LangString Sec1Name ${LANG_FRENCH"!French section #1"
LangString Sec1Name ${LANG_GERMAN"!German section #1"
LangString Sec1Name ${LANG_KOREAN"!Korean section #1"
LangString Sec1Name ${LANG_RUSSIAN"!Russian section #1"
LangString Sec1Name ${LANG_SPANISH"!Spanish section #1"
LangString Sec1Name ${LANG_SWEDISH"!Swedish section #1"
LangString Sec1Name ${LANG_SLOVAK"!Slovak section #1"

LangString Message ${LANG_ENGLISH"English message"
LangString Message ${LANG_DUTCH"Dutch message"
LangString Message ${LANG_FRENCH"French message"
LangString Message ${LANG_GERMAN"German message"
LangString Message ${LANG_KOREAN"Korean message"
LangString Message ${LANG_RUSSIAN"Russian message"
LangString Message ${LANG_SPANISH"Spanish message"
LangString Message ${LANG_SWEDISH"Swedish message"
LangString Message ${LANG_SLOVAK"Slovak message"

Section $(Sec1Name)
    
MessageBox MB_OK $(Message)
SectionEnd 
Notes:

You will need to recompile makensis.exe for it to work.

To use in the uninstaller just add the un. prefix to the string name. Use it using it's name alone, without un.

These multilingual strings can't be used inside other strings. You can't write "bla bla $(mlstr) bla bla" only $(mlstr).

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 2nd October 2002, 01:16   #160
o_cee
Junior Member
 
Join Date: Aug 2002
Posts: 17
it doesn't work on subsection? or am i doing anything wrong?

Last edited by o_cee; 2nd October 2002 at 01:36.
o_cee 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