Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
57a99e61785df4ceeebe576221717cf0b1a86e5b
[simgrid.git] / buildtools / Cmake / 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@_@NSIS_WIN_VERSION@@BIN_EXE@"\r
31 Icon "@CMAKE_HOME_DIRECTORY@\doc\webcruft\SimGrid.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\libgras.@LIB_EXE@\r
51         file lib\libsimgrid.@LIB_EXE@\r
52         file /nonfatal lib\libsimgrid_shared.dll\r
53         file /nonfatal lib\libsimgrid_shared.dll.a\r
54         file /nonfatal lib\libsimgrid_shared.ref\r
55         \r
56         #install headers\r
57         CreateDirectory  $INSTDIR\include\r
58         setOutPath $INSTDIR\include\r
59         file @CMAKE_HOME_DIRECTORY@\include\gras.h \r
60         file @CMAKE_HOME_DIRECTORY@\include\xbt.h\r
61         file include\simgrid_config.h\r
62         \r
63         CreateDirectory  $INSTDIR\include\xbt\r
64         setOutPath $INSTDIR\include\xbt\r
65         file @CMAKE_HOME_DIRECTORY@\include\xbt\misc.h\r
66         file @CMAKE_HOME_DIRECTORY@\include\xbt\sysdep.h\r
67         file @CMAKE_HOME_DIRECTORY@\include\xbt\virtu.h\r
68         file @CMAKE_HOME_DIRECTORY@\include\xbt\str.h\r
69         file @CMAKE_HOME_DIRECTORY@\include\xbt\strbuff.h\r
70         file @CMAKE_HOME_DIRECTORY@\include\xbt\hash.h\r
71         file @CMAKE_HOME_DIRECTORY@\include\xbt\function_types.h\r
72         file @CMAKE_HOME_DIRECTORY@\include\xbt\asserts.h \r
73         file @CMAKE_HOME_DIRECTORY@\include\xbt\ex.h\r
74         file @CMAKE_HOME_DIRECTORY@\include\xbt\log.h\r
75         file @CMAKE_HOME_DIRECTORY@\include\xbt\module.h\r
76         file @CMAKE_HOME_DIRECTORY@\include\xbt\mallocator.h\r
77         file @CMAKE_HOME_DIRECTORY@\include\xbt\dynar.h\r
78         file @CMAKE_HOME_DIRECTORY@\include\xbt\dict.h\r
79         file @CMAKE_HOME_DIRECTORY@\include\xbt\set.h\r
80         file @CMAKE_HOME_DIRECTORY@\include\xbt\heap.h\r
81         file @CMAKE_HOME_DIRECTORY@\include\xbt\graph.h\r
82         file @CMAKE_HOME_DIRECTORY@\include\xbt\fifo.h\r
83         file @CMAKE_HOME_DIRECTORY@\include\xbt\swag.h\r
84         file @CMAKE_HOME_DIRECTORY@\include\xbt\lib.h\r
85         file @CMAKE_HOME_DIRECTORY@\include\xbt\matrix.h\r
86         file @CMAKE_HOME_DIRECTORY@\include\xbt\peer.h\r
87         file @CMAKE_HOME_DIRECTORY@\include\xbt\config.h\r
88         file @CMAKE_HOME_DIRECTORY@\include\xbt\cunit.h\r
89         file @CMAKE_HOME_DIRECTORY@\include\xbt\graphxml_parse.h\r
90         file @CMAKE_HOME_DIRECTORY@\include\xbt\graphxml.h\r
91         file @CMAKE_HOME_DIRECTORY@\include\xbt\time.h\r
92         file @CMAKE_HOME_DIRECTORY@\include\xbt\synchro.h\r
93         file @CMAKE_HOME_DIRECTORY@\include\xbt\synchro_core.h\r
94         file @CMAKE_HOME_DIRECTORY@\include\xbt\queue.h\r
95         file @CMAKE_HOME_DIRECTORY@\include\xbt\setset.h\r
96         file @CMAKE_HOME_DIRECTORY@\include\xbt\mmalloc.h\r
97         file @CMAKE_HOME_DIRECTORY@\include\xbt\replay_trace_reader.h\r
98         file @CMAKE_HOME_DIRECTORY@\include\xbt\parmap.h\r
99         file @CMAKE_HOME_DIRECTORY@\include\xbt\automaton.h\r
100         file @CMAKE_HOME_DIRECTORY@\include\xbt\automatonparse_promela.h\r
101         file @CMAKE_HOME_DIRECTORY@\include\xbt\datadesc.h\r
102 \r
103         CreateDirectory  $INSTDIR\include\simgrid\r
104         setOutPath $INSTDIR\include\simgrid\r
105         file @CMAKE_HOME_DIRECTORY@\include\simgrid\platf.h\r
106         file @CMAKE_HOME_DIRECTORY@\include\simgrid\modelchecker.h\r
107         \r
108         CreateDirectory  $INSTDIR\include\msg\r
109         setOutPath $INSTDIR\include\msg\r
110         file @CMAKE_HOME_DIRECTORY@\include\msg\msg.h\r
111         file @CMAKE_HOME_DIRECTORY@\include\msg\datatypes.h\r
112         \r
113         CreateDirectory  $INSTDIR\include\simdag\r
114         setOutPath $INSTDIR\include\simdag\r
115         file @CMAKE_HOME_DIRECTORY@\include\simdag\simdag.h\r
116         file @CMAKE_HOME_DIRECTORY@\include\simdag\datatypes.h\r
117         \r
118         CreateDirectory  $INSTDIR\include\smpi\r
119         setOutPath $INSTDIR\include\smpi\r
120         file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi.h\r
121         file @CMAKE_HOME_DIRECTORY@\include\smpi\mpi.h\r
122         file @CMAKE_HOME_DIRECTORY@\include\smpi\mpif.h\r
123         file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi_cocci.h\r
124         file include\smpi\smpif.h\r
125         \r
126         CreateDirectory  $INSTDIR\include\surf\r
127         setOutPath $INSTDIR\include\surf\r
128         file @CMAKE_HOME_DIRECTORY@\include\surf\surfxml_parse.h\r
129         file @CMAKE_HOME_DIRECTORY@\include\surf\simgrid_dtd.h\r
130         file @CMAKE_HOME_DIRECTORY@\include\surf\surf_routing.h\r
131         \r
132         CreateDirectory  $INSTDIR\include\gras\r
133         setOutPath $INSTDIR\include\gras\r
134         file @CMAKE_HOME_DIRECTORY@\include\gras\transport.h\r
135         file @CMAKE_HOME_DIRECTORY@\include\gras\virtu.h\r
136         file @CMAKE_HOME_DIRECTORY@\include\gras\emul.h\r
137         file @CMAKE_HOME_DIRECTORY@\include\gras\process.h\r
138         file @CMAKE_HOME_DIRECTORY@\include\gras\module.h\r
139         file @CMAKE_HOME_DIRECTORY@\include\gras\messages.h\r
140         file @CMAKE_HOME_DIRECTORY@\include\gras\timer.h\r
141         \r
142         CreateDirectory  $INSTDIR\include\amok\r
143         setOutPath $INSTDIR\include\amok\r
144         file @CMAKE_HOME_DIRECTORY@\include\amok\peermanagement.h\r
145         file @CMAKE_HOME_DIRECTORY@\include\amok\bandwidth.h\r
146         \r
147         CreateDirectory  $INSTDIR\include\instr\r
148         setOutPath $INSTDIR\include\instr\r
149         file @CMAKE_HOME_DIRECTORY@\include\instr\instr.h\r
150         \r
151         CreateDirectory  $INSTDIR\include\simix\r
152         setOutPath $INSTDIR\include\simix\r
153         file @CMAKE_HOME_DIRECTORY@\include\simix\simix.h\r
154         file @CMAKE_HOME_DIRECTORY@\include\simix\datatypes.h\r
155         file @CMAKE_HOME_DIRECTORY@\include\simix\context.h\r
156         \r
157 SectionEnd\r
158 Section "Binaries" BinSection   \r
159         \r
160         # insatll bin\r
161         CreateDirectory $INSTDIR\bin\r
162         setOutPath $INSTDIR\bin\r
163         file bin\colorize\r
164         file bin\graphicator@BIN_EXE@\r
165         file bin\gras_stub_generator@BIN_EXE@\r
166         file bin\simgrid_update_xml\r
167         \r
168 SectionEnd\r
169 Section "Documentation" DocSection      \r
170         \r
171         # install doc\r
172         CreateDirectory $INSTDIR\doc\r
173         setOutPath $INSTDIR\doc\r
174         file /nonfatal /r @CMAKE_HOME_DIRECTORY@\doc\html\r
175         # create a shortcut in the start menu programs directory\r
176         CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
177         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Documentation.lnk" "$INSTDIR\doc\html\index.html"\r
178         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Website.lnk"       "http://simgrid.gforge.inria.fr/"\r
179         \r
180 SectionEnd\r
181 Section "Examples" ExamplesSection      \r
182 \r
183         CreateDirectory $INSTDIR\examples\r
184         setOutPath $INSTDIR\examples\r
185         \r
186         #install examples for platforms\r
187         file /r @CMAKE_HOME_DIRECTORY@\examples\platforms\r
188         \r
189         # install example HelloWorld\r
190         file /r @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\r
191                 \r
192         # install example MasterSlave\r
193         CreateDirectory $INSTDIR\examples\MasterSlave\r
194         setOutPath $INSTDIR\examples\MasterSlave\r
195         file @CMAKE_HOME_DIRECTORY@\examples\msg\masterslave\masterslave_forwarder.c\r
196         file @CMAKE_HOME_DIRECTORY@\examples\msg\masterslave\deployment_masterslave_forwarder.xml\r
197         file @CMAKE_HOME_DIRECTORY@\examples\msg\msg_platform.xml\r
198         file @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\CMakeLists.txt\r
199         file @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\FindPCRE.cmake\r
200         \r
201         # create shortcuts in the start menu programs directory\r
202         CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\"\r
203         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\HelloWorld project.lnk"   "$INSTDIR\examples\HelloWorld"\r
204         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\MasterSlave project.lnk"  "$INSTDIR\examples\MasterSlave"\r
205         \r
206 SectionEnd\r
207 Section "Pcre library" PCRESection      \r
208         # install pcre library\r
209         CreateDirectory $INSTDIR\GnuWin32\r
210         setOutPath $INSTDIR\GnuWin32\r
211         file /r "@PCRE_LIBRARY_PATH@\lib"\r
212         file /r "@PCRE_LIBRARY_PATH@\include"\r
213         file /nonfatal /r "@PCRE_LIBRARY_PATH@\bin"\r
214         file /nonfatal /r "@PCRE_LIBRARY_PATH@\man"\r
215         file /nonfatal /r "@PCRE_LIBRARY_PATH@\share"\r
216 SectionEnd\r
217 \r
218 # default section start\r
219 section \r
220         # define uninstaller name\r
221         writeUninstaller $INSTDIR\uninstaller@BIN_EXE@\r
222 \r
223         # create a shortcut in the start menu programs directory\r
224         CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
225         createShortCut  "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Uninstall simgrid.lnk" "$INSTDIR\uninstaller@BIN_EXE@"\r
226 \r
227         # Include for some of the windows message defines\r
228         !include "winmessages.nsh"\r
229         # HKLM (all users) vs HKCU (current user) defines\r
230         !define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'\r
231         !define env_hkcu 'HKCU "Environment"'\r
232         # Set Variables\r
233         WriteRegExpandStr ${env_hkcu} SIMGRID_ROOT $INSTDIR\r
234         WriteRegExpandStr ${env_hkcu} SIMGRID_VERSION @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\r
235 \r
236         WriteRegExpandStr ${env_hkcu} SIMGRID_PCRE_LIBRARY_PATH $INSTDIR\GnuWin32\r
237         WriteRegExpandStr ${env_hkcu} SIMGRID_PCRE_LIBRARY_VERSION "8.21"\r
238 \r
239         WriteRegStr HKCU "SOFTWARE\SimGrid" "Version" "@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
240         WriteRegStr HKCU "SOFTWARE\SimGrid" "InstallPath" "$INSTDIR"\r
241         \r
242         SetRebootFlag true\r
243 \r
244 # default section end\r
245 sectionEnd\r
246 \r
247 LangString DESC_LibSection              ${LANG_ENGLISH} "Install Simgrid and gras libraries with associated headers."\r
248 LangString DESC_BinSection              ${LANG_ENGLISH} "Install some useful tools for Simgrid."\r
249 LangString DESC_DocSection              ${LANG_ENGLISH} "Generated (doxygen) documentation."\r
250 LangString DESC_ExamplesSection ${LANG_ENGLISH} "Simgrid's HelloWorld example and some classical platforms."\r
251 LangString DESC_PCRESection     ${LANG_ENGLISH} "Install the PCRE and PCREPOSIX libraries for SimGrid."\r
252 \r
253 LangString DESC_LibSection              ${LANG_FRENCH}  "Installer les librairies Simgrid et Gras et leurs EntĂȘtes."\r
254 LangString DESC_BinSection              ${LANG_FRENCH}  "Installer les outils optionnels."\r
255 LangString DESC_DocSection              ${LANG_FRENCH}  "Installer la documentation."\r
256 LangString DESC_ExamplesSection ${LANG_FRENCH}  "Installer un exemple 'HelloWorld' et des fichiers de plate-formes types."\r
257 LangString DESC_PCRESection     ${LANG_FRENCH}  "Installer les librairies PCRE et PCREPOSIX for SimGrid."\r
258 \r
259 !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN\r
260   !insertmacro MUI_DESCRIPTION_TEXT ${LibSection}               $(DESC_LibSection)\r
261   !insertmacro MUI_DESCRIPTION_TEXT ${BinSection}               $(DESC_BinSection)\r
262   !insertmacro MUI_DESCRIPTION_TEXT ${DocSection}               $(DESC_DocSection)\r
263   !insertmacro MUI_DESCRIPTION_TEXT ${ExamplesSection}  $(DESC_ExamplesSection)\r
264   !insertmacro MUI_DESCRIPTION_TEXT ${PCRESection}              $(DESC_PCRESection)\r
265 !insertmacro MUI_FUNCTION_DESCRIPTION_END\r
266 \r
267 # create a section to define what the uninstaller does.\r
268 # the section will always be named "Uninstall"\r
269 section "Uninstall"\r
270 \r
271         # always delete uninstaller first\r
272         delete $INSTDIR\uninstaller@BIN_EXE@\r
273 \r
274         # delete installed libs\r
275         delete $INSTDIR\lib\libgras.@LIB_EXE@\r
276         delete $INSTDIR\lib\libsimgrid.@LIB_EXE@\r
277         delete $INSTDIR\lib\libsimgrid_shared.dll\r
278         delete $INSTDIR\lib\libsimgrid_shared.dll.a\r
279         delete $INSTDIR\lib\libsimgrid_shared.ref\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\gras_stub_generator@BIN_EXE@\r
285         delete $INSTDIR\bin\simgrid_update_xml\r
286         delete $INSTDIR\bin\smpicc\r
287         delete $INSTDIR\bin\smpif2c\r
288         delete $INSTDIR\bin\smpiff\r
289         delete $INSTDIR\bin\smpirun\r
290         delete $INSTDIR\bin\tesh\r
291         \r
292         # delete installed headers\r
293         delete $INSTDIR\include\gras.h \r
294         delete $INSTDIR\include\xbt.h\r
295         delete $INSTDIR\include\simgrid_config.h\r
296         delete $INSTDIR\include\xbt\misc.h\r
297         delete $INSTDIR\include\xbt\sysdep.h\r
298         delete $INSTDIR\include\xbt\virtu.h\r
299         delete $INSTDIR\include\xbt\str.h\r
300         delete $INSTDIR\include\xbt\strbuff.h\r
301         delete $INSTDIR\include\xbt\hash.h\r
302         delete $INSTDIR\include\xbt\function_types.h\r
303         delete $INSTDIR\include\xbt\asserts.h \r
304         delete $INSTDIR\include\xbt\ex.h\r
305         delete $INSTDIR\include\xbt\log.h\r
306         delete $INSTDIR\include\xbt\module.h\r
307         delete $INSTDIR\include\xbt\mallocator.h\r
308         delete $INSTDIR\include\xbt\dynar.h\r
309         delete $INSTDIR\include\xbt\dict.h\r
310         delete $INSTDIR\include\xbt\set.h\r
311         delete $INSTDIR\include\xbt\heap.h\r
312         delete $INSTDIR\include\xbt\graph.h\r
313         delete $INSTDIR\include\xbt\fifo.h\r
314         delete $INSTDIR\include\xbt\swag.h\r
315         delete $INSTDIR\include\xbt\lib.h\r
316         delete $INSTDIR\include\xbt\matrix.h\r
317         delete $INSTDIR\include\xbt\peer.h\r
318         delete $INSTDIR\include\xbt\config.h\r
319         delete $INSTDIR\include\xbt\cunit.h\r
320         delete $INSTDIR\include\xbt\graphxml_parse.h\r
321         delete $INSTDIR\include\xbt\graphxml.h\r
322         delete $INSTDIR\include\xbt\time.h\r
323         delete $INSTDIR\include\xbt\synchro.h\r
324         delete $INSTDIR\include\xbt\synchro_core.h\r
325         delete $INSTDIR\include\xbt\queue.h\r
326         delete $INSTDIR\include\xbt\setset.h\r
327         delete $INSTDIR\include\xbt\mmalloc.h\r
328         delete $INSTDIR\include\xbt\replay_trace_reader.h\r
329         delete $INSTDIR\include\xbt\parmap.h\r
330         delete $INSTDIR\include\mc\modelchecker.h\r
331         delete $INSTDIR\include\msg\msg.h\r
332         delete $INSTDIR\include\msg\datatypes.h \r
333         delete $INSTDIR\include\simdag\simdag.h\r
334         delete $INSTDIR\include\simdag\datatypes.h\r
335         delete $INSTDIR\include\smpi\smpi.h\r
336         delete $INSTDIR\include\smpi\mpi.h\r
337         delete $INSTDIR\include\smpi\mpif.h\r
338         delete $INSTDIR\include\smpi\smpi_cocci.h\r
339         delete $INSTDIR\include\smpi\smpif.h\r
340         delete $INSTDIR\include\surf\surfxml_parse.h\r
341         delete $INSTDIR\include\surf\simgrid_dtd.h\r
342         delete $INSTDIR\include\surf\surf_routing.h\r
343         delete $INSTDIR\include\gras\datadesc.h\r
344         delete $INSTDIR\include\gras\transport.h\r
345         delete $INSTDIR\include\gras\virtu.h\r
346         delete $INSTDIR\include\gras\emul.h\r
347         delete $INSTDIR\include\gras\process.h\r
348         delete $INSTDIR\include\gras\module.h\r
349         delete $INSTDIR\include\gras\messages.h\r
350         delete $INSTDIR\include\gras\timer.h\r
351         delete $INSTDIR\include\amok\peermanagement.h\r
352         delete $INSTDIR\include\amok\bandwidth.h\r
353         delete $INSTDIR\include\instr\instr.h\r
354         delete $INSTDIR\include\simix\simix.h\r
355         delete $INSTDIR\include\simix\datatypes.h\r
356         delete $INSTDIR\include\simix\context.h\r
357                 \r
358         # delete EXTRA FILES\r
359         delete $INSTDIR\AUTHORS\r
360         delete $INSTDIR\Changelog\r
361         delete $INSTDIR\COPYING\r
362         delete $INSTDIR\LICENSE-LGPL-2.1\r
363         delete $INSTDIR\NEWS\r
364         \r
365         # now delete directories\r
366         RMDir  "$INSTDIR\bin"\r
367         RMDir  "$INSTDIR\lib"\r
368         RMDir  "$INSTDIR\include\simix"\r
369         RMDir  "$INSTDIR\include\instr"\r
370         RMDir  "$INSTDIR\include\amok"\r
371         RMDir  "$INSTDIR\include\gras"\r
372         RMDir  "$INSTDIR\include\surf"\r
373         RMDir  "$INSTDIR\include\smpi"\r
374         RMDir  "$INSTDIR\include\simdag"\r
375         RMDir  "$INSTDIR\include\msg"\r
376         RMDir  "$INSTDIR\include\mc"\r
377         RMDir  "$INSTDIR\include\xbt"\r
378         RMDir  "$INSTDIR\include"\r
379         RMDir  /r "$INSTDIR\doc"\r
380         RMDir  /r "$INSTDIR\examples"\r
381         RMDir  /r "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
382         \r
383         # delete PCRE\r
384         RMDir   /r "$INSTDIR\GnuWin32"\r
385         \r
386         # Delete variable\r
387         DeleteRegValue ${env_hkcu} SIMGRID_ROOT\r
388         DeleteRegValue ${env_hkcu} SIMGRID_VERSION\r
389         DeleteRegValue ${env_hkcu} SIMGRID_PCRE_LIBRARY_PATH\r
390         DeleteRegValue ${env_hkcu} SIMGRID_PCRE_LIBRARY_VERSION\r
391     DeleteRegKey HKCU "SOFTWARE\SimGrid"\r
392     \r
393     # delete INSTDIR\r
394     RMDir  /r "$INSTDIR"\r
395     \r
396 # uninstall section end\r
397 sectionEnd