comparison gaim-installer.nsi @ 6233:0c64ba470632

[gaim-migrate @ 6726] Moved english language strings to src/win32/nsis/translations committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sat, 19 Jul 2003 18:28:01 +0000
parents 08606663df59
children 386d65dd7f0d
comparison
equal deleted inserted replaced
6232:48022cc36114 6233:0c64ba470632
71 !define MUI_ABORTWARNING 71 !define MUI_ABORTWARNING
72 72
73 !define MUI_UNINSTALLER 73 !define MUI_UNINSTALLER
74 !define MUI_UNCONFIRMPAGE 74 !define MUI_UNCONFIRMPAGE
75 75
76 # ;Remember the installer language
77 # !define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
78 # !define MUI_LANGDLL_REGISTRY_KEY ${GAIM_REG_KEY}
79 # !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
80
76 ;-------------------------------- 81 ;--------------------------------
77 ;Pages 82 ;Pages
78 83
79 !insertmacro MUI_PAGECOMMAND_WELCOME 84 !insertmacro MUI_PAGECOMMAND_WELCOME
80 !insertmacro MUI_PAGECOMMAND_LICENSE 85 !insertmacro MUI_PAGECOMMAND_LICENSE
88 ;Languages 93 ;Languages
89 94
90 !insertmacro MUI_LANGUAGE "English" 95 !insertmacro MUI_LANGUAGE "English"
91 96
92 ;-------------------------------- 97 ;--------------------------------
93 ;Language Strings 98 ;Translations
94 !ifndef WITH_GTK 99
95 LangString GTK_INSTALLER_NEEDED ${LANG_ENGLISH} \ 100 !include "${GAIM_NSIS_INCLUDE_PATH}\translations\english.nsh"
96 "The GTK+ runtime environment is either missing or needs to be upgraded.$\r \
97 Please install v${GTK_VERSION} or higher of the GTK+ runtime"
98 !endif
99 ; Componants Page
100 LangString GAIM_SECTION_TITLE ${LANG_ENGLISH} \
101 "Gaim Instant Messenger (required)"
102 LangString GTK_SECTION_TITLE ${LANG_ENGLISH} \
103 "GTK+ Rutime Environment (required)"
104 LangString GTK_THEMES_SECTION_TITLE ${LANG_ENGLISH} \
105 "GTK+ Themes"
106 LangString GTK_NOTHEME_SECTION_TITLE ${LANG_ENGLISH} \
107 "No Theme"
108 LangString GTK_WIMP_SECTION_TITLE ${LANG_ENGLISH} \
109 "Wimp Theme"
110 LangString GTK_BLUECURVE_SECTION_TITLE ${LANG_ENGLISH} \
111 "Bluecurve Theme"
112 LangString GTK_LIGHTHOUSEBLUE_SECTION_TITLE ${LANG_ENGLISH} \
113 "Light House Blue Theme"
114 LangString GAIM_SECTION_DESCRIPTION ${LANG_ENGLISH} \
115 "Core Gaim files and dlls"
116 LangString GTK_SECTION_DESCRIPTION ${LANG_ENGLISH} \
117 "A multi-platform GUI toolkit, used by Gaim"
118 LangString GTK_THEMES_SECTION_DESCRIPTION ${LANG_ENGLISH} \
119 "GTK+ Themes can change the look and feel of GTK+ applications."
120 LangString GTK_NO_THEME_DESC ${LANG_ENGLISH} \
121 "Don't install a GTK+ theme"
122 LangString GTK_WIMP_THEME_DESC ${LANG_ENGLISH} \
123 "GTK-Wimp (Windows impersonator) is a GTK theme that blends well into the Windows desktop environment."
124 LangString GTK_BLUECURVE_THEME_DESC ${LANG_ENGLISH} \
125 "The Bluecurve theme."
126 LangString GTK_LIGHTHOUSEBLUE_THEME_DESC ${LANG_ENGLISH} \
127 "The Lighthouseblue theme."
128
129 ; Extra GTK+ Dir Selector Page
130 LangString GTK_PAGE_TITLE ${LANG_ENGLISH} \
131 "Choose Install Location"
132 LangString GTK_PAGE_SUBTITLE ${LANG_ENGLISH} \
133 "Choose the folder in which to install GTK+"
134 LangString GTK_PAGE_INSTALL_MSG1 ${LANG_ENGLISH} \
135 "Setup will install GTK+ in the following folder"
136 LangString GTK_PAGE_INSTALL_MSG2 ${LANG_ENGLISH} \
137 "To install in a different folder, click Browse and select \
138 another folder. Click Next to continue."
139 LangString GTK_PAGE_UPGRADE_MSG1 ${LANG_ENGLISH} \
140 "Setup will upgrade GTK+ found in the following folder"
141 LangString GTK_UPGRADE_PROMPT ${LANG_ENGLISH} \
142 "An old version of the GTK+ runtime was found. Do you wish to upgrade? $\r \
143 Note: Gaim may not work unless you do."
144
145 ; Gaim Section Prompts and Texts
146 LangString GAIM_UNINSTALL_DESC ${LANG_ENGLISH} \
147 "Gaim (remove only)"
148 LangString GAIM_PROMPT_WIPEOUT ${LANG_ENGLISH} \
149 "You're old Gaim directory is about to be deleted. Would you like to continue?$\r$\r \
150 Note: Any non-standard plugins that you may have installed will be deleted. $\r \
151 Gaim user settings will not be affected."
152 LangString GAIM_PROMPT_DIR_EXISTS ${LANG_ENGLISH} \
153 "The installation directory you specified already exists. Any contents $\r \
154 it may have will be deleted. Would you like to continue?"
155
156 ; GTK+ Section Prompts
157 LangString GTK_INSTALL_ERROR ${LANG_ENGLISH} \
158 "Error installing GTK+ runtime."
159 LangString GTK_BAD_INSTALL_PATH ${LANG_ENGLISH} \
160 "The path you entered can not be accessed or created."
161 LangString GTK_DLL_CONFLICT_PROMPT ${LANG_ENGLISH} \
162 "Duplicate GTK+ dlls were found in your Windows dll search path and will$\r \
163 likely conflict with your GTK+ runtime installation. $\r$\r \
164 $\r \
165 Would you like to rename these dlls to avoid any possible conflicts?$\r \
166 (E.G. somedll.dll to somedll.dll.prob)$\r \
167 $\r \
168 Note: Any applications relying on these dlls will no longer function.$\r \
169 It is suggested that you contact the authors of these applications$\r \
170 to notify them of this conflict."
171 LangString GTK_INSTALL_TO_GAIM_DIR ${LANG_ENGLISH} \
172 "Installing GTK+ runtime package to your Gaim installation directory.$\r \
173 (This will prevent Gaim from using any of the duplicate dlls found in $\r \
174 in your Windows dll search path)."
175 LangString GTK_CAN_NOT_RENAME_CONFLICT_DLL ${LANG_ENGLISH} \
176 "A duplicate GTK+ dll was found in your Windows dll search path and will$\r \
177 likely conflict with your GTK+ runtime installation. $\r$\r \
178 You do not have permission to rename this file. To avoid any possible dll$\r \
179 conflicts, you can install the GTK+ runtime files to the Gaim installation$\r \
180 directory. Do you wish to do so?$\r$\r \
181 Note: You may also resolve these conflicts by logging on with an Admin account$\r \
182 and running the Gaim installer once more. This will enable the Gaim installer to$\r \
183 rename the conflict dlls."
184
185 ; GTK+ Themes section
186 LangString GTK_NO_THEME_INSTALL_RIGHTS ${LANG_ENGLISH} \
187 "You do not have permission to install a GTK+ theme."
188
189 ; Uninstall Section Prompts
190 LangString un.GAIM_UNINSTALL_ERROR_1 ${LANG_ENGLISH} \
191 "The uninstaller could not find registry entries for Gaim.$\r \
192 It is likely that another user installed this application."
193 LangString un.GAIM_UNINSTALL_ERROR_2 ${LANG_ENGLISH} \
194 "You do not have permission to uninstall this application."
195 101
196 102
197 ;-------------------------------- 103 ;--------------------------------
198 ;Data 104 ;Data
199 105
526 432
527 cont_uninstall: 433 cont_uninstall:
528 ; The WinPrefs plugin may have left this behind.. 434 ; The WinPrefs plugin may have left this behind..
529 DeleteRegValue HKCU "${GAIM_STARTUP_RUN_KEY}" "Gaim" 435 DeleteRegValue HKCU "${GAIM_STARTUP_RUN_KEY}" "Gaim"
530 DeleteRegValue HKLM "${GAIM_STARTUP_RUN_KEY}" "Gaim" 436 DeleteRegValue HKLM "${GAIM_STARTUP_RUN_KEY}" "Gaim"
437 # ; Remove Language prefrence info
438 # DeleteRegKey ${MUI_LANGDLL_REGISTRY_ROOT} ${MUI_LANGDLL_REGISTRY_KEY}
531 439
532 RMDir /r "$INSTDIR\locale" 440 RMDir /r "$INSTDIR\locale"
533 RMDir /r "$INSTDIR\pixmaps" 441 RMDir /r "$INSTDIR\pixmaps"
534 Delete "$INSTDIR\plugins\autorecon.dll" 442 Delete "$INSTDIR\plugins\autorecon.dll"
535 Delete "$INSTDIR\plugins\iconaway.dll" 443 Delete "$INSTDIR\plugins\iconaway.dll"
994 !insertmacro SelectSection ${SecGtkNone} 902 !insertmacro SelectSection ${SecGtkNone}
995 !insertmacro UnselectSection ${SecGtkWimp} 903 !insertmacro UnselectSection ${SecGtkWimp}
996 !insertmacro UnselectSection ${SecGtkBluecurve} 904 !insertmacro UnselectSection ${SecGtkBluecurve}
997 !insertmacro UnselectSection ${SecGtkLighthouseblue} 905 !insertmacro UnselectSection ${SecGtkLighthouseblue}
998 906
999 FunctionEnd 907 # ; Display Language selection dialog
908 # !insertmacro MUI_LANGDLL_DISPLAY
909
910 FunctionEnd
911
912 #Function un.onInit
913 #
914 # ; Get stored language prefrence
915 # !insertmacro MUI_UNGETLANGUAGE
916 #
917 #FunctionEnd
1000 918
1001 Function .onSelChange 919 Function .onSelChange
1002 Push $0 920 Push $0
1003 Push $2 921 Push $2
1004 922