Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 10th February 2006, 01:46   #1
hsl9999
Junior Member
 
Join Date: Feb 2006
Posts: 5
Uninstall:How to create uninstall.exe by different language?

dear everybody
i don't create uninstall.exe by different language.

why ?

section uninstall
WriteUninstaller "$INSTDIR\Uninstall.exe"

hellp me.
Thanks guys.
hsl9999 is offline   Reply With Quote
Old 10th February 2006, 07:52   #2
glory_man
Senior Member
 
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
Section "uninstall" need to uninstall product. Here you can delete installed files. To create uninstaller use one of the installer sections or functions.
glory_man is offline   Reply With Quote
Old 10th February 2006, 09:17   #3
hsl9999
Junior Member
 
Join Date: Feb 2006
Posts: 5
Thank you.
But it have a lot of question.
I install product by French,but when I Uninstall product , its language is english.
why?
Thanks guys.
hsl9999 is offline   Reply With Quote
Old 10th February 2006, 09:30   #4
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
code:

!define APP_NAME MyApp
!define COMP_NAME MyCompany
!define REG_PATH "Software\${COMP_NAME}\${APP_NAME}"
!define MUI_LANGDLL_REGISTRY_ROOT HKCU
!define MUI_LANGDLL_REGISTRY_KEY "${REG_PATH}"
!define MUI_LANGDLL_REGISTRY_VALUENAME Language
!insertmacro MUI_RESERVEFILE_LANGDLL


This registry value (1033, 1036, 1049) also helps with current user lang when application is running.
Takhir is offline   Reply With Quote
Old 10th February 2006, 11:07   #5
glory_man
Senior Member
 
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
And don't forget
code:

!insertmacro MUI_UNGETLANGUAGE


in un.onInit function.
glory_man is offline   Reply With Quote
Old 11th February 2006, 02:15   #6
hsl9999
Junior Member
 
Join Date: Feb 2006
Posts: 5
Thank guys.
hsl9999 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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