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