Skip to content

Commit 63853b8

Browse files
committed
---
yaml --- r: 5734 b: refs/heads/master c: 79e9f7a h: refs/heads/master v: v3
1 parent 57d6390 commit 63853b8

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: fed56b07ba5308851e5a0db0e6e43c23f5d3ed77
2+
refs/heads/master: 79e9f7a015cec50982de941400394f334859e8e7

trunk/src/etc/pkg/rust.nsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Page instfiles
1818
UninstPage uninstConfirm
1919
UninstPage instfiles
2020

21+
Section
22+
WriteUninstaller $INSTDIR\uninstall.exe
23+
SectionEnd
2124

2225
Section "Compiler"
2326
SetOutPath $INSTDIR\bin
@@ -40,3 +43,24 @@ Section "Documentation"
4043
File /nonfatal /oname=rust.html doc\rust.html
4144
File /nonfatal /oname=rust.pdf doc\rust.pdf
4245
SectionEnd
46+
47+
Section "Uninstall"
48+
Delete $INSTDIR\uninstall.exe
49+
Delete $INSTDIR\bin\rustc.exe
50+
Delete $INSTDIR\lib\rustllvm.dll
51+
Delete $INSTDIR\lib\rustrt.dll
52+
Delete $INSTDIR\lib\std.dll
53+
Delete $INSTDIR\lib\rustc\i686-pc-mingw32\lib\rustrt.dll
54+
Delete $INSTDIR\lib\rustc\i686-pc-mingw32\lib\std.dll
55+
Delete $INSTDIR\lib\rustc\i686-pc-mingw32\lib\main.o
56+
Delete $INSTDIR\lib\rustc\i686-pc-mingw32\lib\intrinsics.bc
57+
Delete $INSTDIR\doc\rust.html
58+
Delete $INSTDIR\doc\rust.pdf
59+
RMDir $INSTDIR\bin
60+
RMDir $INSTDIR\lib\rustc\i686-pc-mingw32\lib
61+
RMDir $INSTDIR\lib\rustc\i686-pc-mingw32
62+
RMDir $INSTDIR\lib\rustc
63+
RMDir $INSTDIR\lib
64+
RMDir $INSTDIR\doc
65+
RMDir $INSTDIR
66+
SectionEnd

0 commit comments

Comments
 (0)