1 | ###### |
---|
2 | # Installer for ANUGA Windows install. |
---|
3 | # Put the netCDF4 include files and DLLs into the correct directories. |
---|
4 | # Also put the Microsoft DLLs for Visual Studio into the correct directory. |
---|
5 | ###### |
---|
6 | |
---|
7 | !define PRODUCT_NAME "netCDF_binary" |
---|
8 | !define PRODUCT_VERSION "4.0" |
---|
9 | !define ICON_FILE "anuga.ico" |
---|
10 | !define DLL_INSTALL_DIR "$SYSDIR" |
---|
11 | !define NETCDF_INSTALL_BIN_DIR "bin" |
---|
12 | !define NETCDF_INSTALL_INC_DIR "include" |
---|
13 | |
---|
14 | Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" |
---|
15 | OutFile "${PRODUCT_NAME}_${PRODUCT_VERSION}.exe" |
---|
16 | InstallDir "C:\netcdf4" |
---|
17 | Page directory |
---|
18 | Page instfiles |
---|
19 | Icon ${ICON_FILE} |
---|
20 | |
---|
21 | Section "Install" |
---|
22 | SetOutPath $INSTDIR |
---|
23 | # include files - by hand, don't know how to handle a directory of files |
---|
24 | File include\crc32.h |
---|
25 | File include\deflate.h |
---|
26 | File include\H5AbstractDs.h |
---|
27 | File include\H5ACpkg.h |
---|
28 | File include\H5ACpublic.h |
---|
29 | File include\H5Alltypes.h |
---|
30 | File include\H5api_adpt.h |
---|
31 | File include\H5Apkg.h |
---|
32 | File include\H5Apublic.h |
---|
33 | File include\H5ArrayType.h |
---|
34 | File include\H5AtomType.h |
---|
35 | File include\H5Attribute.h |
---|
36 | File include\H5B2pkg.h |
---|
37 | File include\H5B2public.h |
---|
38 | File include\H5Bpkg.h |
---|
39 | File include\H5Bpublic.h |
---|
40 | File include\H5Classes.h |
---|
41 | File include\H5CommonFG.h |
---|
42 | File include\H5CompType.h |
---|
43 | File include\H5Cpkg.h |
---|
44 | File include\H5Cpp.h |
---|
45 | File include\H5CppDoc.h |
---|
46 | File include\H5Cpublic.h |
---|
47 | File include\H5DataSet.h |
---|
48 | File include\H5DataSpace.h |
---|
49 | File include\H5DataType.h |
---|
50 | File include\H5DcreatProp.h |
---|
51 | File include\H5Dpkg.h |
---|
52 | File include\H5Dpublic.h |
---|
53 | File include\H5DSprivate.h |
---|
54 | File include\H5DSpublic.h |
---|
55 | File include\H5DxferProp.h |
---|
56 | File include\H5Edefin.h |
---|
57 | File include\H5Einit.h |
---|
58 | File include\H5EnumType.h |
---|
59 | File include\H5Epkg.h |
---|
60 | File include\H5Epubgen.h |
---|
61 | File include\H5Epublic.h |
---|
62 | File include\H5Eterm.h |
---|
63 | File include\H5Exception.h |
---|
64 | File include\H5FaccProp.h |
---|
65 | File include\H5FcreatProp.h |
---|
66 | File include\H5FDcore.h |
---|
67 | File include\H5FDdirect.h |
---|
68 | File include\H5FDfamily.h |
---|
69 | File include\H5FDlog.h |
---|
70 | File include\H5FDmpi.h |
---|
71 | File include\H5FDmpio.h |
---|
72 | File include\H5FDmpiposix.h |
---|
73 | File include\H5FDmulti.h |
---|
74 | File include\H5FDpkg.h |
---|
75 | File include\H5FDpublic.h |
---|
76 | File include\H5FDsec2.h |
---|
77 | File include\H5FDstdio.h |
---|
78 | File include\H5FDwindows.h |
---|
79 | File include\H5File.h |
---|
80 | File include\H5FloatType.h |
---|
81 | File include\H5Fpkg.h |
---|
82 | File include\H5Fpublic.h |
---|
83 | File include\H5FSpkg.h |
---|
84 | File include\H5FSpublic.h |
---|
85 | File include\H5Gpkg.h |
---|
86 | File include\H5Gpublic.h |
---|
87 | File include\H5Group.h |
---|
88 | File include\H5HFpkg.h |
---|
89 | File include\H5HFpublic.h |
---|
90 | File include\H5HGpkg.h |
---|
91 | File include\H5HGpublic.h |
---|
92 | File include\H5HLpkg.h |
---|
93 | File include\H5HLprivate2.h |
---|
94 | File include\H5HLpublic.h |
---|
95 | File include\H5IdComponent.h |
---|
96 | File include\H5IMprivate.h |
---|
97 | File include\H5IMpublic.h |
---|
98 | File include\H5Include.h |
---|
99 | File include\H5IntType.h |
---|
100 | File include\H5Ipkg.h |
---|
101 | File include\H5Ipublic.h |
---|
102 | File include\H5Library.h |
---|
103 | File include\H5Lpkg.h |
---|
104 | File include\H5Lpublic.h |
---|
105 | File include\H5LTparse.h |
---|
106 | File include\H5LTprivate.h |
---|
107 | File include\H5LTpublic.h |
---|
108 | File include\H5MMpublic.h |
---|
109 | File include\H5MPpkg.h |
---|
110 | File include\H5Object.h |
---|
111 | File include\H5Opkg.h |
---|
112 | File include\H5Opublic.h |
---|
113 | File include\H5Oshared.h |
---|
114 | File include\H5PacketTable.h |
---|
115 | File include\H5Ppkg.h |
---|
116 | File include\H5Ppublic.h |
---|
117 | File include\H5PredType.h |
---|
118 | File include\H5PropList.h |
---|
119 | File include\H5PTprivate.h |
---|
120 | File include\H5PTpublic.h |
---|
121 | File include\H5pubconf.h |
---|
122 | File include\H5public.h |
---|
123 | File include\H5Rpkg.h |
---|
124 | File include\H5Rpublic.h |
---|
125 | File include\H5SMpkg.h |
---|
126 | File include\H5Spkg.h |
---|
127 | File include\H5Spublic.h |
---|
128 | File include\H5StrType.h |
---|
129 | File include\H5TBprivate.h |
---|
130 | File include\H5TBpublic.h |
---|
131 | File include\H5Tpkg.h |
---|
132 | File include\H5Tpublic.h |
---|
133 | File include\H5VarLenType.h |
---|
134 | File include\H5version.h |
---|
135 | File include\H5Zpkg.h |
---|
136 | File include\H5Zpublic.h |
---|
137 | File include\hdf5.h |
---|
138 | File include\hdf5_hl.h |
---|
139 | File include\inffast.h |
---|
140 | File include\inffixed.h |
---|
141 | File include\inflate.h |
---|
142 | File include\inftrees.h |
---|
143 | File include\netcdf.h |
---|
144 | File include\ricehdf.h |
---|
145 | File include\SZconfig.h |
---|
146 | File include\szip_adpt.h |
---|
147 | File include\szlib.h |
---|
148 | File include\trees.h |
---|
149 | File include\zconf.h |
---|
150 | File include\zconf.in.h |
---|
151 | File include\zlib.h |
---|
152 | File include\zutil.h |
---|
153 | # end of include file |
---|
154 | # bin directory files |
---|
155 | File bin\ncdump.exe |
---|
156 | File bin\ncgen.exe |
---|
157 | # end of bin files |
---|
158 | # dll directory files |
---|
159 | File dlls\hdf5_cppdll.dll |
---|
160 | File dlls\hdf5_f90cstubdll.dll |
---|
161 | File dlls\hdf5_fortrandll.dll |
---|
162 | File dlls\hdf5_hl_cppdll.dll |
---|
163 | File dlls\hdf5_hl_f90cstubdll.dll |
---|
164 | File dlls\hdf5_hl_fortrandll.dll |
---|
165 | File dlls\hdf5_hldll.dll |
---|
166 | File dlls\hdf5dll.dll |
---|
167 | File dlls\netcdf.dll |
---|
168 | File dlls\szlibdll.dll |
---|
169 | File dlls\zlib1.dll |
---|
170 | File dlls\msvcp71.dll |
---|
171 | # end of dll files |
---|
172 | File netCDF4.nsi |
---|
173 | File anuga.ico |
---|
174 | CreateDirectory $INSTDIR\bin |
---|
175 | CreateDirectory $INSTDIR\include |
---|
176 | # unzip *.zip into appropriate place |
---|
177 | # Handle MSVCP71.DLL |
---|
178 | Rename crc32.h include\crc32.h |
---|
179 | Rename deflate.h include\deflate.h |
---|
180 | Rename H5AbstractDs.h include\H5AbstractDs.h |
---|
181 | Rename H5ACpkg.h include\H5ACpkg.h |
---|
182 | Rename H5ACpublic.h include\H5ACpublic.h |
---|
183 | Rename H5Alltypes.h include\H5Alltypes.h |
---|
184 | Rename H5api_adpt.h include\H5api_adpt.h |
---|
185 | Rename H5Apkg.h include\H5Apkg.h |
---|
186 | Rename H5Apublic.h include\H5Apublic.h |
---|
187 | Rename H5ArrayType.h include\H5ArrayType.h |
---|
188 | Rename H5AtomType.h include\H5AtomType.h |
---|
189 | Rename H5Attribute.h include\H5Attribute.h |
---|
190 | Rename H5B2pkg.h include\H5B2pkg.h |
---|
191 | Rename H5B2public.h include\H5B2public.h |
---|
192 | Rename H5Bpkg.h include\H5Bpkg.h |
---|
193 | Rename H5Bpublic.h include\H5Bpublic.h |
---|
194 | Rename H5Classes.h include\H5Classes.h |
---|
195 | Rename H5CommonFG.h include\H5CommonFG.h |
---|
196 | Rename H5CompType.h include\H5CompType.h |
---|
197 | Rename H5Cpkg.h include\H5Cpkg.h |
---|
198 | Rename H5Cpp.h include\H5Cpp.h |
---|
199 | Rename H5CppDoc.h include\H5CppDoc.h |
---|
200 | Rename H5Cpublic.h include\H5Cpublic.h |
---|
201 | Rename H5DataSet.h include\H5DataSet.h |
---|
202 | Rename H5DataSpace.h include\H5DataSpace.h |
---|
203 | Rename H5DataType.h include\H5DataType.h |
---|
204 | Rename H5DcreatProp.h include\H5DcreatProp.h |
---|
205 | Rename H5Dpkg.h include\H5Dpkg.h |
---|
206 | Rename H5Dpublic.h include\H5Dpublic.h |
---|
207 | Rename H5DSprivate.h include\H5DSprivate.h |
---|
208 | Rename H5DSpublic.h include\H5DSpublic.h |
---|
209 | Rename H5DxferProp.h include\H5DxferProp.h |
---|
210 | Rename H5Edefin.h include\H5Edefin.h |
---|
211 | Rename H5Einit.h include\H5Einit.h |
---|
212 | Rename H5EnumType.h include\H5EnumType.h |
---|
213 | Rename H5Epkg.h include\H5Epkg.h |
---|
214 | Rename H5Epubgen.h include\H5Epubgen.h |
---|
215 | Rename H5Epublic.h include\H5Epublic.h |
---|
216 | Rename H5Eterm.h include\H5Eterm.h |
---|
217 | Rename H5Exception.h include\H5Exception.h |
---|
218 | Rename H5FaccProp.h include\H5FaccProp.h |
---|
219 | Rename H5FcreatProp.h include\H5FcreatProp.h |
---|
220 | Rename H5FDcore.h include\H5FDcore.h |
---|
221 | Rename H5FDdirect.h include\H5FDdirect.h |
---|
222 | Rename H5FDfamily.h include\H5FDfamily.h |
---|
223 | Rename H5FDlog.h include\H5FDlog.h |
---|
224 | Rename H5FDmpi.h include\H5FDmpi.h |
---|
225 | Rename H5FDmpio.h include\H5FDmpio.h |
---|
226 | Rename H5FDmpiposix.h include\H5FDmpiposix.h |
---|
227 | Rename H5FDmulti.h include\H5FDmulti.h |
---|
228 | Rename H5FDpkg.h include\H5FDpkg.h |
---|
229 | Rename H5FDpublic.h include\H5FDpublic.h |
---|
230 | Rename H5FDsec2.h include\H5FDsec2.h |
---|
231 | Rename H5FDstdio.h include\H5FDstdio.h |
---|
232 | Rename H5FDwindows.h include\H5FDwindows.h |
---|
233 | Rename H5File.h include\H5File.h |
---|
234 | Rename H5FloatType.h include\H5FloatType.h |
---|
235 | Rename H5Fpkg.h include\H5Fpkg.h |
---|
236 | Rename H5Fpublic.h include\H5Fpublic.h |
---|
237 | Rename H5FSpkg.h include\H5FSpkg.h |
---|
238 | Rename H5FSpublic.h include\H5FSpublic.h |
---|
239 | Rename H5Gpkg.h include\H5Gpkg.h |
---|
240 | Rename H5Gpublic.h include\H5Gpublic.h |
---|
241 | Rename H5Group.h include\H5Group.h |
---|
242 | Rename H5HFpkg.h include\H5HFpkg.h |
---|
243 | Rename H5HFpublic.h include\H5HFpublic.h |
---|
244 | Rename H5HGpkg.h include\H5HGpkg.h |
---|
245 | Rename H5HGpublic.h include\H5HGpublic.h |
---|
246 | Rename H5HLpkg.h include\H5HLpkg.h |
---|
247 | Rename H5HLprivate2.h include\H5HLprivate2.h |
---|
248 | Rename H5HLpublic.h include\H5HLpublic.h |
---|
249 | Rename H5IdComponent.h include\H5IdComponent.h |
---|
250 | Rename H5IMprivate.h include\H5IMprivate.h |
---|
251 | Rename H5IMpublic.h include\H5IMpublic.h |
---|
252 | Rename H5Include.h include\H5Include.h |
---|
253 | Rename H5IntType.h include\H5IntType.h |
---|
254 | Rename H5Ipkg.h include\H5Ipkg.h |
---|
255 | Rename H5Ipublic.h include\H5Ipublic.h |
---|
256 | Rename H5Library.h include\H5Library.h |
---|
257 | Rename H5Lpkg.h include\H5Lpkg.h |
---|
258 | Rename H5Lpublic.h include\H5Lpublic.h |
---|
259 | Rename H5LTparse.h include\H5LTparse.h |
---|
260 | Rename H5LTprivate.h include\H5LTprivate.h |
---|
261 | Rename H5LTpublic.h include\H5LTpublic.h |
---|
262 | Rename H5MMpublic.h include\H5MMpublic.h |
---|
263 | Rename H5MPpkg.h include\H5MPpkg.h |
---|
264 | Rename H5Object.h include\H5Object.h |
---|
265 | Rename H5Opkg.h include\H5Opkg.h |
---|
266 | Rename H5Opublic.h include\H5Opublic.h |
---|
267 | Rename H5Oshared.h include\H5Oshared.h |
---|
268 | Rename H5PacketTable.h include\H5PacketTable.h |
---|
269 | Rename H5Ppkg.h include\H5Ppkg.h |
---|
270 | Rename H5Ppublic.h include\H5Ppublic.h |
---|
271 | Rename H5PredType.h include\H5PredType.h |
---|
272 | Rename H5PropList.h include\H5PropList.h |
---|
273 | Rename H5PTprivate.h include\H5PTprivate.h |
---|
274 | Rename H5PTpublic.h include\H5PTpublic.h |
---|
275 | Rename H5pubconf.h include\H5pubconf.h |
---|
276 | Rename H5public.h include\H5public.h |
---|
277 | Rename H5Rpkg.h include\H5Rpkg.h |
---|
278 | Rename H5Rpublic.h include\H5Rpublic.h |
---|
279 | Rename H5SMpkg.h include\H5SMpkg.h |
---|
280 | Rename H5Spkg.h include\H5Spkg.h |
---|
281 | Rename H5Spublic.h include\H5Spublic.h |
---|
282 | Rename H5StrType.h include\H5StrType.h |
---|
283 | Rename H5TBprivate.h include\H5TBprivate.h |
---|
284 | Rename H5TBpublic.h include\H5TBpublic.h |
---|
285 | Rename H5Tpkg.h include\H5Tpkg.h |
---|
286 | Rename H5Tpublic.h include\H5Tpublic.h |
---|
287 | Rename H5VarLenType.h include\H5VarLenType.h |
---|
288 | Rename H5version.h include\H5version.h |
---|
289 | Rename H5Zpkg.h include\H5Zpkg.h |
---|
290 | Rename H5Zpublic.h include\H5Zpublic.h |
---|
291 | Rename hdf5.h include\hdf5.h |
---|
292 | Rename hdf5_hl.h include\hdf5_hl |
---|
293 | Rename inffast.h include\inffast.h |
---|
294 | Rename inffixed.h include\inffixed.h |
---|
295 | Rename inflate.h include\inflate.h |
---|
296 | Rename inftrees.h include\inftrees.h |
---|
297 | Rename netcdf.h include\netcdf.h |
---|
298 | Rename ricehdf.h include\ricehdf.h |
---|
299 | Rename SZconfig.h include\SZconfig.h |
---|
300 | Rename szip_adpt.h include\szip_adpt.h |
---|
301 | Rename szlib.h include\szlib.h |
---|
302 | Rename trees.h include\trees.h |
---|
303 | Rename zconf.h include\zconf.h |
---|
304 | Rename zconf.in.h include\zconf.in.h |
---|
305 | Rename zlib.h include\zlib.h |
---|
306 | Rename zutil.h include\zutil.h |
---|
307 | Rename ncdump.exe bin\ncdump.exe |
---|
308 | Rename ncgen.exe bin\ncgen.exe |
---|
309 | Rename hdf5_cppdll.dll $SYSDIR\hdf5_cppdll.dll |
---|
310 | Rename hdf5_f90cstubdll.dll $SYSDIR\hdf5_f90cstubdll.dll |
---|
311 | Rename hdf5_fortrandll.dll $SYSDIR\hdf5_fortrandll.dll |
---|
312 | Rename hdf5_hl_cppdll.dll $SYSDIR\hdf5_hl_cppdll.dll |
---|
313 | Rename hdf5_hl_f90cstubdll.dll $SYSDIR\hdf5_hl_f90cstubdll.dll |
---|
314 | Rename hdf5_hl_fortrandll.dll $SYSDIR\hdf5_hl_fortrandll.dll |
---|
315 | Rename hdf5_hldll.dll $SYSDIR\hdf5_hldll.dll |
---|
316 | Rename hdf5dll.dll $SYSDIR\hdf5dll.dll |
---|
317 | Rename netcdf.dll $SYSDIR\netcdf.dll |
---|
318 | Rename szlibdll.dll $SYSDIR\szlibdll.dll |
---|
319 | Rename zlib1.dll $SYSDIR\zlib1.dll |
---|
320 | Rename msvcp71.dll $SYSDIR\msvcp71.dll |
---|
321 | Delete anuga.ico |
---|
322 | Delete netCDF4.nsi |
---|
323 | SectionEnd |
---|
324 | |
---|
325 | Function .onInstSuccess |
---|
326 | MessageBox MB_OK "NetCDF4 support files have been installed." |
---|
327 | FunctionEnd |
---|