Skip to content
⌘ NSIS Forum Archive

Language Uninstall is different language install

6 posts

sunlight112#

Language Uninstall is different language install

I have a question. We can choose language in multi language to set up our program. When we uninstall our program, the language which supports is default language (eg: English) although we use France during our install.
How can I repair it to be suitable with my language which I choose?
🙄
Thanks, 🙂
pengyou#
If you are using the MUI then the answer is in the MUI ReadMe (under the "Language Selection Dialog Settings" heading:
For the uninstaller, insert the MUI_UNGETLANGUAGE macro in un.onInit to get the stored language preference:

Function un.onInit

!insertmacro MUI_UNGETLANGUAGE

FunctionEnd
That part of the MUI ReadMe also explains how to remember the language chosen during the installation.
sunlight112#
In my un.onInit function, I also put
!insertmacro MUI_UNGETLANGUAGE
It is still not to display true language 😱 . I has read readme MUI careful. When I test with Multi language example. It corrects. 😕
I will send you my test. If you can, you can show me where it is wrong.
In addition, when I install with japanese language. I could not uninistall with it although I do it well with English.
Thank in advance, 🙂
monark#
How did you solve this in the end, I have the same problem and can't get the install language to be remembered for the uninstaller