From a56881b0058c257f626549a4530f2b825231a82d Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Mon, 26 Mar 2012 12:33:35 -0400 Subject: [PATCH] Remove wxWidgets .exe and locales during setup --- share/setup.nsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/setup.nsi b/share/setup.nsi index eba3b66dc..af37e7d22 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