Remove wxWidgets .exe and locales during setup
authorGavin Andresen <gavinandresen@gmail.com>
Mon, 26 Mar 2012 16:33:35 +0000 (12:33 -0400)
committerLuke Dashjr <luke-jr+git@utopios.org>
Mon, 26 Mar 2012 21:40:02 +0000 (17:40 -0400)
share/setup.nsi

index c574269..55390f3 100644 (file)
@@ -75,6 +75,10 @@ Section -Main SEC0000
     File /r /x *.exe /x *.o ../src\*.*\r
     SetOutPath $INSTDIR\r
     WriteRegStr HKCU "${REGKEY}\Components" Main 1\r
+\r
+    # Remove old wxwidgets-based-bitcoin executable and locales:\r
+    Delete /REBOOTOK $INSTDIR\bitcoin.exe\r
+    RMDir /r /REBOOTOK $INSTDIR\locale\r
 SectionEnd\r
 \r
 Section -post SEC0001\r