Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cmake] clean the gcc version detection and handling
[simgrid.git] / tools / cmake / src / simgrid.nsi.in
1 !include "MUI2.nsh"\r
2 \r
3 ;--------------------------------\r
4 ;Interface Configuration\r
5 \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
9 \r
10 ;--------------------------------\r
11 ;Pages\r
12 \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
18   \r
19   !insertmacro MUI_UNPAGE_CONFIRM\r
20   !insertmacro MUI_UNPAGE_INSTFILES\r
21   !insertmacro MUI_UNPAGE_FINISH\r
22 \r
23 ;--------------------------------\r
24 ;Languages\r
25   !insertmacro MUI_LANGUAGE "English"\r
26   !insertmacro MUI_LANGUAGE "French"\r
27 ;--------------------------------\r
28 \r
29 Name "Simgrid"\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
32 \r
33 RequestExecutionLevel admin\r
34 \r
35 # set the default installation directory\r
36 InstallDir c:\SimGrid@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\r
37 \r
38 Section "Libraries and Headers" LibSection\r
39 \r
40         setOutPath $INSTDIR\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
46 \r
47         # install lib\r
48         CreateDirectory $INSTDIR\lib\r
49         setOutPath $INSTDIR\lib\r
50         file lib\libsimgrid.dll\r
51         file lib\libsimgrid.def\r
52         \r
53         #install headers\r
54         CreateDirectory  $INSTDIR\include\r
55         setOutPath $INSTDIR\include\r
56         file @CMAKE_HOME_DIRECTORY@\include\xbt.h\r
57         file include\simgrid_config.h\r
58         \r
59         CreateDirectory  $INSTDIR\include\xbt\r
60         setOutPath $INSTDIR\include\xbt\r
61         file @CMAKE_HOME_DIRECTORY@\include\xbt\misc.h\r
62         file @CMAKE_HOME_DIRECTORY@\include\xbt\sysdep.h\r
63         file @CMAKE_HOME_DIRECTORY@\include\xbt\virtu.h\r
64         file @CMAKE_HOME_DIRECTORY@\include\xbt\str.h\r
65         file @CMAKE_HOME_DIRECTORY@\include\xbt\strbuff.h\r
66         file @CMAKE_HOME_DIRECTORY@\include\xbt\hash.h\r
67         file @CMAKE_HOME_DIRECTORY@\include\xbt\function_types.h\r
68         file @CMAKE_HOME_DIRECTORY@\include\xbt\asserts.h \r
69         file @CMAKE_HOME_DIRECTORY@\include\xbt\ex.h\r
70         file @CMAKE_HOME_DIRECTORY@\include\xbt\log.h\r
71         file @CMAKE_HOME_DIRECTORY@\include\xbt\module.h\r
72         file @CMAKE_HOME_DIRECTORY@\include\xbt\mallocator.h\r
73         file @CMAKE_HOME_DIRECTORY@\include\xbt\dynar.h\r
74         file @CMAKE_HOME_DIRECTORY@\include\xbt\dict.h\r
75         file @CMAKE_HOME_DIRECTORY@\include\xbt\set.h\r
76         file @CMAKE_HOME_DIRECTORY@\include\xbt\heap.h\r
77         file @CMAKE_HOME_DIRECTORY@\include\xbt\graph.h\r
78         file @CMAKE_HOME_DIRECTORY@\include\xbt\fifo.h\r
79         file @CMAKE_HOME_DIRECTORY@\include\xbt\swag.h\r
80         file @CMAKE_HOME_DIRECTORY@\include\xbt\lib.h\r
81         file @CMAKE_HOME_DIRECTORY@\include\xbt\matrix.h\r
82         file @CMAKE_HOME_DIRECTORY@\include\xbt\peer.h\r
83         file @CMAKE_HOME_DIRECTORY@\include\xbt\config.h\r
84         file @CMAKE_HOME_DIRECTORY@\include\xbt\cunit.h\r
85         file @CMAKE_HOME_DIRECTORY@\include\xbt\graphxml_parse.h\r
86         file @CMAKE_HOME_DIRECTORY@\include\xbt\graphxml.h\r
87         file @CMAKE_HOME_DIRECTORY@\include\xbt\synchro_core.h\r
88         file @CMAKE_HOME_DIRECTORY@\include\xbt\queue.h\r
89         file @CMAKE_HOME_DIRECTORY@\include\xbt\setset.h\r
90         file @CMAKE_HOME_DIRECTORY@\include\xbt\mmalloc.h\r
91         file @CMAKE_HOME_DIRECTORY@\include\xbt\parmap.h\r
92         file @CMAKE_HOME_DIRECTORY@\include\xbt\automaton.h\r
93     file @CMAKE_HOME_DIRECTORY@\include\xbt\xbt_os_thread.h\r
94     file @CMAKE_HOME_DIRECTORY@\include\xbt\RngStream.h\r
95 \r
96         CreateDirectory  $INSTDIR\include\simgrid\r
97         setOutPath $INSTDIR\include\simgrid\r
98         file @CMAKE_HOME_DIRECTORY@\include\simgrid\platf.h\r
99         file @CMAKE_HOME_DIRECTORY@\include\simgrid\modelchecker.h\r
100         file @CMAKE_HOME_DIRECTORY@\include\simgrid\simix.h\r
101 \r
102         CreateDirectory  $INSTDIR\include\msg\r
103         setOutPath $INSTDIR\include\msg\r
104         file @CMAKE_HOME_DIRECTORY@\include\msg\msg.h\r
105         file @CMAKE_HOME_DIRECTORY@\include\msg\datatypes.h\r
106         \r
107         CreateDirectory  $INSTDIR\include\simdag\r
108         setOutPath $INSTDIR\include\simdag\r
109         file @CMAKE_HOME_DIRECTORY@\include\simdag\simdag.h\r
110         file @CMAKE_HOME_DIRECTORY@\include\simdag\datatypes.h\r
111 \r
112         \r
113         CreateDirectory  $INSTDIR\include\surf\r
114         setOutPath $INSTDIR\include\surf\r
115         file @CMAKE_HOME_DIRECTORY@\include\surf\surfxml_parse.h\r
116         file @CMAKE_HOME_DIRECTORY@\include\surf\simgrid_dtd.h\r
117         file @CMAKE_HOME_DIRECTORY@\include\surf\surf_routing.h\r
118         \r
119         CreateDirectory  $INSTDIR\include\instr\r
120         setOutPath $INSTDIR\include\instr\r
121         file @CMAKE_HOME_DIRECTORY@\include\instr\instr.h\r
122         \r
123 SectionEnd\r
124 Section "Binaries" BinSection   \r
125         \r
126         # insatll bin\r
127         CreateDirectory $INSTDIR\bin\r
128         setOutPath $INSTDIR\bin\r
129         file bin\colorize\r
130         file bin\graphicator@BIN_EXE@\r
131         file bin\simgrid_update_xml\r
132 \r
133         \r
134 SectionEnd\r
135 Section "Documentation" DocSection      \r
136         \r
137         # install doc\r
138         CreateDirectory $INSTDIR\doc\r
139         setOutPath $INSTDIR\doc\r
140         file /nonfatal /r @CMAKE_HOME_DIRECTORY@\doc\html\r
141         # create a shortcut in the start menu programs directory\r
142         CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
143         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Documentation.lnk" "$INSTDIR\doc\html\index.html"\r
144         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Website.lnk"       "http://simgrid.gforge.inria.fr/"\r
145         \r
146 SectionEnd\r
147 Section "Examples" ExamplesSection      \r
148 \r
149         CreateDirectory $INSTDIR\examples\r
150         setOutPath $INSTDIR\examples\r
151         \r
152         #install examples for platforms\r
153         file /r @CMAKE_HOME_DIRECTORY@\examples\platforms\r
154         \r
155         # install example HelloWorld\r
156         file /r @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\r
157                 \r
158         # install example MasterSlave\r
159         CreateDirectory $INSTDIR\examples\MasterSlave\r
160         setOutPath $INSTDIR\examples\MasterSlave\r
161         file @CMAKE_HOME_DIRECTORY@\examples\msg\masterslave\masterslave_forwarder.c\r
162         file @CMAKE_HOME_DIRECTORY@\examples\msg\masterslave\deployment_masterslave_forwarder.xml\r
163         file @CMAKE_HOME_DIRECTORY@\examples\platforms\platform.xml\r
164         file @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\CMakeLists.txt\r
165 \r
166         # create shortcuts in the start menu programs directory\r
167         CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\"\r
168         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\HelloWorld project.lnk"   "$INSTDIR\examples\HelloWorld"\r
169         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\MasterSlave project.lnk"  "$INSTDIR\examples\MasterSlave"\r
170         \r
171 SectionEnd\r
172 \r
173 Section "Java Bindings" JavaSection     \r
174         # install java library and examples\r
175         CreateDirectory $INSTDIR\examples\simgrid-java\r
176         setOutPath $INSTDIR\lib\r
177         file /nonfatal "lib\simgrid-java.dll"\r
178         file /nonfatal "lib\simgrid-java.def"\r
179         file /nonfatal "simgrid.jar"\r
180         setOutPath $INSTDIR\examples\simgrid-java\r
181         file /nonfatal /r ".\examples\"\r
182         # create shortcuts in the start menu programs directory\r
183         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\Java project.lnk" "$INSTDIR\examples\simgrid-java"\r
184         # create a popup box, with an OK button"\r
185         messageBox MB_OK "WARNING! Please add to your environment variable CLASSPATH value '$INSTDIR\lib\simgrid.jar;.' before executing Simgrid classes."\r
186 SectionEnd\r
187 \r
188 Section "SMPI Library" SMPISection\r
189         setOutPath $INSTDIR\bin\r
190         file bin\smpicc\r
191         file bin\smpiff\r
192         file bin\smpirun\r
193         file bin\smpif90\r
194         \r
195     setOutPath $INSTDIR\lib\r
196         \r
197         CreateDirectory  $INSTDIR\include\smpi\r
198         setOutPath $INSTDIR\include\smpi\r
199         file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi.h\r
200         file @CMAKE_HOME_DIRECTORY@\include\smpi\mpi.h\r
201         file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi_cocci.h\r
202         file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi_main.h\r
203         file include\smpi\mpif.h\r
204         \r
205         CreateDirectory $INSTDIR\examples\smpi\r
206         file /r @CMAKE_HOME_DIRECTORY@\examples\smpi\tracing\r
207         file /r @CMAKE_HOME_DIRECTORY@\examples\smpi\replay\r
208         setOutPath $INSTDIR\examples\smpi\r
209         file @CMAKE_HOME_DIRECTORY@\examples\smpi\bcbench.c\r
210         file @CMAKE_HOME_DIRECTORY@\examples\smpi\mvmul.c\r
211         file /r @CMAKE_HOME_DIRECTORY@\examples\smpi\mc\r
212         file @CMAKE_HOME_DIRECTORY@\examples\smpi\hostfile\r
213         file @CMAKE_HOME_DIRECTORY@\examples\platforms\small_platform_with_routers.xml\r
214         file @CMAKE_HOME_DIRECTORY@\examples\smpi\CMakeLists.txt\r
215 SectionEnd\r
216 \r
217 # default section start\r
218 section \r
219         # define uninstaller name\r
220         writeUninstaller $INSTDIR\uninstaller@BIN_EXE@\r
221 \r
222         # create a shortcut in the start menu programs directory\r
223         CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
224         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Uninstall simgrid.lnk" "$INSTDIR\uninstaller@BIN_EXE@"\r
225 \r
226         # Include for some of the windows message defines\r
227         !include "winmessages.nsh"\r
228         # HKLM (all users) vs HKCU (current user) defines\r
229         !define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'\r
230         !define env_hkcu 'HKCU "Environment"'\r
231         # Set Variables\r
232         WriteRegExpandStr ${env_hkcu} SIMGRID_ROOT $INSTDIR\r
233         WriteRegExpandStr ${env_hkcu} SIMGRID_VERSION @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\r
234         \r
235         WriteRegStr HKCU "SOFTWARE\SimGrid" "Version" "@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
236         WriteRegStr HKCU "SOFTWARE\SimGrid" "InstallPath" "$INSTDIR"\r
237         \r
238         # create a popup box, with an OK button"\r
239         messageBox MB_OK "WARNING! Please add to your environment variable PATH value '$INSTDIR\lib;$INSTDIR\GnuWin32\bin' before executing Simgrid binaries."\r
240         \r
241         SetRebootFlag false\r
242 \r
243 # default section end\r
244 sectionEnd\r
245 \r
246 LangString DESC_LibSection              ${LANG_ENGLISH} "Install Simgrid libraries with associated headers."\r
247 LangString DESC_BinSection              ${LANG_ENGLISH} "Install some useful tools for Simgrid."\r
248 LangString DESC_DocSection              ${LANG_ENGLISH} "Generated (doxygen) documentation."\r
249 LangString DESC_ExamplesSection ${LANG_ENGLISH} "Simgrid's HelloWorld example and some classical platforms."\r
250 LangString DESC_JAVASection     ${LANG_ENGLISH} "Install the Java binding and examples."\r
251 LangString DESC_SMPISection     ${LANG_ENGLISH} "Install the SMPI library, headers, and examples."\r
252 \r
253 \r
254 LangString DESC_LibSection              ${LANG_FRENCH}  "Installer les librairies Simgrid et leurs Ent�tes."\r
255 LangString DESC_BinSection              ${LANG_FRENCH}  "Installer les outils optionnels."\r
256 LangString DESC_DocSection              ${LANG_FRENCH}  "Installer la documentation."\r
257 LangString DESC_ExamplesSection ${LANG_FRENCH}  "Installer un exemple 'HelloWorld' et des fichiers de plate-formes types."\r
258 LangString DESC_JAVASection     ${LANG_FRENCH}  "Installer la librairie Simgrid-java et les exemples."\r
259 LangString DESC_SMPISection     ${LANG_FRENCH}  "Installer la librairie SMPI, ses en-t�tes, et ses exemples."\r
260 \r
261 !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN\r
262   !insertmacro MUI_DESCRIPTION_TEXT ${LibSection}               $(DESC_LibSection)\r
263   !insertmacro MUI_DESCRIPTION_TEXT ${BinSection}               $(DESC_BinSection)\r
264   !insertmacro MUI_DESCRIPTION_TEXT ${DocSection}               $(DESC_DocSection)\r
265   !insertmacro MUI_DESCRIPTION_TEXT ${ExamplesSection}  $(DESC_ExamplesSection)\r
266   !insertmacro MUI_DESCRIPTION_TEXT ${JAVASection}              $(DESC_JAVASection)\r
267   !insertmacro MUI_DESCRIPTION_TEXT ${SMPISection}              $(DESC_SMPISection)\r
268 !insertmacro MUI_FUNCTION_DESCRIPTION_END\r
269 \r
270 # create a section to define what the uninstaller does.\r
271 # the section will always be named "Uninstall"\r
272 section "Uninstall"\r
273 \r
274         # always delete uninstaller first\r
275         delete $INSTDIR\uninstaller@BIN_EXE@\r
276 \r
277         # delete installed libs\r
278         delete $INSTDIR\lib\libsimgrid.dll\r
279         delete $INSTDIR\lib\libsimgrid.def\r
280 \r
281         # delete installed bin\r
282         delete $INSTDIR\bin\colorize\r
283         delete $INSTDIR\bin\graphicator@BIN_EXE@\r
284         delete $INSTDIR\bin\simgrid_update_xml\r
285         delete $INSTDIR\bin\smpicc\r
286         delete $INSTDIR\bin\smpiff\r
287         delete $INSTDIR\bin\smpirun\r
288         delete $INSTDIR\bin\tesh\r
289         \r
290         # delete installed headers\r
291         delete $INSTDIR\include\xbt.h\r
292         delete $INSTDIR\include\simgrid_config.h\r
293         delete $INSTDIR\include\xbt\misc.h\r
294         delete $INSTDIR\include\xbt\sysdep.h\r
295         delete $INSTDIR\include\xbt\virtu.h\r
296         delete $INSTDIR\include\xbt\str.h\r
297         delete $INSTDIR\include\xbt\strbuff.h\r
298         delete $INSTDIR\include\xbt\hash.h\r
299         delete $INSTDIR\include\xbt\function_types.h\r
300         delete $INSTDIR\include\xbt\asserts.h \r
301         delete $INSTDIR\include\xbt\ex.h\r
302         delete $INSTDIR\include\xbt\log.h\r
303         delete $INSTDIR\include\xbt\module.h\r
304         delete $INSTDIR\include\xbt\mallocator.h\r
305         delete $INSTDIR\include\xbt\dynar.h\r
306         delete $INSTDIR\include\xbt\dict.h\r
307         delete $INSTDIR\include\xbt\set.h\r
308         delete $INSTDIR\include\xbt\heap.h\r
309         delete $INSTDIR\include\xbt\graph.h\r
310         delete $INSTDIR\include\xbt\fifo.h\r
311         delete $INSTDIR\include\xbt\swag.h\r
312         delete $INSTDIR\include\xbt\lib.h\r
313         delete $INSTDIR\include\xbt\matrix.h\r
314         delete $INSTDIR\include\xbt\peer.h\r
315         delete $INSTDIR\include\xbt\config.h\r
316         delete $INSTDIR\include\xbt\cunit.h\r
317         delete $INSTDIR\include\xbt\graphxml_parse.h\r
318         delete $INSTDIR\include\xbt\graphxml.h\r
319         delete $INSTDIR\include\xbt\time.h\r
320         delete $INSTDIR\include\xbt\synchro.h\r
321         delete $INSTDIR\include\xbt\synchro_core.h\r
322         delete $INSTDIR\include\xbt\queue.h\r
323         delete $INSTDIR\include\xbt\setset.h\r
324         delete $INSTDIR\include\xbt\mmalloc.h\r
325         delete $INSTDIR\include\xbt\replay_trace_reader.h\r
326         delete $INSTDIR\include\xbt\parmap.h\r
327         delete $INSTDIR\include\xbt\socket.h\r
328         delete $INSTDIR\include\xbt\file_stat.h\r
329 \r
330         delete $INSTDIR\include\simgrid\platf.h\r
331         delete $INSTDIR\include\simgrid\modelchecker.h\r
332         delete $INSTDIR\include\simgrid\simix.h\r
333 \r
334         delete $INSTDIR\include\msg\msg.h\r
335         delete $INSTDIR\include\msg\datatypes.h \r
336         delete $INSTDIR\include\simdag\simdag.h\r
337         delete $INSTDIR\include\simdag\datatypes.h\r
338         delete $INSTDIR\include\smpi\smpi.h\r
339         delete $INSTDIR\include\smpi\mpi.h\r
340         delete $INSTDIR\include\smpi\mpif.h\r
341         delete $INSTDIR\include\smpi\smpi_cocci.h\r
342         delete $INSTDIR\include\smpi\smpi_main.h\r
343         delete $INSTDIR\include\surf\surfxml_parse.h\r
344         delete $INSTDIR\include\surf\simgrid_dtd.h\r
345         delete $INSTDIR\include\surf\surf_routing.h\r
346         delete $INSTDIR\include\instr\instr.h\r
347                 \r
348         # delete EXTRA FILES\r
349         delete $INSTDIR\AUTHORS\r
350         delete $INSTDIR\Changelog\r
351         delete $INSTDIR\COPYING\r
352         delete $INSTDIR\LICENSE-LGPL-2.1\r
353         delete $INSTDIR\NEWS\r
354         \r
355         # now delete directories\r
356         RMDir  "$INSTDIR\bin"\r
357         RMDir  "$INSTDIR\lib"\r
358         RMDir  "$INSTDIR\include\simix"\r
359         RMDir  "$INSTDIR\include\instr"\r
360         RMDir  "$INSTDIR\include\surf"\r
361         RMDir  "$INSTDIR\include\smpi"\r
362         RMDir  "$INSTDIR\include\simdag"\r
363         RMDir  "$INSTDIR\include\msg"\r
364         RMDir  "$INSTDIR\include\mc"\r
365         RMDir  "$INSTDIR\include\xbt"\r
366         RMDir  "$INSTDIR\include"\r
367         RMDir  /r "$INSTDIR\doc"\r
368         RMDir  /r "$INSTDIR\examples"\r
369         RMDir  /r "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
370         \r
371         # Delete variable\r
372         DeleteRegValue ${env_hkcu} SIMGRID_ROOT\r
373         DeleteRegValue ${env_hkcu} SIMGRID_VERSION\r
374     DeleteRegKey HKCU "SOFTWARE\SimGrid"\r
375     \r
376     # delete JAVA-bindings\r
377     RMDir /r "$INSTDIR\simgrid-java"\r
378     \r
379     # delete INSTDIR\r
380     RMDir  /r "$INSTDIR"\r
381     \r
382 # uninstall section end\r
383 sectionEnd\r