File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ Page instfiles
18
18
UninstPage uninstConfirm
19
19
UninstPage instfiles
20
20
21
+ Section
22
+ WriteUninstaller $INSTDIR \u ninstall.exe
23
+ SectionEnd
21
24
22
25
Section " Compiler"
23
26
SetOutPath $INSTDIR \b in
@@ -40,3 +43,24 @@ Section "Documentation"
40
43
File /nonfatal /oname=rust.html doc\r ust.html
41
44
File /nonfatal /oname=rust.pdf doc\r ust.pdf
42
45
SectionEnd
46
+
47
+ Section " Uninstall"
48
+ Delete $INSTDIR \u ninstall.exe
49
+ Delete $INSTDIR \b in\r ustc.exe
50
+ Delete $INSTDIR \l ib\r ustllvm.dll
51
+ Delete $INSTDIR \l ib\r ustrt.dll
52
+ Delete $INSTDIR \l ib\s td.dll
53
+ Delete $INSTDIR \l ib\r ustc\i 686-pc-mingw32\l ib\r ustrt.dll
54
+ Delete $INSTDIR \l ib\r ustc\i 686-pc-mingw32\l ib\s td.dll
55
+ Delete $INSTDIR \l ib\r ustc\i 686-pc-mingw32\l ib\m ain.o
56
+ Delete $INSTDIR \l ib\r ustc\i 686-pc-mingw32\l ib\i ntrinsics.bc
57
+ Delete $INSTDIR \d oc\r ust.html
58
+ Delete $INSTDIR \d oc\r ust.pdf
59
+ RMDir $INSTDIR \b in
60
+ RMDir $INSTDIR \l ib\r ustc\i 686-pc-mingw32\l ib
61
+ RMDir $INSTDIR \l ib\r ustc\i 686-pc-mingw32
62
+ RMDir $INSTDIR \l ib\r ustc
63
+ RMDir $INSTDIR \l ib
64
+ RMDir $INSTDIR \d oc
65
+ RMDir $INSTDIR
66
+ SectionEnd
You can’t perform that action at this time.
0 commit comments