changeset 2848:a55db67ca51d draft

Remove wxWidgets .exe and locales during setup
author Gavin Andresen <gavinandresen@gmail.com>
date Mon, 26 Mar 2012 12:33:35 -0400
parents 206f4f1fde4a
children 90cea2c85289
files share/setup.nsi
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/share/setup.nsi
+++ b/share/setup.nsi
@@ -75,6 +75,10 @@
     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