Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 22nd January 2007, 19:22   #1
Boyito
Senior Member
 
Join Date: Nov 2006
Location: Argentina
Posts: 142
Unhappy Unisntaller Language Detect

Ive write a multilanguage installer

The script use this line to set the selected language

!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"

Everything is ok when i run de installer shows to me to select language and when i run uninstaller, this know my "install" language reading the registry with the entry i write above.

The problem is, if i make 2 installers, i run both, the 1st shows to me lo select language but the 2nd never. it tooks the default operating system language and worst when i run the 1st unisntaller take the selected language and if i run the 2nd unistaller, this shows to me the select language dialog

It is OK?
This is the way that the install/unistall will run?

TIA
Boyito is offline   Reply With Quote
Old 22nd January 2007, 19:25   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
It's OK, as long as you give them both the same registry path. If you have two different installers, you'd usually want to give each of them a different registry path to save their settings.

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 January 2007, 19:42   #3
Boyito
Senior Member
 
Join Date: Nov 2006
Location: Argentina
Posts: 142
Hi kichik
I think that, but the
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language" is automatically used when i write
!insertmacro MUI_UNGETLANGUAGE
in my un.onInit Function

How can i "say" to NSIS to reach different registry entries

TIA
Boyito is offline   Reply With Quote
Old 22nd January 2007, 19:43   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
You said you have two installers. That means two scripts. Use a different registry entry in each script.

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 January 2007, 19:55   #5
Boyito
Senior Member
 
Join Date: Nov 2006
Location: Argentina
Posts: 142
Sorry But i not understand
If i not wrong the entry "NSIS:Language" is property of NSIS
How can i tell to NSIS my differente entry language??
Boyito is offline   Reply With Quote
Old 22nd January 2007, 20:00   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
It's not a property of NSIS, it's a property of your script. Simply change that !define line you pasted in your first post.

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
Reply
Go Back   Winamp 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