/[ascend]/branches/georgy/nsis/installer.nsi
ViewVC logotype

Diff of /branches/georgy/nsis/installer.nsi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3125 by jpye, Tue May 24 01:31:12 2016 UTC revision 3126 by georgy, Sun Jun 26 21:18:55 2016 UTC
# Line 10  Name "ASCEND ${VERSION}" Line 10  Name "ASCEND ${VERSION}"
10  ;SetCompressor /FINAL zlib  ;SetCompressor /FINAL zlib
11  SetCompressor /SOLID lzma  SetCompressor /SOLID lzma
12    
13    ;Create Unicode installer to display all languages
14    Unicode true
15    
16    !define MUI_ABORTWARNING
17    
18    ;Show all languages, despite user's codepage
19    !define MUI_LANGDLL_ALLLANGUAGES
20    
21    !insertmacro MUI_DEFAULT MUI_PAGE_UNINSTALLER_PREFIX ""
22    ;Languages
23    
24      !insertmacro MUI_LANGUAGE "English" ;first language is the default language
25      !insertmacro MUI_LANGUAGE "French"
26      !insertmacro MUI_LANGUAGE "German"
27      !insertmacro MUI_LANGUAGE "Spanish"
28      !insertmacro MUI_LANGUAGE "SpanishInternational"
29      !insertmacro MUI_LANGUAGE "SimpChinese"
30      !insertmacro MUI_LANGUAGE "TradChinese"
31      !insertmacro MUI_LANGUAGE "Japanese"
32      !insertmacro MUI_LANGUAGE "Korean"
33      !insertmacro MUI_LANGUAGE "Italian"
34      !insertmacro MUI_LANGUAGE "Dutch"
35      !insertmacro MUI_LANGUAGE "Danish"
36      !insertmacro MUI_LANGUAGE "Swedish"
37      !insertmacro MUI_LANGUAGE "Norwegian"
38      !insertmacro MUI_LANGUAGE "NorwegianNynorsk"
39      !insertmacro MUI_LANGUAGE "Finnish"
40      !insertmacro MUI_LANGUAGE "Greek"
41      !insertmacro MUI_LANGUAGE "Russian"
42      !insertmacro MUI_LANGUAGE "Portuguese"
43      !insertmacro MUI_LANGUAGE "PortugueseBR"
44      !insertmacro MUI_LANGUAGE "Polish"
45      !insertmacro MUI_LANGUAGE "Ukrainian"
46      !insertmacro MUI_LANGUAGE "Czech"
47      !insertmacro MUI_LANGUAGE "Slovak"
48      !insertmacro MUI_LANGUAGE "Croatian"
49      !insertmacro MUI_LANGUAGE "Bulgarian"
50      !insertmacro MUI_LANGUAGE "Hungarian"
51      !insertmacro MUI_LANGUAGE "Thai"
52      !insertmacro MUI_LANGUAGE "Romanian"
53      !insertmacro MUI_LANGUAGE "Latvian"
54      !insertmacro MUI_LANGUAGE "Macedonian"
55      !insertmacro MUI_LANGUAGE "Estonian"
56      !insertmacro MUI_LANGUAGE "Turkish"
57      !insertmacro MUI_LANGUAGE "Lithuanian"
58      !insertmacro MUI_LANGUAGE "Slovenian"
59      !insertmacro MUI_LANGUAGE "Serbian"
60      !insertmacro MUI_LANGUAGE "SerbianLatin"
61      !insertmacro MUI_LANGUAGE "Arabic"
62      !insertmacro MUI_LANGUAGE "Farsi"
63      !insertmacro MUI_LANGUAGE "Hebrew"
64      !insertmacro MUI_LANGUAGE "Indonesian"
65      !insertmacro MUI_LANGUAGE "Mongolian"
66      !insertmacro MUI_LANGUAGE "Luxembourgish"
67      !insertmacro MUI_LANGUAGE "Albanian"
68      !insertmacro MUI_LANGUAGE "Breton"
69      !insertmacro MUI_LANGUAGE "Belarusian"
70      !insertmacro MUI_LANGUAGE "Icelandic"
71      !insertmacro MUI_LANGUAGE "Malay"
72      !insertmacro MUI_LANGUAGE "Bosnian"
73      !insertmacro MUI_LANGUAGE "Kurdish"
74      !insertmacro MUI_LANGUAGE "Irish"
75      !insertmacro MUI_LANGUAGE "Uzbek"
76      !insertmacro MUI_LANGUAGE "Galician"
77      !insertmacro MUI_LANGUAGE "Afrikaans"
78      !insertmacro MUI_LANGUAGE "Catalan"
79      !insertmacro MUI_LANGUAGE "Esperanto"
80      !insertmacro MUI_LANGUAGE "Asturian"
81      !insertmacro MUI_LANGUAGE "Basque"
82      !insertmacro MUI_LANGUAGE "Pashto"
83      !insertmacro MUI_LANGUAGE "ScotsGaelic"
84      !insertmacro MUI_LANGUAGE "Georgian"
85      !insertmacro MUI_LANGUAGE "Vietnamese"
86      !insertmacro MUI_LANGUAGE "Welsh"
87      !insertmacro MUI_LANGUAGE "Armenian"
88    
89    ;--------------------------------
90    ;Reserve Files
91      
92      ;If you are using solid compression, files that are required before
93      ;the actual installation should be stored first in the data block,
94      ;because this will make your installer start faster.
95      
96      !insertmacro MUI_RESERVEFILE_LANGDLL
97    
98    
99  !include LogicLib.nsh  !include LogicLib.nsh
100  !include nsDialogs.nsh  !include nsDialogs.nsh
101  !include x64.nsh  !include x64.nsh
# Line 619  SectionEnd Line 705  SectionEnd
705  !include "envvarwarning.nsi"  !include "envvarwarning.nsi"
706    
707  Function .onInit  Function .onInit
708    !insertmacro MUI_LANGDLL_DISPLAY
709    
710  !ifdef INST64  !ifdef INST64
711      ${IfNot} ${RunningX64}      ${IfNot} ${RunningX64}
712          MessageBox MB_OK "This ASCEND installer is for 64-bit Windows versions only.$\n$\nVisit http://ascend4.org for 32-bit versions."          MessageBox MB_OK "This ASCEND installer is for 64-bit Windows versions only.$\n$\nVisit http://ascend4.org for 32-bit versions."
# Line 713  FunctionEnd Line 801  FunctionEnd
801    
802    
803  Function un.onInit  Function un.onInit
804    !insertmacro MUI_UNGETLANGUAGE
805    
806  !ifdef INST64  !ifdef INST64
807      SetRegView 64      SetRegView 64
808  !endif  !endif

Legend:
Removed from v.3125  
changed lines
  Added in v.3126

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22