- NSIS Discussion
- Released Plugin: MoreInfo, Keyword: Version info, Multilanguage, GUI Language
Archive: Released Plugin: MoreInfo, Keyword: Version info, Multilanguage, GUI Language
onad
6th June 2005 13:34 UTC
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
Joel
6th June 2005 14:06 UTC
Nice :) :up:
*testing*
kichik
7th June 2005 19:16 UTC
Please upload to the Wiki.
jcichonj@wp.pl
12th October 2005 14:55 UTC
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 :)
onad
22nd October 2005 22:41 UTC
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.
Wabiloo
18th August 2006 17:09 UTC
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?
Comm@nder21
18th August 2006 20:01 UTC
maybe you should try this:
MoreInfo::GetUserDefined "${SOURCE_DIR}\ComposerWin32.exe" "'Expected DB Version'"
Pop $1
MessageBox MB_OK "DBVersion=$1"
onad
21st August 2006 14:31 UTC
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
gringoloco023
24th January 2010 18:07 UTC
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 !
arif.ali.syed
19th March 2010 21:56 UTC
Hi Onad,
I just tried your script ( attached in this thread ) with
c:\windows\system32\kernel32.dll
but it did not give correct info
http://img12.imageshack.us/img12/1426/prodcutinfo.jpg
pengyou
20th March 2010 15:21 UTC
You can find a more up-to-date version of the plugin in the wiki:
http://nsis.sourceforge.net/MoreInfo_plug-in
When I tried the test scipt with kernel32.dll on my Windows 7 system it was able to display information about the DLL.
Koopa
26th March 2011 22:18 UTC
The download link for the Unicode version is dead:
http://www.fdos.org/win32/nsis/plugi...fo.1.0.1.2.zip
Has anyone a working download link? Thanks in advance.
pengyou
27th March 2011 00:19 UTC
The attached file was downloaded from http://www.fdos.org/win32/nsis/plugi...fo.1.0.1.2.zip over year ago. I've never used it so I don't know if it works properly.
PoRtAbLe_StEaLtH
3rd January 2013 15:45 UTC
Incredible
still works flawlessly :)
very useful for testing MUI messageboxes where $Language is dependent
thank you for sharing :up: