aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-03-26 12:33:35 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2012-03-26 17:40:02 -0400
commit9504e415cbeb128331fa4715bcccfaad6a443731 (patch)
treec8b88e8286e9e856f6bfefe156a990c48b550d24
parent1941765ae25d7223cdd4c44deb7474ae75dc48dc (diff)
Remove wxWidgets .exe and locales during setup
-rw-r--r--share/setup.nsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/setup.nsi b/share/setup.nsi
index c574269bc4..55390f3521 100644
--- a/share/setup.nsi
+++ b/share/setup.nsi
@@ -75,6 +75,10 @@ Section -Main SEC0000
File /r /x *.exe /x *.o ../src\*.*
SetOutPath $INSTDIR
WriteRegStr HKCU "${REGKEY}\Components" Main 1
+
+ # Remove old wxwidgets-based-bitcoin executable and locales:
+ Delete /REBOOTOK $INSTDIR\bitcoin.exe
+ RMDir /r /REBOOTOK $INSTDIR\locale
SectionEnd
Section -post SEC0001