WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > Released Plugin: MoreInfo, Keyword: Version info, Multilanguage, GUI Language
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
onad
Senior Member

Registered: Dec 2004
From: Turkey

Lightbulb Released Plugin: MoreInfo, Keyword: Version info, Multilanguage, GUI Language

A new NSIS plugin released incl. source and examples
Name: MoreInfo
Keywords: Version info, Multilanguage demo, OS GUI Language

Goal of MoreInfo
----------------------------------------------
The goal of the MoreInfo NSIS Plugin is to CORRECTLY retreive version information from files AND to retreive the Windows OS User interface Language!

MoreInfo gives a complete valid NSIS Language define as an output. This can be any Language defined and supported by NSIS and even some that are not recognized by Windows. (It is not necessary that the host system actually support the locale with fonts, keyboard mappings, and so on.)

The theory is that if the user can use the PC, he sure will be able to read the userinterface language.

This way we avoid asking the user for a installation language to use, and is the installer GUI presented in the same language as the Windows OS User interface Language.

The current way of retreiving a Locale setting was not satisfying enough since a user could have an English Windows OS and set is locale to e.g. France, the installer would be presented in French this way, although the GUI language was English.

Just try it, you will see what advantage it can give.

History
----------------------------------------------
A NSIS plugin called FileInfo sadly gave unexpected results on various Windows OS's. This is how More Info was born... I needed correct information in all cases. And I also needed the OS GUI language.

Since Windows has NO API to get the OS GUI language, I created this solution myself. Maybe it can help you too.

Feel free to comment and improve, I will respond if I have some time left

Emin

Attachment: nsis_moreinfo_plugin_v1.0.1.1_source_and_examples.zip
This has been downloaded 581 time(s).

__________________
"Just do it"

Quick Link | Report this post to a moderator | IP: Logged

onad is offline Old Post 06-06-2005 12:34 PM
Click Here to See the Profile for onad Click here to Send onad a Private Message Find more posts by onad Add onad to your buddy list Edit/Delete Message Reply w/Quote
Joel
Debian user
(Forum King)

Registered: Jan 2003
From: Ubuntu land

Nice

*testing*

__________________

* Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM.
* Ubuntu 9.10 64-bits.
* Firefox (Namoroka) 3.6.2.
* lighttpd, php5, perl, eruby, python.
* geany, XHTML & CSS & JavaScript, Gtk+, QT4, bindings.

Quick Link | Report this post to a moderator | IP: Logged

Joel is offline Old Post 06-06-2005 01:06 PM
Click Here to See the Profile for Joel Click here to Send Joel a Private Message Click Here to Email Joel Visit Joel's homepage! Find more posts by Joel Add Joel to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Israel

Please upload to the Wiki.

__________________
NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 06-07-2005 06:16 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
jcichonj@wp.pl
Guest

Registered: Not Yet
From:

Question Language Neutral

Could you please check if it works with "language neutral" ?
It does not show version info, if "language" property is set to "language neutral" in tested file.
Thanks in advance

Quick Link | Report this post to a moderator | IP: Logged

Old Post 10-12-2005 01:55 PM
Edit/Delete Message Reply w/Quote
onad
Senior Member

Registered: Dec 2004
From: Turkey

Well, I did not see your post since I was bussy with other things than NSIS for a while.

Q:I also would like to a little more explanation of what you want to acieve, I'm afraid I do not fully understand what you mean with your question.

Then maybe I can help you out.

Quick Link | Report this post to a moderator | IP: Logged

onad is offline Old Post 10-22-2005 09:41 PM
Click Here to See the Profile for onad Click here to Send onad a Private Message Find more posts by onad Add onad to your buddy list Edit/Delete Message Reply w/Quote
Wabiloo
Member

Registered: Sep 2002
From:

In an executable of mine, there is a user defined piece of information called "Expected DB Version" (with spaces)

The following returns an empty $1

MoreInfo::GetUserDefined "${SOURCE_DIR}\ComposerWin32.exe" "Expected DB Version"
Pop $1
MessageBox MB_OK "DBVersion=$1"

Is this due to the spaces in the field name?

Quick Link | Report this post to a moderator | IP: Logged

Wabiloo is offline Old Post 08-18-2006 04:09 PM
Click Here to See the Profile for Wabiloo Click here to Send Wabiloo a Private Message Find more posts by Wabiloo Add Wabiloo to your buddy list Edit/Delete Message Reply w/Quote
Comm@nder21
Major Dude

Registered: Jul 2003
From: germany, b-w

maybe you should try this:

MoreInfo::GetUserDefined "${SOURCE_DIR}\ComposerWin32.exe" "'Expected DB Version'"
Pop $1
MessageBox MB_OK "DBVersion=$1"

__________________
hand by comm@nder21
----------
WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility

Quick Link | Report this post to a moderator | IP: Logged

Comm@nder21 is offline Old Post 08-18-2006 07:01 PM
Click Here to See the Profile for Comm@nder21 Click here to Send Comm@nder21 a Private Message Click Here to Email Comm@nder21 Visit Comm@nder21's homepage! Find more posts by Comm@nder21 Add Comm@nder21 to your buddy list Edit/Delete Message Reply w/Quote
onad
Senior Member

Registered: Dec 2004
From: Turkey

Exclamation

Hi Wabiloo,

If you could send a link to the the .EXE file with the troublesome version resource file I'm willing to investigate and see if we could solve you issue.

TIA

__________________
"Just do it"

Quick Link | Report this post to a moderator | IP: Logged

onad is offline Old Post 08-21-2006 01:31 PM
Click Here to See the Profile for onad Click here to Send onad a Private Message Find more posts by onad Add onad to your buddy list Edit/Delete Message Reply w/Quote
gringoloco023
Junior Member

Registered: Nov 2009
From:

Unicode NSIS

Hi onad,

I hope you are still actively developing this plug-in?
Because, I am (we are) looking for the MoreInfo plg-in, recompiled to work with Unicode NSIS.
It would be really appreciated, as we are in need of a fair few plugins with Unicode NSIS support!

Link to Unicode NSIS homepage: scratchpaper.com/home
Link our project: portableapps.com/node/21879

Thanx a lot, in advance !

Quick Link | Report this post to a moderator | IP: Logged

gringoloco023 is offline Old Post 01-24-2010 06:07 PM
Click Here to See the Profile for gringoloco023 Click here to Send gringoloco023 a Private Message Click Here to Email gringoloco023 Find more posts by gringoloco023 Add gringoloco023 to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 07:02 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > Released Plugin: MoreInfo, Keyword: Version info, Multilanguage, GUI Language
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON