8
8
9
9
; --------------------------------
10
10
!ifndef VERSION
11
- !define VERSION "0.3 .0"
11
+ !define VERSION " 0.4 .0"
12
12
!endif
13
13
14
14
Name " NCL Composer ${VERSION}"
@@ -25,7 +25,7 @@ InstallDir "$PROGRAMFILES\TeleMidia\NCL Composer"
25
25
26
26
; License informations
27
27
LicenseText " Please review the license terms before installing NCL Composer."
28
- LicenseData "../LICENSE.EPL "
28
+ LicenseData " ../LICENSE.LGPL "
29
29
30
30
; Request application privileges for Windows Vista
31
31
RequestExecutionLevel admin
@@ -81,29 +81,31 @@ InstType "Minimal"
81
81
Section " NCL Composer Core (required)" ; No components page, name is not important
82
82
SectionIn RO
83
83
; Set output path to the installation directory.
84
- SetOutPath $INSTDIR
84
+ SetOutPath $INSTDIR \bin
85
85
86
86
; Put file there
87
- File "C:\Composer\*.dll"
88
- File "C:\Composer\*.exe"
87
+ File " C:\Composer\bin\*"
88
+
89
+ SetOutPath $INSTDIR \bin\plugins\platforms
90
+ File " C:\Composer\bin\plugins\platforms\qwindows.dll"
89
91
90
92
WriteUninstaller " uninstall.exe"
91
93
92
94
; include Files
93
- SetoutPath $INSTDIR\include
94
- File /r "C:\Composer\include\*"
95
+ ; SetoutPath $INSTDIR\include
96
+ ; File /r "C:\Composer\include\*"
95
97
96
98
; data Files
97
- SetOutPath $INSTDIR\data
98
- File "C:\Composer\data \*"
99
+ SetOutPath $INSTDIR \share\nclcomposer
100
+ File " C:\Composer\share\nclcomposer \*"
99
101
100
102
; install NCL Language Profile
101
- SetOutPath $INSTDIR\extensions
102
- File "C:\Composer\extensions\NCLLanguageProfile .dll"
103
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
104
+ File " C:\Composer\lib\nclcomposer\plugins\libnclprofile .dll"
103
105
104
106
; translation files
105
- SetOutPath $INSTDIR\extensions
106
- File "C:\Composer\extensions\*.qm"
107
+ ; SetOutPath $INSTDIR\extensions
108
+ ; File "C:\Composer\extensions\*.qm"
107
109
108
110
; Associate .cpr files with NCL Composer
109
111
${registerExtension} $INSTDIR \nclcomposer.exe " .cpr" " NCL Composer project"
@@ -116,9 +118,9 @@ SectionEnd ; end the section
116
118
Section " Start Menu Shortcuts"
117
119
SectionIn 1
118
120
CreateDirectory " $SMPROGRAMS\NCL Composer"
119
- CreateShortCut "$SMPROGRAMS\NCL Composer\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
120
- CreateShortCut "$SMPROGRAMS\NCL Composer\NCL Composer.lnk" "$INSTDIR\nclcomposer.exe" "" "$INSTDIR\nclcomposer.exe" 0
121
- CreateShortCut "$SMPROGRAMS\NCL Composer\ (MakeNSISW).lnk" "$INSTDIR\nclcomposer.nsi" "" "$INSTDIR\nclcomposer.nsi" 0
121
+ CreateShortCut " $SMPROGRAMS\NCL Composer\Uninstall.lnk" " $INSTDIR\uninstall.exe" " " " $INSTDIR\uninstall.exe" 0
122
+ CreateShortCut " $SMPROGRAMS\NCL Composer\NCL Composer.lnk" " $INSTDIR\nclcomposer.exe" " " " $INSTDIR\nclcomposer.exe" 0
123
+ CreateShortCut " $SMPROGRAMS\NCL Composer\ (MakeNSISW).lnk" " $INSTDIR\nclcomposer.nsi" " " " $INSTDIR\nclcomposer.nsi" 0
122
124
SectionEnd
123
125
124
126
; Ginga default executable
@@ -156,51 +158,53 @@ SectionGroupEnd
156
158
SectionGroup /e " Install Default Plugins"
157
159
Section " Textual View"
158
160
SectionIn 1
159
- SetOutPath $INSTDIR\extensions
160
- ; File "C:\Composer\extensions\qscintilla2.dll"
161
- File "C:\Composer\extensions\ncl_textual_view.dll"
161
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
162
+ File " C:\Composer\lib\nclcomposer\plugins\libncl_textual_view.dll"
163
+
164
+ SetOutPath $INSTDIR \bin
165
+ File " C:\Composer\bin\libqscintilla2_telem.dll"
162
166
SectionEnd
163
167
164
168
Section " Layout View"
165
169
SectionIn 1
166
- SetOutPath $INSTDIR\extensions
167
- File "C:\Composer\\extensions\ncl_layout_view .dll"
170
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
171
+ File " C:\Composer\lib\nclcomposer\plugins\libncl_layout_view .dll"
168
172
SectionEnd
169
173
170
174
Section " Properties View"
171
175
SectionIn 1
172
- SetOutPath $INSTDIR\extensions
173
- File "C:\Composer\extensions\properties_view .dll"
176
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
177
+ File " C:\Composer\lib\nclcomposer\plugins\libproperties_view .dll"
174
178
SectionEnd
175
179
176
180
Section " Structural View"
177
181
SectionIn 1
178
- SetOutPath $INSTDIR\extensions
179
- File "C:\Composer\extensions\ncl_structural_view_next .dll"
182
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
183
+ File " C:\Composer\lib\nclcomposer\plugins\libncl_structural_view .dll"
180
184
SectionEnd
181
185
182
186
Section " Outline View"
183
187
SectionIn 1
184
- SetOutPath $INSTDIR\extensions
185
- File "C:\Composer\extensions\outline_view .dll"
188
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
189
+ File " C:\Composer\lib\nclcomposer\plugins\liboutline_view .dll"
186
190
SectionEnd
187
191
188
192
Section " Validator Plugin"
189
193
SectionIn 1
190
- SetOutPath $INSTDIR\extensions
191
- File "C:\Composer\extensions\validator .dll"
194
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
195
+ File " C:\Composer\lib\nclcomposer\plugins\libvalidator_plugin .dll"
192
196
SectionEnd
193
197
194
198
Section " Rules View"
195
199
SectionIn 1
196
- SetOutPath $INSTDIR\extensions
197
- File "C:\Composer\extensions\ncl_rules_view .dll"
200
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
201
+ File " C:\Composer\lib\nclcomposer\plugins\libncl_rules_view .dll"
198
202
SectionEnd
199
203
200
204
Section " Run View"
201
205
SectionIn 1
202
- SetOutPath $INSTDIR\extensions
203
- File "C:\Composer\extensions\run_view .dll"
206
+ SetOutPath $INSTDIR \lib\nclcomposer\plugins
207
+ File " C:\Composer\lib\nclcomposer\plugins\librun_view .dll"
204
208
SectionEnd
205
209
206
210
SectionGroupEnd
@@ -210,12 +214,12 @@ SectionGroupEnd
210
214
UninstallText " This will uninstall NCL Composer. Hit next to continue"
211
215
Section " Uninstall"
212
216
Delete " $INSTDIR\*"
213
- Delete "$INSTDIR\extensions \*"
214
- Delete "$INSTDIR\data \*"
215
- Delete "$INSTDIR\include \*"
216
- RMDir "$INSTDIR\extensions "
217
- RMDir "$INSTDIR\data "
218
- RMDir "$INSTDIR\include "
217
+ Delete " $INSTDIR\bin \*"
218
+ Delete " $INSTDIR\lib\nclcomposer\plugins \*"
219
+ Delete " $INSTDIR\share\nclcomposer \*"
220
+ RMDir " $INSTDIR\bin "
221
+ RMDir " $INSTDIR\lib "
222
+ RMDir " $INSTDIR\share "
219
223
220
224
; Shortcuts
221
225
Delete " $SMPROGRAMS\NCL Composer\*"
0 commit comments