|
|
#1 |
|
Senior Member
Join Date: Nov 2006
Location: Argentina
Posts: 142
|
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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] 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 |
|
|
|
|
|
#3 |
|
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 |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] 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 |
|
|
|
|
|
#5 |
|
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?? |
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] 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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|