Old 2nd October 2002, 17:36   #161
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
No, you are not doing anything wrong. I have fixed this in the latest CVS 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 2nd October 2002, 17:48   #162
CodeSquid
Member
 
Join Date: Dec 2001
Posts: 89
btw, have you changed the behaviour of SectionGetFlags? Now it returns 1 instead of 0x80000000 when a section is selected.
It took me some time to figure out why my script did no longer work and you've not said anything about this in the changelog.
CodeSquid is offline   Reply With Quote
Old 2nd October 2002, 17:52   #163
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Yes, you are right... I forgot to mention it, I am sorry about that.

Here are the new defines for the section flags:

PHP Code:
!define SF_SELECTED   1
!define SF_SUBSEC     2
!define SF_SUBSECEND  4
!define SF_BOLD       8
!define SF_RO         16
!define SF_EXPAND     32 

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 October 2002, 11:31   #164
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I have added an option for unprocessed user multilingual strings (LangStringUP). Use it if you see weird squares before any special character in your LangString.

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 17th October 2002, 20:59   #165
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Added support for !ifdef/!ifndef/!else in macros too.

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 October 2002, 20:45   #166
asdfuae
Junior Member
 
Join Date: Oct 2002
Posts: 23
how about supporting right to left languages?
asdfuae is offline   Reply With Quote
Old 20th October 2002, 20:46   #167
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
In the progress.

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 26th October 2002, 20:19   #168
asdfuae
Junior Member
 
Join Date: Oct 2002
Posts: 23
the arabic work with the ltr system too, so it is ok to leave the arabic language even without rtl support .
thank you
asdfuae is offline   Reply With Quote
Old 26th October 2002, 20:26   #169
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Yes, but it doesn't look good just like the Hebrew translation. RTL is already partially implemented in ChangeUI. Use ChangeUI /RTL "ui file.exe" and you will see. It isn't perfect yet but it's on the todo list so I hope it will be soon

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 1st November 2002, 20:57   #170
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Big change in the latest CVS version

The latest CVS version contains a new advanced paging system. It will break old scripts, but believe me when I say it is worth it. The new paging system allows you to set the order of the pages (including custom pages!) in NSIS very easily. For example:

PHP Code:
Page license
Page custom customPage
Page components
Page directory
Page instfiles 
Each page has two callback functions, pre-function and post-function. The pre-function is called just before the page is created and allows you to skip it using Abort. The post-function is called right after the page is created and before it is shown allowing you to tweak its UI using CreateFont and friends. Custom pages have only one callback function but it is mandatory. This function should create the page, and use Abort if it wants to go to the previous page.

What is it good for?
  • Modern UI way easier
  • Button names/enabled/disabled/shown/hidden are set automatically, custom pages no longer need to know where they are.
  • No need to follow the page number
  • You can add the same page twice
  • You can change the order of the pages
  • It's much easier to skip pages
  • It's much easier to add custom pages
  • No more keeping track on the direction of pages
  • No more complicated scripts such as MultIni4 or the Modern UI InstallOptions macros
  • EXE header is even smaller. 404 bytes shaved off
    zlib header is 34KB and bzip2 is 33.5KB.

All of the examples have been updated so you can look at them for more information. A new section in the documents about the new paging system was also created.

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 1st November 2002, 21:36   #171
CodeSquid
Member
 
Join Date: Dec 2001
Posts: 89
Wow!

That sounds great, can't wait to test this.

I only hate it to modify my scripts so often
CodeSquid is offline   Reply With Quote
Old 2nd November 2002, 00:32   #172
Jacob Metro
Junior Member
 
Jacob Metro's Avatar
 
Join Date: Nov 2002
Location: Alabama, United States of America
Posts: 31
Send a message via AIM to Jacob Metro Send a message via Yahoo to Jacob Metro
Works Fine in 2.07a

The code snippet appears to work fine in 2.07a
Jacob Metro is offline   Reply With Quote
Old 2nd November 2002, 09:54   #173
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
What code snippest?

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 November 2002, 10:21   #174
SQwerl
Junior Member
 
Join Date: Dec 2001
Location: USA
Posts: 41
A bit Off Topic

I was just wondering, if Justin has given his blessing on NSIS 2.*, and if so, when an 'official' release would be.
SQwerl is offline   Reply With Quote
Old 2nd November 2002, 10:41   #175
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Yes, just look a few posts above and you will see it.

Here is a little quote from there:
Quote:
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?

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 November 2002, 20:01   #176
SQwerl
Junior Member
 
Join Date: Dec 2001
Location: USA
Posts: 41
yeah i saw that. But that post is nearly 2 months old. And wasn't sure if anything changed or not.

So basically, it'll be official when you feel it is ready?
SQwerl is offline   Reply With Quote
Old 2nd November 2002, 20:11   #177
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Yep. Beta 0 will be released soon. Justin will put it on the nullsoft page (if we can find him ).
Joost Verburg is offline   Reply With Quote
Old 8th November 2002, 19:41   #178
RIV@NVX
Senior Member
 
RIV@NVX's Avatar
 
Join Date: Feb 2002
Location: Rijeka, Croatia
Posts: 396
Send a message via ICQ to RIV@NVX Send a message via AIM to RIV@NVX Send a message via Yahoo to RIV@NVX
There is an empty folder MagicLime in NSIS\Contrib. What is going on with it?

DriverHeaven Moderator
kX Product Quality Tester
RIV@NVX is offline   Reply With Quote
Old 8th November 2002, 19:53   #179
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Fixed, next snapshot will not have 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 9th November 2002, 12:52   #180
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
More changes

The paging system is now even easier than before. I have made it so NSIS will handle all of the buttons input while using a custom page, which means you don't need to compare IO's output to cancel, success or back and call Abort or Quit accordingly, just let NSIS do it. You won't even need to use IO and StartPage's cancel confirm message boxes because NSIS will call .onUserAbort, and the plug-in dialog won't disapear until .onUserAbort is executed without an Abort.

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 11th November 2002, 15:19   #181
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Added caption argument for custom pages. InstallOptions will not flicker anymore

IO pages now completely look like there one of NSIS's other pages.

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 11th November 2002, 23:12   #182
RIV@NVX
Senior Member
 
RIV@NVX's Avatar
 
Join Date: Feb 2002
Location: Rijeka, Croatia
Posts: 396
Send a message via ICQ to RIV@NVX Send a message via AIM to RIV@NVX Send a message via Yahoo to RIV@NVX
makensisw suggestions:
1. use Lucida Console for script display (or make font changeable)
2. change buttons and branding text to use Tahoma and maybe make it show NSIS 2.0b0, instead of only 2.0b0.

and, is it possible not to include that CVS empty folders in nightly builds?

my 0.02€ (I am from Europe)

DriverHeaven Moderator
kX Product Quality Tester
RIV@NVX is offline   Reply With Quote
Old 12th November 2002, 18:06   #183
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
It does show NSIS 2.0b0 and not only 2.0b. I will see what I can do about the font.

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 12th November 2002, 19:31   #184
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
The log font was chosen by Justin himself. I wouldn't dare change it
rainwater is offline   Reply With Quote
Old 12th November 2002, 20:08   #185
RIV@NVX
Senior Member
 
RIV@NVX's Avatar
 
Join Date: Feb 2002
Location: Rijeka, Croatia
Posts: 396
Send a message via ICQ to RIV@NVX Send a message via AIM to RIV@NVX Send a message via Yahoo to RIV@NVX
Quote:
Originally posted by rainwater
The log font was chosen by Justin himself. I wouldn't dare change it
Yeah, I remember now...

And font for buttons?

DriverHeaven Moderator
kX Product Quality Tester
RIV@NVX is offline   Reply With Quote
Old 12th November 2002, 20:49   #186
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
Quote:
Originally posted by RIV@NVX


Yeah, I remember now...

And font for buttons?
The font of the buttons is MS Shell Dlg, which on 2000/XP systems is Tahoma. On Win 9x, the font is *usually* MS Sans Serif.

For more info on why I have chosen this font look here.
rainwater is offline   Reply With Quote
Old 12th November 2002, 21:00   #187
RIV@NVX
Senior Member
 
RIV@NVX's Avatar
 
Join Date: Feb 2002
Location: Rijeka, Croatia
Posts: 396
Send a message via ICQ to RIV@NVX Send a message via AIM to RIV@NVX Send a message via Yahoo to RIV@NVX
Quote:
Originally posted by rainwater


The font of the buttons is MS Shell Dlg, which on 2000/XP systems is Tahoma. On Win 9x, the font is *usually* MS Sans Serif.

For more info on why I have chosen this font look here.
On my XP installation it is Microsoft Sans Serif. Weird. Shell Dlg 2 is Tahoma.

DriverHeaven Moderator
kX Product Quality Tester
RIV@NVX is offline   Reply With Quote
Old 12th November 2002, 21:11   #188
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
Quote:
Originally posted by RIV@NVX


On my XP installation it is Microsoft Sans Serif. Weird. Shell Dlg 2 is Tahoma.
MS Shell Dlg is a safe font used on all systems. While I could make it "Tahoma", it wouldn't necessarily work on all systems. Therefore, I choose MS Shell Dlg. You can easily change the source to be Tahoma if you wish. I plan on having an options dialog in the future to customize some things, so setting this might be a possibility. Right now, I don't have the time to do that though.
rainwater is offline   Reply With Quote
Old 13th November 2002, 06:18   #189
matt weagle
Junior Member
 
Join Date: May 2001
Posts: 7
Question Release ETA?

I know the ETA is "when it's done" , but I'd really like to pick up the new version for our upcoming release. Do you have an idea when you think it'll be ready to roll? I'm not asking for precise dates, but how about a ballpark: weeks, months, or longer? Our current install uses a custom NSIS build but it looks like 2.0 will have everything we need (and then some, especially multi-lingual support). I'm crossing my carpal-tunnel fingers...Thanks and keep up the good work.
matt weagle is offline   Reply With Quote
Old 13th November 2002, 06:55   #190
sdbarker
Senior Member
 
Join Date: Mar 2002
Posts: 133
Send a message via AIM to sdbarker Send a message via Yahoo to sdbarker
Just pull a nightly from http://nsis.sf.net

-Scott
sdbarker is offline   Reply With Quote
Old 6th December 2002, 23:02   #191
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The long awaited release is finally here, the first beta version of NSIS!

A lot of time has passed from the release of alpha 7, but not even a second of it was for slacking around. New features were constantly added, tons of bugs fixed. All was done to make NSIS quicker, smaller, easier and more powerful.

This release, unlike earlier alphas is no longer an unofficial modification. As of beta 0 this is an official beta as we work correspondingly with Justin Frankel, the original author of NSIS.

The main changes from alpha 7 are:
* Easier Modern User Interface with lots of new features
* New paging system which makes is easier to add custom pages to your installer
* New multilingual user strings
* Lots of new and improved plug-ins which you can use to download files from the internet, display additional graphics, run console programs and more!
* Over 15 new translations
* New documentation format

Download: https://sourceforge.net/project/show...ease_id=126427

Full change list: https://sourceforge.net/project/show...ease_id=126427

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 6th December 2002, 23:24   #192
Schultz
Member
 
Join Date: Oct 2001
Posts: 71
excellent work with this release..!
Schultz is offline   Reply With Quote
Old 7th December 2002, 10:13   #193
RIV@NVX
Senior Member
 
RIV@NVX's Avatar
 
Join Date: Feb 2002
Location: Rijeka, Croatia
Posts: 396
Send a message via ICQ to RIV@NVX Send a message via AIM to RIV@NVX Send a message via Yahoo to RIV@NVX
Yup, 200kb increase in size, but it's worth it...
Is this release going to be on Nullsoft's NSIS page (as Justin said)?

DriverHeaven Moderator
kX Product Quality Tester
RIV@NVX is offline   Reply With Quote
Old 7th December 2002, 10:17   #194
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Yep, it's going to be on Nullsoft's 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 7th December 2002, 10:52   #195
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
http://www.neowin.net/comments.php?c...ftware&id=7563

We're famous!

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 December 2002, 12:48   #196
RIV@NVX
Senior Member
 
RIV@NVX's Avatar
 
Join Date: Feb 2002
Location: Rijeka, Croatia
Posts: 396
Send a message via ICQ to RIV@NVX Send a message via AIM to RIV@NVX Send a message via Yahoo to RIV@NVX
Just that famous?
EntCity

DriverHeaven Moderator
kX Product Quality Tester
RIV@NVX is offline   Reply With Quote
Old 7th December 2002, 12:49   #197
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Well, it's a start

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 December 2002, 12:55   #198
RIV@NVX
Senior Member
 
RIV@NVX's Avatar
 
Join Date: Feb 2002
Location: Rijeka, Croatia
Posts: 396
Send a message via ICQ to RIV@NVX Send a message via AIM to RIV@NVX Send a message via Yahoo to RIV@NVX
kichik, put your development page as NSIS homepage because it is a lot nicer than Nullsoft's one (of course, do some modifications to it )

DriverHeaven Moderator
kX Product Quality Tester
RIV@NVX is offline   Reply With Quote
Old 7th December 2002, 17:44   #199
sdbarker
Senior Member
 
Join Date: Mar 2002
Posts: 133
Send a message via AIM to sdbarker Send a message via Yahoo to sdbarker
Congratulations, kichik & co.. Well done.

-Scott
sdbarker is offline   Reply With Quote
Old 8th December 2002, 01:12   #200
RIV@NVX
Senior Member
 
RIV@NVX's Avatar
 
Join Date: Feb 2002
Location: Rijeka, Croatia
Posts: 396
Send a message via ICQ to RIV@NVX Send a message via AIM to RIV@NVX Send a message via Yahoo to RIV@NVX
I remember kichik's announcement for 2.0a7...
Where is it, I can't find it?

DriverHeaven Moderator
kX Product Quality Tester
RIV@NVX 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