It is ready! My modifications of NSIS 2. Everything that was in NSIS 1.99 and even more. To see what's new go here.
This time it is hosted on SourceForge. CVS will be available soon. Project page can be found here
Download your copy here.
Request features here.
Post bugs here.
Click here to monitor this package (if you have a SourceForge account).
I will keep you updated on developments both here and on SourceForge. Please try to put all bug reports/requests on SourceForge.
NSIS 2 - Beta 0 is out!
202 posts
Please answer this survey, it is about multiple languages:
Originally posted by kichikAm I the only one not having a sourceforge account? 😱
Please answer this survey, it is about multiple languages:
http://sourceforge.net/survey/survey...urvey_id=13396
As I said before: if you need assistance with a german translation I'll be happy to help 🙂
as i explained to Kichik, i offer my help for the french transaltion ! Yeh, officially said 😁 😉
Great work!
The included source has some compile errors, can you fix 'em? 🙂
Other suggestions:
* A command to change the license, directory etc. dialogs
* A text on the top of the 'Browse For Folder' dialog
The included source has some compile errors, can you fix 'em? 🙂
Other suggestions:
* A command to change the license, directory etc. dialogs
* A text on the top of the 'Browse For Folder' dialog
What compile errors? What compiler?
Suggestions added into todo list. Next time please use SourceForge.
Suggestions added into todo list. Next time please use SourceForge.
I'm using MS Visual C++ 6.
I'll use SF next time. 😉 Should I submit suggestions I made earlier again (Build-in splash screen) ?
NSIS\Source\exehead\Ui.c(554) : error C2065: 'IDC_HAND' : undeclared identifier
NSIS\Source\exehead\Ui.c(554) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
NSIS\Source\exehead\Ui.c(554) : warning C4024: 'LoadCursorA' : different types for formal and actual parameter 2
NSIS\Source\exehead\Ui.c(634) : error C2065: 'BIF_NEWDIALOGSTYLE' : undeclared identifier
thank you so much, kichik! if you are looking for a german translation, let me know 🙂
Download ui.c from the CVS. It should solve that.
You don't need to resubmit anything, I have it all written down.
You don't need to resubmit anything, I have it all written down.
Multiple languages in one installer option is almost ready.
So here is yet another small teaser 😁
So here is yet another small teaser 😁
Great, I'll wait for the next release 😁 When it is possible to customize all the dialogs, I'll make a modern-style UI for NSIS (like Inno Setup, InstallShield etc.).
Found another one 🙂
You should remove this from the NSIS install script:
You should remove this from the NSIS install script:
WriteRegStr HKCR "NSISFile\shell\compile-bz2" "" "Compile NSI (with bz2)"
WriteRegStr HKCR "NSISFile\shell\compile-bz2\command" "" \
'"$INSTDIR\makensisw.exe" "$INSTDIR\makensis.exe" /CD /X"SetCompressor bzip2" "%1"'
Kichik, thought about BiDi support?(Hebrew, Arabic, etc...) Should go from right-to-left in those cases.
I'm sure you've noticed that in the image you posted here... 😉
I'm sure you've noticed that in the image you posted here... 😉
Joost, I left it there for backward support, it works.
Nant, when I finish writing ChangeUI (make all dialogs changeable), you will be able to load a BiDi UI for Hebrew, Arabic and all others.
Nant, when I finish writing ChangeUI (make all dialogs changeable), you will be able to load a BiDi UI for Hebrew, Arabic and all others.
Another survery. This time about mutliple languages.
Please answer: http://sourceforge.net/survey/survey...urvey_id=13412
Please answer: http://sourceforge.net/survey/survey...urvey_id=13412
as we would be able to select language, i hope, we would be able to set visible or invisible this page 😉 !
At the moment you can't select a language. You can only select the default if the user's default language doesn't match any of the languages you inserted into the installer.
What page are you referring to?
What page are you referring to?
Well, as you were talking about a .onLanguageSelect function, i though there would be a special page, with a listbox, that would have allowed the user to select one of the available language !
We could use InstallOptions to do so, i know ! If so, what would be the use of such a function ?
We could use InstallOptions to do so, i know ! If so, what would be the use of such a function ?
If people vote yes for that option, you will be able to create an InstallOptions page to select the language.
So OK 😁
I voted "Yes" (more work to do 😉..... 😁) !
I voted "Yes" (more work to do 😉..... 😁) !
Originally posted by kichikOops, I see, it does not use makensis-bz2 anymore 🙂 Maybe you can make it optional in the installer.
Joost, I left it there for backward support, it works.
Nant, when I finish writing ChangeUI (make all dialogs changeable), you will be able to load a BiDi UI for Hebrew, Arabic and all others.
I don't think it should be optional, it is very convenient and helpful.
Alpha 3 is out!
Added LoadLanguageFile
Added $LANGUAGE
Added /LANG option to string setters (Name, Caption, etc.)
'LogSet on' now builds a log file if not already created
Links can be found in the first post of this thread.
Added LoadLanguageFile
Added $LANGUAGE
Added /LANG option to string setters (Name, Caption, etc.)
'LogSet on' now builds a log file if not already created
Links can be found in the first post of this thread.
1) It shows NSISv2a2 during install !
2) this fails during copy, just after Output Dir ! Seems to be like an infinite loop (my system resources goes down ....) !
2) this fails during copy, just after Output Dir ! Seems to be like an infinite loop (my system resources goes down ....) !
Big oops 🙁
Working on it... [edit]Done! Thanks veekee[/edit]
Working on it... [edit]Done! Thanks veekee[/edit]
greaaat ! thanks a lot ...
👍
But there are no example of language use 🙁 !
BTW : great 👍
👍
But there are no example of language use 🙁 !
BTW : great 👍
OK... lets go :
1) if LoadLanguage is not the first command, it seems that Name is skipped during compilation ...
2) LoadLanguage can only be used ouside a function .... This means that i can't write (in C++ style):
if($LANGUAGE==1036)
LoadLanguage "French.nlf"
else
LoadLanguage "English.nlf"
Currrently, the function is used during generation, not during the install process !
3) would we able, if language is set on-the-fly, to be able to use different LicenseText, depending of the language ?
4) how work $LANGUAGE ? Is the the language of the language file, of the one of the system ?
Thanks a lot 😉
1) if LoadLanguage is not the first command, it seems that Name is skipped during compilation ...
2) LoadLanguage can only be used ouside a function .... This means that i can't write (in C++ style):
if($LANGUAGE==1036)
LoadLanguage "French.nlf"
else
LoadLanguage "English.nlf"
Currrently, the function is used during generation, not during the install process !
3) would we able, if language is set on-the-fly, to be able to use different LicenseText, depending of the language ?
4) how work $LANGUAGE ? Is the the language of the language file, of the one of the system ?
Thanks a lot 😉
LoadLanguageFile was meant to be used outside of functions. It doesn't make any sense to load it by the installer. $LANGUAGE is the lagnuage used on the user system. It is there to let you choose if you want to display a message in French or English.
LicenseText alreayd have a /LANG option so you can set different license texts for each language. You can also set different license data files for each language.
I will look into that name problem. [edit]Works for me... please try again[/edit]
LicenseText alreayd have a /LANG option so you can set different license texts for each language. You can also set different license data files for each language.
I will look into that name problem. [edit]Works for me... please try again[/edit]
Bug
When using makeNSIS V2.0a3 with this code:
37 SubCaption 0 ": Lizenz-Vereinbarung"
38 SubCaption 1 ": Installations-Optionen"
39 SubCaption 2 ": Installations-Verzeichnis"
40 SubCaption 3 ": Installiere Daten"
41 SubCaption 4 ": Installation abgeschlossen"
I get this error message:
Usage: SubCaption [/LANG=lang_id] page_number(0-4) new_subcaption
Error in script "G:\Programme\Smarty\Smarty.nsi" on line 40 -- aborting creation process
After removing the lines 40 and 41 (SubCaption 3 & 4) my installer compiles w/o error messages.
When using makeNSIS V2.0a3 with this code:
37 SubCaption 0 ": Lizenz-Vereinbarung"
38 SubCaption 1 ": Installations-Optionen"
39 SubCaption 2 ": Installations-Verzeichnis"
40 SubCaption 3 ": Installiere Daten"
41 SubCaption 4 ": Installation abgeschlossen"
I get this error message:
Usage: SubCaption [/LANG=lang_id] page_number(0-4) new_subcaption
Error in script "G:\Programme\Smarty\Smarty.nsi" on line 40 -- aborting creation process
After removing the lines 40 and 41 (SubCaption 3 & 4) my installer compiles w/o error messages.