aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-03-26 12:33:35 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-03-26 14:14:45 -0400
commita56881b0058c257f626549a4530f2b825231a82d (patch)
treeec9ad8492fc86dde990b27a24b4d68030651f3cd /share
parent01a196e08db49d83cf6c5abd8a799c56dcfef503 (diff)
downloadbitcoin-a56881b0058c257f626549a4530f2b825231a82d.tar.xz
Remove wxWidgets .exe and locales during setup
Diffstat (limited to 'share')
-rw-r--r--share/setup.nsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/setup.nsi b/share/setup.nsi
index eba3b66dc8..af37e7d22f 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