3 ;--------------------------------
\r
4 ;Interface Configuration
\r
6 !define MUI_HEADERIMAGE
\r
7 !define MUI_HEADERIMAGE_BITMAP "@CMAKE_HOME_DIRECTORY@\doc\webcruft\simgrid_logo_win_2011.bmp" ; optional
\r
8 !define MUI_ABORTWARNING
\r
10 ;--------------------------------
\r
13 !insertmacro MUI_PAGE_LICENSE "@CMAKE_HOME_DIRECTORY@\LICENSE-LGPL-2.1"
\r
14 !insertmacro MUI_PAGE_COMPONENTS
\r
15 !insertmacro MUI_PAGE_DIRECTORY
\r
16 !insertmacro MUI_PAGE_INSTFILES
\r
17 !insertmacro MUI_PAGE_FINISH
\r
19 !insertmacro MUI_UNPAGE_CONFIRM
\r
20 !insertmacro MUI_UNPAGE_INSTFILES
\r
21 !insertmacro MUI_UNPAGE_FINISH
\r
23 ;--------------------------------
\r
25 !insertmacro MUI_LANGUAGE "English"
\r
26 !insertmacro MUI_LANGUAGE "French"
\r
27 ;--------------------------------
\r
30 outFile "SimGrid@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@_SGjava_@NSIS_WIN_VERSION@@BIN_EXE@"
\r
31 Icon "@CMAKE_HOME_DIRECTORY@\doc\webcruft\SGicon.ico"
\r
33 RequestExecutionLevel admin
\r
35 # set the default installation directory
\r
36 InstallDir c:\SimGrid@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@
\r
38 Section "Libraries and Headers" LibSection
\r
41 file @CMAKE_HOME_DIRECTORY@\AUTHORS
\r
42 file @CMAKE_HOME_DIRECTORY@\Changelog
\r
43 file @CMAKE_HOME_DIRECTORY@\COPYING
\r
44 file @CMAKE_HOME_DIRECTORY@\LICENSE-LGPL-2.1
\r
45 file @CMAKE_HOME_DIRECTORY@\NEWS
\r
48 CreateDirectory $INSTDIR\lib
\r
49 setOutPath $INSTDIR\lib
\r
50 file lib\libgras.dll
\r
51 file lib\libsimgrid.dll
\r
52 file lib\libsimgrid.def
\r
55 CreateDirectory $INSTDIR\include
\r
56 setOutPath $INSTDIR\include
\r
57 file @CMAKE_HOME_DIRECTORY@\include\gras.h
\r
58 file @CMAKE_HOME_DIRECTORY@\include\xbt.h
\r
59 file include\simgrid_config.h
\r
61 CreateDirectory $INSTDIR\include\xbt
\r
62 setOutPath $INSTDIR\include\xbt
\r
63 file @CMAKE_HOME_DIRECTORY@\include\xbt\misc.h
\r
64 file @CMAKE_HOME_DIRECTORY@\include\xbt\sysdep.h
\r
65 file @CMAKE_HOME_DIRECTORY@\include\xbt\virtu.h
\r
66 file @CMAKE_HOME_DIRECTORY@\include\xbt\str.h
\r
67 file @CMAKE_HOME_DIRECTORY@\include\xbt\strbuff.h
\r
68 file @CMAKE_HOME_DIRECTORY@\include\xbt\hash.h
\r
69 file @CMAKE_HOME_DIRECTORY@\include\xbt\function_types.h
\r
70 file @CMAKE_HOME_DIRECTORY@\include\xbt\asserts.h
\r
71 file @CMAKE_HOME_DIRECTORY@\include\xbt\ex.h
\r
72 file @CMAKE_HOME_DIRECTORY@\include\xbt\log.h
\r
73 file @CMAKE_HOME_DIRECTORY@\include\xbt\module.h
\r
74 file @CMAKE_HOME_DIRECTORY@\include\xbt\mallocator.h
\r
75 file @CMAKE_HOME_DIRECTORY@\include\xbt\dynar.h
\r
76 file @CMAKE_HOME_DIRECTORY@\include\xbt\dict.h
\r
77 file @CMAKE_HOME_DIRECTORY@\include\xbt\set.h
\r
78 file @CMAKE_HOME_DIRECTORY@\include\xbt\heap.h
\r
79 file @CMAKE_HOME_DIRECTORY@\include\xbt\graph.h
\r
80 file @CMAKE_HOME_DIRECTORY@\include\xbt\fifo.h
\r
81 file @CMAKE_HOME_DIRECTORY@\include\xbt\swag.h
\r
82 file @CMAKE_HOME_DIRECTORY@\include\xbt\lib.h
\r
83 file @CMAKE_HOME_DIRECTORY@\include\xbt\matrix.h
\r
84 file @CMAKE_HOME_DIRECTORY@\include\xbt\peer.h
\r
85 file @CMAKE_HOME_DIRECTORY@\include\xbt\config.h
\r
86 file @CMAKE_HOME_DIRECTORY@\include\xbt\cunit.h
\r
87 file @CMAKE_HOME_DIRECTORY@\include\xbt\graphxml_parse.h
\r
88 file @CMAKE_HOME_DIRECTORY@\include\xbt\graphxml.h
\r
89 file @CMAKE_HOME_DIRECTORY@\include\xbt\time.h
\r
90 file @CMAKE_HOME_DIRECTORY@\include\xbt\synchro.h
\r
91 file @CMAKE_HOME_DIRECTORY@\include\xbt\synchro_core.h
\r
92 file @CMAKE_HOME_DIRECTORY@\include\xbt\queue.h
\r
93 file @CMAKE_HOME_DIRECTORY@\include\xbt\setset.h
\r
94 file @CMAKE_HOME_DIRECTORY@\include\xbt\mmalloc.h
\r
95 file @CMAKE_HOME_DIRECTORY@\include\xbt\parmap.h
\r
96 file @CMAKE_HOME_DIRECTORY@\include\xbt\automaton.h
\r
97 file @CMAKE_HOME_DIRECTORY@\include\xbt\automatonparse_promela.h
\r
98 file @CMAKE_HOME_DIRECTORY@\include\xbt\datadesc.h
\r
99 file @CMAKE_HOME_DIRECTORY@\include\xbt\socket.h
\r
100 file @CMAKE_HOME_DIRECTORY@\include\xbt\file_stat.h
\r
101 file @CMAKE_HOME_DIRECTORY@\include\xbt\xbt_os_thread.h
\r
102 file @CMAKE_HOME_DIRECTORY@\include\xbt\RngStream.h
\r
104 CreateDirectory $INSTDIR\include\simgrid
\r
105 setOutPath $INSTDIR\include\simgrid
\r
106 file @CMAKE_HOME_DIRECTORY@\include\simgrid\platf.h
\r
107 file @CMAKE_HOME_DIRECTORY@\include\simgrid\modelchecker.h
\r
108 file @CMAKE_HOME_DIRECTORY@\include\simgrid\simix.h
\r
110 CreateDirectory $INSTDIR\include\msg
\r
111 setOutPath $INSTDIR\include\msg
\r
112 file @CMAKE_HOME_DIRECTORY@\include\msg\msg.h
\r
113 file @CMAKE_HOME_DIRECTORY@\include\msg\datatypes.h
\r
115 CreateDirectory $INSTDIR\include\simdag
\r
116 setOutPath $INSTDIR\include\simdag
\r
117 file @CMAKE_HOME_DIRECTORY@\include\simdag\simdag.h
\r
118 file @CMAKE_HOME_DIRECTORY@\include\simdag\datatypes.h
\r
120 CreateDirectory $INSTDIR\include\smpi
\r
121 setOutPath $INSTDIR\include\smpi
\r
122 file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi.h
\r
123 file @CMAKE_HOME_DIRECTORY@\include\smpi\mpi.h
\r
124 file @CMAKE_HOME_DIRECTORY@\include\smpi\mpif.h
\r
125 file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi_cocci.h
\r
126 file include\smpi\smpif.h
\r
128 CreateDirectory $INSTDIR\include\surf
\r
129 setOutPath $INSTDIR\include\surf
\r
130 file @CMAKE_HOME_DIRECTORY@\include\surf\surfxml_parse.h
\r
131 file @CMAKE_HOME_DIRECTORY@\include\surf\simgrid_dtd.h
\r
132 file @CMAKE_HOME_DIRECTORY@\include\surf\surf_routing.h
\r
134 CreateDirectory $INSTDIR\include\gras
\r
135 setOutPath $INSTDIR\include\gras
\r
136 file @CMAKE_HOME_DIRECTORY@\include\gras\transport.h
\r
137 file @CMAKE_HOME_DIRECTORY@\include\gras\virtu.h
\r
138 file @CMAKE_HOME_DIRECTORY@\include\gras\emul.h
\r
139 file @CMAKE_HOME_DIRECTORY@\include\gras\process.h
\r
140 file @CMAKE_HOME_DIRECTORY@\include\gras\module.h
\r
141 file @CMAKE_HOME_DIRECTORY@\include\gras\messages.h
\r
142 file @CMAKE_HOME_DIRECTORY@\include\gras\timer.h
\r
144 CreateDirectory $INSTDIR\include\amok
\r
145 setOutPath $INSTDIR\include\amok
\r
146 file @CMAKE_HOME_DIRECTORY@\include\amok\peermanagement.h
\r
147 file @CMAKE_HOME_DIRECTORY@\include\amok\bandwidth.h
\r
149 CreateDirectory $INSTDIR\include\instr
\r
150 setOutPath $INSTDIR\include\instr
\r
151 file @CMAKE_HOME_DIRECTORY@\include\instr\instr.h
\r
154 Section "Binaries" BinSection
\r
157 CreateDirectory $INSTDIR\bin
\r
158 setOutPath $INSTDIR\bin
\r
160 file bin\graphicator@BIN_EXE@
\r
161 file bin\simgrid_update_xml
\r
164 Section "Documentation" DocSection
\r
167 CreateDirectory $INSTDIR\doc
\r
168 setOutPath $INSTDIR\doc
\r
169 file /nonfatal /r @CMAKE_HOME_DIRECTORY@\doc\html
\r
170 # create a shortcut in the start menu programs directory
\r
171 CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"
\r
172 createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Documentation.lnk" "$INSTDIR\doc\html\index.html"
\r
173 createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Website.lnk" "http://simgrid.gforge.inria.fr/"
\r
176 Section "Examples" ExamplesSection
\r
178 CreateDirectory $INSTDIR\examples
\r
179 setOutPath $INSTDIR\examples
\r
181 #install examples for platforms
\r
182 file /r @CMAKE_HOME_DIRECTORY@\examples\platforms
\r
184 # install example HelloWorld
\r
185 file /r @CMAKE_HOME_DIRECTORY@\doc\HelloWorld
\r
187 # install example MasterSlave
\r
188 CreateDirectory $INSTDIR\examples\MasterSlave
\r
189 setOutPath $INSTDIR\examples\MasterSlave
\r
190 file @CMAKE_HOME_DIRECTORY@\examples\msg\masterslave\masterslave_forwarder.c
\r
191 file @CMAKE_HOME_DIRECTORY@\examples\msg\masterslave\deployment_masterslave_forwarder.xml
\r
192 file @CMAKE_HOME_DIRECTORY@\examples\msg\msg_platform.xml
\r
193 file @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\CMakeLists.txt
\r
194 file @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\FindPcreWin.cmake
\r
196 # create shortcuts in the start menu programs directory
\r
197 CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\"
\r
198 createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\HelloWorld project.lnk" "$INSTDIR\examples\HelloWorld"
\r
199 createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\MasterSlave project.lnk" "$INSTDIR\examples\MasterSlave"
\r
202 Section "Pcre library" PCRESection
\r
203 # install pcre library
\r
204 CreateDirectory $INSTDIR\GnuWin32
\r
205 setOutPath $INSTDIR\GnuWin32
\r
206 file /r "@PCRE_LIBRARY_PATH@\lib"
\r
207 file /r "@PCRE_LIBRARY_PATH@\include"
\r
208 file /r "@PCRE_LIBRARY_PATH@\bin"
\r
209 file /r "@PCRE_LIBRARY_PATH@\man"
\r
210 file /r "@PCRE_LIBRARY_PATH@\share"
\r
213 Section "Java Bindings" JavaSection
\r
214 # install java library and examples
\r
215 CreateDirectory $INSTDIR\examples\simgrid-java
\r
216 setOutPath $INSTDIR\lib
\r
217 file /nonfatal "$%SIMGRID_JAVA_SRC%\build\SG_java.dll"
\r
218 file /nonfatal "$%SIMGRID_JAVA_SRC%\build\SG_java.def"
\r
219 file /nonfatal "$%SIMGRID_JAVA_SRC%\simgrid.jar"
\r
220 setOutPath $INSTDIR\examples\simgrid-java
\r
221 file /nonfatal /r "$%SIMGRID_JAVA_SRC%\examples\"
\r
222 # create shortcuts in the start menu programs directory
\r
223 createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\Java project.lnk" "$INSTDIR\examples\simgrid-java"
\r
224 # create a popup box, with an OK button"
\r
225 messageBox MB_OK "WARNING! Please add to your environment variable CLASSPATH value '$INSTDIR\lib\simgrid.jar;.' before executing Simgrid classes."
\r
228 # default section start
\r
230 # define uninstaller name
\r
231 writeUninstaller $INSTDIR\uninstaller@BIN_EXE@
\r
233 # create a shortcut in the start menu programs directory
\r
234 CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"
\r
235 createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Uninstall simgrid.lnk" "$INSTDIR\uninstaller@BIN_EXE@"
\r
237 # Include for some of the windows message defines
\r
238 !include "winmessages.nsh"
\r
239 # HKLM (all users) vs HKCU (current user) defines
\r
240 !define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
\r
241 !define env_hkcu 'HKCU "Environment"'
\r
243 WriteRegExpandStr ${env_hkcu} SIMGRID_ROOT $INSTDIR
\r
244 WriteRegExpandStr ${env_hkcu} SIMGRID_VERSION @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@
\r
245 WriteRegExpandStr ${env_hkcu} SIMGRID_PCRE_LIBRARY_PATH $INSTDIR\GnuWin32
\r
246 WriteRegExpandStr ${env_hkcu} SIMGRID_PCRE_LIBRARY_VERSION "8.21"
\r
248 WriteRegStr HKCU "SOFTWARE\SimGrid" "Version" "@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"
\r
249 WriteRegStr HKCU "SOFTWARE\SimGrid" "InstallPath" "$INSTDIR"
\r
251 # create a popup box, with an OK button"
\r
252 messageBox MB_OK "WARNING! Please add to your environment variable PATH value '$INSTDIR\lib;$INSTDIR\GnuWin32\bin' before executing Simgrid binaries."
\r
256 # default section end
\r
259 LangString DESC_LibSection ${LANG_ENGLISH} "Install Simgrid and gras libraries with associated headers."
\r
260 LangString DESC_BinSection ${LANG_ENGLISH} "Install some useful tools for Simgrid."
\r
261 LangString DESC_DocSection ${LANG_ENGLISH} "Generated (doxygen) documentation."
\r
262 LangString DESC_ExamplesSection ${LANG_ENGLISH} "Simgrid's HelloWorld example and some classical platforms."
\r
263 LangString DESC_PCRESection ${LANG_ENGLISH} "Install the PCRE and PCREPOSIX libraries for SimGrid."
\r
264 LangString DESC_JAVASection ${LANG_ENGLISH} "Install the Java binding and examples."
\r
266 LangString DESC_LibSection ${LANG_FRENCH} "Installer les librairies Simgrid et Gras et leurs EntĂȘtes."
\r
267 LangString DESC_BinSection ${LANG_FRENCH} "Installer les outils optionnels."
\r
268 LangString DESC_DocSection ${LANG_FRENCH} "Installer la documentation."
\r
269 LangString DESC_ExamplesSection ${LANG_FRENCH} "Installer un exemple 'HelloWorld' et des fichiers de plate-formes types."
\r
270 LangString DESC_PCRESection ${LANG_FRENCH} "Installer les librairies PCRE et PCREPOSIX for SimGrid."
\r
271 LangString DESC_JAVASection ${LANG_FRENCH} "Installer la librairie Simgrid-java and les examples."
\r
273 !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
\r
274 !insertmacro MUI_DESCRIPTION_TEXT ${LibSection} $(DESC_LibSection)
\r
275 !insertmacro MUI_DESCRIPTION_TEXT ${BinSection} $(DESC_BinSection)
\r
276 !insertmacro MUI_DESCRIPTION_TEXT ${DocSection} $(DESC_DocSection)
\r
277 !insertmacro MUI_DESCRIPTION_TEXT ${ExamplesSection} $(DESC_ExamplesSection)
\r
278 !insertmacro MUI_DESCRIPTION_TEXT ${PCRESection} $(DESC_PCRESection)
\r
279 !insertmacro MUI_DESCRIPTION_TEXT ${JAVASection} $(DESC_JAVASection)
\r
280 !insertmacro MUI_FUNCTION_DESCRIPTION_END
\r
282 # create a section to define what the uninstaller does.
\r
283 # the section will always be named "Uninstall"
\r
284 section "Uninstall"
\r
286 # always delete uninstaller first
\r
287 delete $INSTDIR\uninstaller@BIN_EXE@
\r
289 # delete installed libs
\r
290 delete $INSTDIR\lib\libgras.dll
\r
291 delete $INSTDIR\lib\libsimgrid.dll
\r
292 delete $INSTDIR\lib\libsimgrid.def
\r
294 # delete installed bin
\r
295 delete $INSTDIR\bin\colorize
\r
296 delete $INSTDIR\bin\graphicator@BIN_EXE@
\r
297 delete $INSTDIR\bin\simgrid_update_xml
\r
298 delete $INSTDIR\bin\smpicc
\r
299 delete $INSTDIR\bin\smpif2c
\r
300 delete $INSTDIR\bin\smpiff
\r
301 delete $INSTDIR\bin\smpirun
\r
302 delete $INSTDIR\bin\tesh
\r
304 # delete installed headers
\r
305 delete $INSTDIR\include\gras.h
\r
306 delete $INSTDIR\include\xbt.h
\r
307 delete $INSTDIR\include\simgrid_config.h
\r
308 delete $INSTDIR\include\xbt\misc.h
\r
309 delete $INSTDIR\include\xbt\sysdep.h
\r
310 delete $INSTDIR\include\xbt\virtu.h
\r
311 delete $INSTDIR\include\xbt\str.h
\r
312 delete $INSTDIR\include\xbt\strbuff.h
\r
313 delete $INSTDIR\include\xbt\hash.h
\r
314 delete $INSTDIR\include\xbt\function_types.h
\r
315 delete $INSTDIR\include\xbt\asserts.h
\r
316 delete $INSTDIR\include\xbt\ex.h
\r
317 delete $INSTDIR\include\xbt\log.h
\r
318 delete $INSTDIR\include\xbt\module.h
\r
319 delete $INSTDIR\include\xbt\mallocator.h
\r
320 delete $INSTDIR\include\xbt\dynar.h
\r
321 delete $INSTDIR\include\xbt\dict.h
\r
322 delete $INSTDIR\include\xbt\set.h
\r
323 delete $INSTDIR\include\xbt\heap.h
\r
324 delete $INSTDIR\include\xbt\graph.h
\r
325 delete $INSTDIR\include\xbt\fifo.h
\r
326 delete $INSTDIR\include\xbt\swag.h
\r
327 delete $INSTDIR\include\xbt\lib.h
\r
328 delete $INSTDIR\include\xbt\matrix.h
\r
329 delete $INSTDIR\include\xbt\peer.h
\r
330 delete $INSTDIR\include\xbt\config.h
\r
331 delete $INSTDIR\include\xbt\cunit.h
\r
332 delete $INSTDIR\include\xbt\graphxml_parse.h
\r
333 delete $INSTDIR\include\xbt\graphxml.h
\r
334 delete $INSTDIR\include\xbt\time.h
\r
335 delete $INSTDIR\include\xbt\synchro.h
\r
336 delete $INSTDIR\include\xbt\synchro_core.h
\r
337 delete $INSTDIR\include\xbt\queue.h
\r
338 delete $INSTDIR\include\xbt\setset.h
\r
339 delete $INSTDIR\include\xbt\mmalloc.h
\r
340 delete $INSTDIR\include\xbt\replay_trace_reader.h
\r
341 delete $INSTDIR\include\xbt\parmap.h
\r
342 delete $INSTDIR\include\xbt\socket.h
\r
343 delete $INSTDIR\include\xbt\file_stat.h
\r
345 delete $INSTDIR\include\simgrid\platf.h
\r
346 delete $INSTDIR\include\simgrid\modelchecker.h
\r
347 delete $INSTDIR\include\simgrid\simix.h
\r
349 delete $INSTDIR\include\msg\msg.h
\r
350 delete $INSTDIR\include\msg\datatypes.h
\r
351 delete $INSTDIR\include\simdag\simdag.h
\r
352 delete $INSTDIR\include\simdag\datatypes.h
\r
353 delete $INSTDIR\include\smpi\smpi.h
\r
354 delete $INSTDIR\include\smpi\mpi.h
\r
355 delete $INSTDIR\include\smpi\mpif.h
\r
356 delete $INSTDIR\include\smpi\smpi_cocci.h
\r
357 delete $INSTDIR\include\smpi\smpif.h
\r
358 delete $INSTDIR\include\surf\surfxml_parse.h
\r
359 delete $INSTDIR\include\surf\simgrid_dtd.h
\r
360 delete $INSTDIR\include\surf\surf_routing.h
\r
361 delete $INSTDIR\include\gras\datadesc.h
\r
362 delete $INSTDIR\include\gras\transport.h
\r
363 delete $INSTDIR\include\gras\virtu.h
\r
364 delete $INSTDIR\include\gras\emul.h
\r
365 delete $INSTDIR\include\gras\process.h
\r
366 delete $INSTDIR\include\gras\module.h
\r
367 delete $INSTDIR\include\gras\messages.h
\r
368 delete $INSTDIR\include\gras\timer.h
\r
369 delete $INSTDIR\include\amok\peermanagement.h
\r
370 delete $INSTDIR\include\amok\bandwidth.h
\r
371 delete $INSTDIR\include\instr\instr.h
\r
373 # delete EXTRA FILES
\r
374 delete $INSTDIR\AUTHORS
\r
375 delete $INSTDIR\Changelog
\r
376 delete $INSTDIR\COPYING
\r
377 delete $INSTDIR\LICENSE-LGPL-2.1
\r
378 delete $INSTDIR\NEWS
\r
380 # now delete directories
\r
381 RMDir "$INSTDIR\bin"
\r
382 RMDir "$INSTDIR\lib"
\r
383 RMDir "$INSTDIR\include\simix"
\r
384 RMDir "$INSTDIR\include\instr"
\r
385 RMDir "$INSTDIR\include\amok"
\r
386 RMDir "$INSTDIR\include\gras"
\r
387 RMDir "$INSTDIR\include\surf"
\r
388 RMDir "$INSTDIR\include\smpi"
\r
389 RMDir "$INSTDIR\include\simdag"
\r
390 RMDir "$INSTDIR\include\msg"
\r
391 RMDir "$INSTDIR\include\mc"
\r
392 RMDir "$INSTDIR\include\xbt"
\r
393 RMDir "$INSTDIR\include"
\r
394 RMDir /r "$INSTDIR\doc"
\r
395 RMDir /r "$INSTDIR\examples"
\r
396 RMDir /r "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"
\r
399 RMDir /r "$INSTDIR\GnuWin32"
\r
402 DeleteRegValue ${env_hkcu} SIMGRID_ROOT
\r
403 DeleteRegValue ${env_hkcu} SIMGRID_VERSION
\r
404 DeleteRegValue ${env_hkcu} SIMGRID_PCRE_LIBRARY_PATH
\r
405 DeleteRegValue ${env_hkcu} SIMGRID_PCRE_LIBRARY_VERSION
\r
406 DeleteRegKey HKCU "SOFTWARE\SimGrid"
\r
408 # delete JAVA-bindings
\r
409 RMDir /r "$INSTDIR\simgrid-java"
\r
412 RMDir /r "$INSTDIR"
\r
414 # uninstall section end
\r