Merge branch 'master' of https://git.code.sf.net/p/maxima/code into master
[maxima.git] / maxima.iss.in
blobc82de7a6c4a1ecfe553ea2c4872dbaa0defdd4e1
1 ;;----------------------------------------------------------------;;
2 ;; -- maxima.iss -- Maxima InnoSetup installation script ;;
3 ;;----------------------------------------------------------------;;
4 ;; ;;
5 ;; * InnoSetup version 5.1.7 or above is recommended ;;
6 ;; ;;
7 ;; * IMPORTANT! ;;
8 ;; Section [CustomMessages] below contains messages ;;
9 ;; in several 8-bit encodings (code pages 1251, 1252). ;;
10 ;; Don't use any encoding conversion tool (e.g. iconv, ;;
11 ;; recode) on this file directly! ;;
12 ;; ;;
13 ;;----------------------------------------------------------------;;
15 [Setup]
16 AppName=Maxima (@DEFAULTLISP@)
17 AppVerName=Maxima (@DEFAULTLISP@) @VERSION@
18 AppId=Maxima-@DEFAULTLISP@-@VERSION@
19 UsePreviousAppDir=no
20 AppPublisher=The Maxima Development Team
21 AppPublisherURL=http://maxima.sourceforge.net
22 AppSupportURL=http://maxima.sourceforge.net
23 AppUpdatesURL=http://maxima.sourceforge.net
24 AppVersion=@VERSION@
25 #if "@win64_installer@" == "true"
26 OutputBaseFilename=maxima-@DEFAULTLISP@-@VERSION@-win64
27 ArchitecturesAllowed=x64
28 ArchitecturesInstallIn64BitMode=x64
29 #else
30 OutputBaseFilename=maxima-@DEFAULTLISP@-@VERSION@
31 #endif
32 DefaultDirName={pf}\Maxima-@DEFAULTLISP@-@VERSION@
33 DefaultGroupName=Maxima @VERSION@ (@DEFAULTLISP@)
34 InfoBeforeFile=interfaces\xmaxima\win32\InfoBefore.txt
35 InfoAfterFile=interfaces\xmaxima\win32\readme_en.txt
36 AllowNoIcons=yes
37 LicenseFile=@prefix@\share\maxima\@VERSION@\doc\COPYING
38 Compression=lzma/ultra
39 SolidCompression=yes
40 Uninstallable=yes
41 UninstallFilesDir={app}\uninst
42 ShowLanguageDialog=yes
43 ChangesAssociations=yes
44 PrivilegesRequired=none
47 [Languages]
48 Name: "en"; MessagesFile: "compiler:Default.isl"
49 Name: "fr"; MessagesFile: "compiler:Languages\French.isl"; InfoBeforeFile: "interfaces\xmaxima\win32\InfoBefore_fr.txt"; InfoAfterFile: "interfaces\xmaxima\win32\readme_fr.txt"
50 Name: "de"; MessagesFile: "compiler:Languages\German.isl"; InfoBeforeFile: "interfaces\xmaxima\win32\InfoBefore_de.txt"; InfoAfterFile: "interfaces\xmaxima\win32\readme_de.txt"
51 Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"; InfoBeforeFile: "interfaces\xmaxima\win32\InfoBefore_it.txt"; InfoAfterFile: "interfaces\xmaxima\win32\readme_it.txt"
52 Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl"; InfoBeforeFile: "interfaces\xmaxima\win32\InfoBefore_es.txt"; InfoAfterFile: "interfaces\xmaxima\win32\readme_es.txt"
53 Name: "pt_BR"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"; InfoBeforeFile: "interfaces\xmaxima\win32\InfoBefore_pt_BR.txt"; InfoAfterFile: "interfaces\xmaxima\win32\readme_pt_BR.txt"
54 Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl"; InfoBeforeFile: "interfaces\xmaxima\win32\InfoBefore_pt.txt"; InfoAfterFile: "interfaces\xmaxima\win32\readme_pt.txt"
55 Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl"; InfoBeforeFile: "interfaces\xmaxima\win32\InfoBefore_ru.txt"; InfoAfterFile: "interfaces\xmaxima\win32\readme_ru.txt"
58 [Types]
59 Name: "full"; Description: "{cm:FullInstallation}"
60 Name: "compact"; Description: "{cm:CompactInstallation}"
61 Name: "custom"; Description: "{cm:CustomInstallation}"; Flags: iscustom
64 [Components]
65 Name: "core"; Description: "{cm:MaximaCore}"; Types: full compact custom; Flags: fixed
66 Name: "wxmaxima"; Description: "{cm:wxMaximaGraphicShell}"; Types: full custom
67 Name: "xmaxima"; Description: "{cm:XMaximaGraphicShell}"; Types: full custom
68 #if "@lang_es@" == "true" || "@lang_pt@" == "true" ||"@lang_pt_br@" == "true"
69 Name: "lang"; Description: "{cm:MaximaLanguagePacks}"; Types: full custom
70 #endif
71 #if "@lang_es@" == "true"
72 Name: "lang\spanish"; Description: "{cm:Spanish}"; Types: full custom
73 #endif
74 #if "@lang_pt@" == "true"
75 Name: "lang\portuguese"; Description: "{cm:Portuguese}"; Types: full custom
76 #endif
77 #if "@lang_pt_br@" == "true"
78 Name: "lang\brazilian"; Description: "{cm:BrazilianPortuguese}"; Types: full custom
79 #endif
82 [Tasks]
83 Name: "wxmdesktopicon"; Description: "{cm:CreateMyDesktopIcon,wxMaxima}"; GroupDescription: "{cm:AdditionalIcons}"; MinVersion: 4,4; Components: "wxmaxima"
84 Name: "xmdesktopicon"; Description: "{cm:CreateMyDesktopIcon,XMaxima}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; MinVersion: 4,4; Components: "xmaxima"
87 [Files]
88 ; core
89 Source: "@prefix@\bin\maxima-command.ico"; DestDir: "{app}\bin\"; Flags: ignoreversion; Components: "core"
90 Source: "@prefix@\bin\maxima.bat"; DestDir: "{app}\bin\"; Flags: ignoreversion; AfterInstall: ReplaceApp(); Components: "core"
91 Source: "@prefix@\readme_*.txt"; DestDir: "{app}"; Components: "core"
92 Source: "@prefix@\*.*"; Excludes: "\bin\xmaxima.*,\bin\xmaxima,\wxMaxima,\info,\share\maxima\@VERSION@\doc\html,\share\maxima\@VERSION@\doc\chm"; DestDir: "{app}\"; Flags: recursesubdirs; Components: "core"
93 Source: "@prefix@\share\maxima\@VERSION@\doc\html\intromax.html"; DestDir: "{app}\share\maxima\@VERSION@\doc\html\"; Flags: ignoreversion; Components: "core"
94 Source: "@prefix@\share\maxima\@VERSION@\doc\chm\maxima.chm"; DestDir: "{app}\share\maxima\@VERSION@\doc\chm\"; Flags: ignoreversion; Components: "core"
95 Source: "@prefix@\share\info\*.*"; DestDir: "{app}\info\"; Flags: ignoreversion; Components: "core"
97 ; wmaxima
98 Source: "@prefix@\wxMaxima\*.*"; DestDir: "{app}\wxMaxima\"; Flags: ignoreversion recursesubdirs; Components: "wxmaxima"
100 ; xmaxima
101 Source: "@prefix@\bin\xmaxima.*"; DestDir: "{app}\bin\"; Flags: ignoreversion; Components: "xmaxima"
102 Source: "@prefix@\bin\xmaxima"; DestDir: "{app}\bin\"; Flags: ignoreversion; Components: "xmaxima"
104 ; lang\spanish
105 #if "@lang_es@" == "true"
106 Source: "@prefix@\share\info\es\*.*"; DestDir: "{app}\info\es\"; Flags: recursesubdirs; Components: "lang\spanish"
107 Source: "@prefix@\share\maxima\@VERSION@\doc\chm\es\maxima.chm"; DestDir: "{app}\share\maxima\@VERSION@\doc\chm\es\"; Components: "lang\spanish"
108 #endif
109 ; lang\portuguese
110 #if "@lang_pt@" == "true"
111 Source: "@prefix@\share\info\pt\*.*"; DestDir: "{app}\info\pt\"; Flags: recursesubdirs; Components: "lang\portuguese"
112 Source: "@prefix@\share\maxima\@VERSION@\doc\chm\pt\maxima.chm"; DestDir: "{app}\share\maxima\@VERSION@\doc\chm\pt\"; Components: "lang\portuguese"
113 #endif
114 ; lang\brazilian
115 #if "@lang_pt_br@" == "true"
116 Source: "@prefix@\share\info\pt_BR\*.*"; DestDir: "{app}\info\pt_BR\"; Flags: recursesubdirs; Components: "lang\brazilian"
117 Source: "@prefix@\share\maxima\@VERSION@\doc\chm\pt_BR\maxima.chm"; DestDir: "{app}\share\maxima\@VERSION@\doc\chm\pt_BR\"; Components: "lang\brazilian"
118 #endif
121 [Icons]
122 ; core
123 Name: "{group}\{cm:CommandLineMaxima}"; Filename: "{app}\bin\maxima.bat"; IconFilename: "{app}\bin\maxima-command.ico"; Components: "core"
124 Name: "{group}\{cm:Introduction}"; Filename: "{app}\share\maxima\@VERSION@\doc\html\intromax.html"; WorkingDir: "{app}\share\maxima\@VERSION@"; Components: "core"
125 Name: "{group}\{cm:ReferenceManual}"; Filename: "{app}\share\maxima\@VERSION@\doc\chm\maxima.chm"; WorkingDir: "{app}\share\maxima\@VERSION@"; Components: "core"
126 Name: "{group}\{cm:ReadmeMenuEntry}"; Filename: "{app}\readme_{language}.txt"; Components: "core"
128 ; wxmaxima
129 Name: "{group}\wxMaxima"; Filename: "{app}\wxMaxima\wxmaxima.exe"; WorkingDir: "{app}\wxMaxima"; Components: "wxmaxima"
130 Name: "{userdesktop}\wxMaxima"; Filename: "{app}\wxMaxima\wxmaxima.exe"; MinVersion: 4,4; Tasks: wxmdesktopicon; WorkingDir: "{app}\wxMaxima"; Components: "wxmaxima"
132 ; xmaxima
133 Name: "{group}\XMaxima"; Filename: "{app}\bin\xmaxima.exe"; IconFilename: "{app}\share\maxima\@VERSION@\xmaxima\maxima-icon.ico"; Components: "xmaxima"
134 Name: "{userdesktop}\XMaxima"; Filename: "{app}\bin\xmaxima.exe"; MinVersion: 4,4; Tasks: xmdesktopicon; IconFilename: "{app}\share\maxima\@VERSION@\xmaxima\maxima-icon.ico"; Components: "xmaxima"
136 Name: "{group}\{cm:Uninstall}"; Filename:"{uninstallexe}"
138 ; lang\spanish
139 #if "@lang_es@" == "true"
140 Name: "{group}\{cm:ReferenceManualSpanish}"; Filename: "{app}\share\maxima\@VERSION@\doc\chm\es\maxima.chm"; WorkingDir: "{app}\share\maxima\@VERSION@"; Components: "lang\spanish"
141 #endif
142 ; lang\portuguese
143 #if "@lang_pt@" == "true"
144 Name: "{group}\{cm:ReferenceManualPortuguese}"; Filename: "{app}\share\maxima\@VERSION@\doc\chm\pt\maxima.chm"; WorkingDir: "{app}\share\maxima\@VERSION@"; Components: "lang\portuguese"
145 #endif
146 ; lang\brazilian
147 #if "@lang_pt_br@" == "true"
148 Name: "{group}\{cm:ReferenceManualBrazilianPortuguese}"; Filename: "{app}\share\maxima\@VERSION@\doc\chm\pt_BR\maxima.chm"; WorkingDir: "{app}\share\maxima\@VERSION@"; Components: "lang\brazilian"
149 #endif
151 ;[Run]
152 ;Filename: "{app}\bin\xmaxima.exe"; Description: "{cm:LaunchProgram,XMaxima}"; Flags: postinstall skipifsilent skipifdoesntexist
153 ;Filename: "{app}\wxMaxima\wxmaxima.exe"; Description: "{cm:LaunchProgram,wxMaxima}"; Flags: postinstall skipifsilent skipifdoesntexist
156 [Registry]
157 Root: HKCR; Subkey: ".wxm"; ValueType: string; ValueName: ""; ValueData: "Maxima.wxMaxima"; Flags: uninsdeletekey
158 Root: HKCR; Subkey: "Maxima.wxMaxima"; ValueType: string; ValueName: ""; ValueData: "{cm:wxMaximaSession}"; Flags: uninsdeletekey
159 Root: HKCR; Subkey: "Maxima.wxMaxima\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\wxMaxima\wxmaxima.exe,1"
160 Root: HKCR; Subkey: "Maxima.wxMaxima\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\wxMaxima\wxmaxima.exe"" -o ""%1"""
162 Root: HKCR; Subkey: ".wxmx"; ValueType: string; ValueName: ""; ValueData: "Maxima.wxMaximaX"; Flags: uninsdeletekey
163 Root: HKCR; Subkey: ".wxmx\ShellNew"; ValueType: string; ValueName: "NullFile"; ValueData: ""; Flags: uninsdeletekey
164 Root: HKCR; Subkey: "Maxima.wxMaximaX"; ValueType: string; ValueName: ""; ValueData: "{cm:wxMaximaSession}"; Flags: uninsdeletekey
165 Root: HKCR; Subkey: "Maxima.wxMaximaX\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\wxMaxima\wxmaxima.exe,1"
166 Root: HKCR; Subkey: "Maxima.wxMaximaX\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\wxMaxima\wxmaxima.exe"" -o ""%1"""
169 [CustomMessages]
172 ;=== English === LID=$0409 CodePage=0
174 FullInstallation=Full installation
175 CompactInstallation=Compact installation
176 CustomInstallation=Custom installation
177 Uninstall=Uninstall
178 wxMaximaSession=wxMaxima Session
180 MaximaCore=Maxima core with command line interface
181 wxMaximaGraphicShell=wxMaxima graphic shell
182 XMaximaGraphicShell=XMaxima graphic shell
183 MaximaLanguagePacks=Maxima language packs
185 German=German
186 French=French
187 Italian=Italian
188 Portuguese=Portuguese
189 BrazilianPortuguese=Brazilian Portuguese
190 Russian=Russian
191 Spanish=Spanish
193 CreateMyDesktopIcon=Create %1 desktop icon
195 CommandLineMaxima=Command line Maxima
196 Introduction=Introduction
197 ReferenceManual=Reference Manual
198 Readme=README
199 ReadmeMenuEntry=README
201 OnlineForum=%1 Online Forum
203 ReferenceManualGerman=Reference Manual (German)
204 ReferenceManualFrench=Reference Manual (French)
205 ReferenceManualItalian=Reference Manual (Italian)
206 ReferenceManualPortuguese=Reference Manual (Portuguese)
207 ReferenceManualBrazilianPortuguese=Reference Manual (Brazilian Portuguese)
208 ReferenceManualRussian=Reference Manual (Russian)
209 ReferenceManualSpanish=Reference Manual (Spanish)
212 ;=== German === LID=$0407 CodePage=1252
214 de.FullInstallation=Vollständige Installation
215 de.CompactInstallation=Kompakte Installation
216 de.CustomInstallation=Benutzerdefinierte Installation
217 de.Uninstall=Deinstallation
218 de.wxMaximaSession=wxMaxima-Sitzung
220 de.MaximaCore=Maxima-Programmkern mit Eingabeaufforderung
221 de.wxMaximaGraphicShell=wxMaxima (graphische Oberfläche)
222 de.XMaximaGraphicShell=XMaxima (graphische Oberfläche)
223 de.MaximaLanguagePacks=Maxima-Sprachpakete
225 de.German=Deutsch
226 de.French=Französich
227 de.Italian=Italienisch
228 de.Portuguese=Portugiesisch
229 de.BrazilianPortuguese=Brasilianisches Portugiesisch
230 de.Russian=Russisch
231 de.Spanish=Spanisch
233 de.CreateMyDesktopIcon=Erzeuge %1-Desktopsymbol
235 de.CommandLineMaxima=Maxima-Eingabeaufforderung
236 de.Introduction=Einführung
237 de.ReferenceManual=Referenzhandbuch
238 de.Readme=LIESMICH
239 de.ReadmeMenuEntry=LIESMICH
241 de.OnlineForum=%1-Online-Forum
243 de.ReferenceManualGerman=Referenzhandbuch (Deutsch)
244 de.ReferenceManualFrench=Referenzhandbuch (Französich)
245 de.ReferenceManualItalian=Referenzhandbuch (Italienisch)
246 de.ReferenceManualPortuguese=Referenzhandbuch (Portugiesisch)
247 de.ReferenceManualBrazilianPortuguese=Referenzhandbuch (Brasilianisches Portugiesisch)
248 de.ReferenceManualRussian=Referenzhandbuch (Russisch)
249 de.ReferenceManualSpanish=Referenzhandbuch (Spanisch)
252 ;=== French === LID=$040C CodePage=1252
254 fr.FullInstallation=Installation complète
255 fr.CompactInstallation=Installation compacte
256 fr.CustomInstallation=Installation personnalisée
257 fr.Uninstall=Désinstallation
258 fr.wxMaximaSession=Session wxMaxima
260 fr.MaximaCore=Noyau Maxima avec interface en ligne de commande
261 fr.wxMaximaGraphicShell=Interface graphique wxMaxima
262 fr.XMaximaGraphicShell=Interface graphique XMaxima
263 fr.MaximaLanguagePacks=Paquets de langues Maxima
265 fr.German=Allemand
266 fr.French=Français
267 fr.Italian=Italien
268 fr.Portuguese=Portugais
269 fr.BrazilianPortuguese=Portugais brésilien
270 fr.Russian=Russe
271 fr.Spanish=Espagnol
273 fr.CreateMyDesktopIcon=Créer un raccourci sur le bureau pour %1
275 fr.CommandLineMaxima=Ligne de commande Maxima
276 fr.Introduction=Introduction
277 fr.ReferenceManual=Manuel de référence
278 fr.Readme=LISEZMOI
279 fr.ReadmeMenuEntry=README
281 fr.OnlineForum=Forum en ligne %1
283 fr.ReferenceManualGerman=Manuel de référence (Allemand)
284 fr.ReferenceManualFrench=Manuel de référence (Français)
285 fr.ReferenceManualItalian=Manuel de référence (Italien)
286 fr.ReferenceManualPortuguese=Manuel de référence (Portugais)
287 fr.ReferenceManualBrazilianPortuguese=Manuel de référence (Portugais brésilien)
288 fr.ReferenceManualRussian=Manuel de référence (Russe)
289 fr.ReferenceManualSpanish=Manuel de référence (Espagnol)
292 ;=== Italian === LID=$0410 CodePage=1252
294 it.FullInstallation=Installazione completa
295 it.CompactInstallation=Installazione compatta
296 it.CustomInstallation=Installazione personalizzata
297 it.Uninstall=Disinstallazione
298 it.wxMaximaSession=Sessione wxMaxima
300 it.MaximaCore=Nucleo di Maxima con interfaccia a riga di comando
301 it.wxMaximaGraphicShell=Shell grafica wxMaxima
302 it.XMaximaGraphicShell=Shell grafica XMaxima
303 it.MaximaLanguagePacks=Pacchetti lingua di Maxima
305 it.German=Tedesco
306 it.French=Francese
307 it.Italian=Italiano
308 it.Portuguese=Portoghese
309 it.BrazilianPortuguese=Portoghese brasiliano
310 it.Russian=Russo
311 it.Spanish=Spagnolo
313 it.CreateMyDesktopIcon=Crea %1 icona sul desktop
315 it.CommandLineMaxima=Maxima a riga di comando
316 it.Introduction=Introduzione
317 it.ReferenceManual=Manuale di riferimento
318 it.Readme=LEGGIMI
319 it.ReadmeMenuEntry=LEGGIMI
321 it.OnlineForum=%1 Forum online
323 it.ReferenceManualGerman=Manuale di Riferimento (Tedesco)
324 it.ReferenceManualFrench=Manuale di Riferimento (Francese)
325 it.ReferenceManualItalian=Manuale di Riferimento (Italiano)
326 it.ReferenceManualPortuguese=Manuale di Riferimento (Portoghese)
327 it.ReferenceManualBrazilianPortuguese=Manuale di Riferimento (Portoghese brasiliano)
328 it.ReferenceManualRussian=Manuale di Riferimento (Russo)
329 it.ReferenceManualSpanish=Manuale di Riferimento (Spagnolo)
332 ;=== Portuguese (Brazilian) === LID=$0416 CodePage=1252
334 pt_BR.FullInstallation=Instalação completa
335 pt_BR.CompactInstallation=Instalação compacta
336 pt_BR.CustomInstallation=Instalação personalizada
337 pt_BR.Uninstall=Desinstalar
338 pt_BR.wxMaximaSession=Sessão do wxMaxima
340 pt_BR.MaximaCore=Núcleo do Maxima com interface de linha de comandos
341 pt_BR.wxMaximaGraphicShell=shell gráfica wxMaxima
342 pt_BR.XMaximaGraphicShell=shell gráfica XMaxima
343 pt_BR.MaximaLanguagePacks=pacotes linguísticos do Maxima
345 pt_BR.German=Alemão
346 pt_BR.French=Francês
347 pt_BR.Italian=Italiano
348 pt_BR.Portuguese=Português
349 pt_BR.BrazilianPortuguese=Português do Brasil
350 pt_BR.Russian=Russo
351 pt_BR.Spanish=Espanhol
353 pt_BR.CreateMyDesktopIcon=Criar ícone na Área de Trabalho para %1
355 pt_BR.CommandLineMaxima=Maxima em Linha de Comandos
356 pt_BR.Introduction=Introdução
357 pt_BR.ReferenceManual=Manual de Referência
358 pt_BR.Readme=LEIAME
359 pt_BR.ReadmeMenuEntry=LEIAME
361 pt_BR.OnlineForum=Fórum na internet para %1
363 pt_BR.ReferenceManualGerman=Manual de Referência (Alemão)
364 pt_BR.ReferenceManualFrench=Manual de Referência (Francês)
365 pt_BR.ReferenceManualItalian=Manual de Referência (Italiano)
366 pt_BR.ReferenceManualPortuguese=Manual de Referência (Português)
367 pt_BR.ReferenceManualBrazilianPortuguese=Manual de Referência (Português do Brasil)
368 pt_BR.ReferenceManualRussian=Manual de Referência (Russo)
369 pt_BR.ReferenceManualSpanish=Manual de Referência (Espanhol)
372 ;=== Portuguese === LID=$0816 CodePage=1252
374 pt.FullInstallation=Instalação completa
375 pt.CompactInstallation=Instalação compacta
376 pt.CustomInstallation=Instalação personalizada
377 pt.Uninstall=Desinstalar
378 pt.wxMaximaSession=Sessão do wxMaxima
380 pt.MaximaCore=Núcleo do Maxima com interface de linha de comandos
381 pt.wxMaximaGraphicShell=shell gráfica wxMaxima
382 pt.XMaximaGraphicShell=shell gráfica XMaxima
383 pt.MaximaLanguagePacks=pacotes linguísticas do Maxima
385 pt.German=Alemão
386 pt.French=Francês
387 pt.Italian=Italiano
388 pt.Portuguese=Português
389 pt.BrazilianPortuguese=Português do Brasil
390 pt.Russian=Russo
391 pt.Spanish=Espanhol
393 pt.CreateMyDesktopIcon=Criar ícone no escritório para %1
395 pt.CommandLineMaxima=Maxima em Linha de Comandos
396 pt.Introduction=Introdução
397 pt.ReferenceManual=Manual de Referência
398 pt.Readme=LEIAME
399 pt.ReadmeMenuEntry=LEIAME
401 pt.OnlineForum=Fórum na rede para %1
403 pt.ReferenceManualGerman=Manual de Referência (Alemão)
404 pt.ReferenceManualFrench=Manual de Referência (Francês)
405 pt.ReferenceManualItalian=Manual de Referência (Italiano)
406 pt.ReferenceManualPortuguese=Manual de Referência (Português)
407 pt.ReferenceManualBrazilianPortuguese=Manual de Referência (Português do Brasil)
408 pt.ReferenceManualRussian=Manual de Referência (Russo)
409 pt.ReferenceManualSpanish=Manual de Referência (Espanhol)
412 ;=== Russian === LID=$0419 CodePage=1251
414 ru.FullInstallation=Ïîëíàÿ óñòàíîâêà
415 ru.CompactInstallation=Êîìïàêòíàÿ óñòàíîâêà
416 ru.CustomInstallation=Âûáîðî÷íàÿ óñòàíîâêà
417 ru.Uninstall=Äåèíñòàëëÿöèÿ
418 ru.wxMaximaSession=Ñåññèÿ wxMaxima
420 ru.MaximaCore=ßäðî Maxima ñ èíòåðôåéñîì êîìàíäíîé ñòðîêè
421 ru.wxMaximaGraphicShell=Ãðàôè÷åñêàÿ îáîëî÷êà wxMaxima
422 ru.XMaximaGraphicShell=Ãðàôè÷åñêàÿ îáîëî÷êà XMaxima
423 ru.MaximaLanguagePacks=Ïàêåòû ïîääåðæêè ÿçûêîâ Maxima
425 ru.German=Íåìåöêèé
426 ru.French=Ôðàíöóçñêèé
427 ru.Italian=Èòàëüÿíñêèé
428 ru.Portuguese=Ïîðòóãàëüñêèé
429 ru.BrazilianPortuguese=Áðàçèëüñêèé ïîðòóãàëüñêèé
430 ru.Russian=Ðóññêèé
431 ru.Spanish=Èñïàíñêèé
433 ru.CreateMyDesktopIcon=Ñîçäàòü çíà÷îê %1 íà ðàáî÷åì ñòîëå
435 ru.CommandLineMaxima=Maxima â êîìàíäíîé ñòðîêå
436 ru.Introduction=Ââåäåíèå
437 ru.ReferenceManual=Ñïðàâî÷íîå ðóêîâîäñòâî
438 ru.Readme=README
439 ru.ReadmeMenuEntry=README
441 ru.OnlineForum=Ôîðóì %1
443 ru.ReferenceManualGerman=Ñïðàâî÷íîå ðóêîâîäñòâî (Íåìåöêèé)
444 ru.ReferenceManualFrench=Ñïðàâî÷íîå ðóêîâîäñòâî (Ôðàíöóçñêèé)
445 ru.ReferenceManualItalian=Ñïðàâî÷íîå ðóêîâîäñòâî (Èòàëüÿíñêèé)
446 ru.ReferenceManualPortuguese=Ñïðàâî÷íîå ðóêîâîäñòâî (Ïîðòóãàëüñêèé)
447 ru.ReferenceManualBrazilianPortuguese=Ñïðàâî÷íîå ðóêîâîäñòâî (Áðàçèëüñêèé ïîðòóãàëüñêèé)
448 ru.ReferenceManualRussian=Ñïðàâî÷íîå ðóêîâîäñòâî (Ðóññêèé)
449 ru.ReferenceManualSpanish=Ñïðàâî÷íîå ðóêîâîäñòâî (Èñïàíñêèé)
452 ;=== Spanish === LID=$0c0a CodePage=1252
454 es.FullInstallation=Instalación Completa
455 es.CompactInstallation=Instalación Compacta
456 es.CustomInstallation=Instalación Personalizada
457 es.Uninstall=Desinstalar
458 es.wxMaximaSession=Sesión de wxMaxima
460 es.MaximaCore=Núcleo de Maxima e interfaz de línea de comandos
461 es.wxMaximaGraphicShell=Entorno gráfico wxMaxima
462 es.XMaximaGraphicShell=Entorno gráfico XMaxima
463 es.MaximaLanguagePacks=Internacionalización de Maxima
465 es.German=Alemán
466 es.French=Francés
467 es.Italian=Italiano
468 es.Portuguese=Portugués
469 es.BrazilianPortuguese=Portugués Brasileño
470 es.Russian=Ruso
471 es.Spanish=Español
473 es.CreateMyDesktopIcon=Crear icono de escritorio
475 es.CommandLineMaxima=Línea de comandos de Maxima
476 es.Introduction=Introducción
477 es.ReferenceManual=Manual de Referencia
478 es.Readme=LEAME
479 es.ReadmeMenuEntry=LEAME
481 es.OnlineForum=Foro en línea para %1
483 es.ReferenceManualGerman=Manual de Referencia (Alemán)
484 es.ReferenceManualFrench=Manual de Referencia (Francés)
485 es.ReferenceManualItalian=Manual de Referencia (Italiano)
486 es.ReferenceManualPortuguese=Manual de Referencia (Portugués)
487 es.ReferenceManualBrazilianPortuguese=Manual de Referencia (Portugués Brasileño)
488 es.ReferenceManualRussian=Manual de Referencia (Ruso)
489 es.ReferenceManualSpanish=Manual de Referencia (Español)
491 ;=============
494 [Code]
496 { Check if a path contains spaces. If it does, convert it to
497 the equivalent short path }
498 function PathWithoutSpaces( strIn: String): String;
500 Version: TWindowsVersion;
501 begin
502 GetWindowsVersionEx(Version);
503 if (Pos(' ',strIn) = 0) or (Version.Major >= 5) then
504 Result := strIn
505 else
506 Result := GetShortName(strIn);
507 end;
510 { Based on code from Inno Setup Extensions Knowledge Base
511 Article 14 - How to replace a line in a text file
512 http://www13.brinkster.com/vincenzog/isxart.asp?idart=14
513 Author: Stefan Bracke }
515 { Note: Functions called by AfterInstall can have maximum of one argument }
517 procedure ReplaceApp();
519 iLineCounter : Integer;
520 a_strTextfile : TArrayOfString;
521 strFilename : String;
522 strFind : String;
523 strNewLine : String;
524 strApp : String;
525 begin
526 strApp := ExpandConstant('{app}');
527 strFilename := strApp + '\bin\maxima.bat';
528 strFind := 'set maxima_prefix';
529 strNewLine := 'set maxima_prefix='+PathWithoutSpaces(strApp);
531 { Load textfile into string array }
532 LoadStringsFromFile(strFilename, a_strTextfile);
534 { Search through all textlines for given text }
535 for iLineCounter := 0 to GetArrayLength(a_strTextfile)-1 do
536 begin
537 { Overwrite textline when text searched for is part of it }
538 if (Pos(strFind, a_strTextfile[iLineCounter]) > 0) then
539 a_strTextfile[iLineCounter] := strNewLine;
540 end;
542 { Save string array to textfile (overwrite, no append!) }
543 SaveStringsToFile(strFilename, a_strTextfile, False);
545 end;