Remove wxWidgets .exe and locales during setup
authorGavin Andresen <gavinandresen@gmail.com>
Mon, 26 Mar 2012 16:33:35 +0000 (12:33 -0400)
committerGavin Andresen <gavinandresen@gmail.com>
Mon, 26 Mar 2012 18:14:45 +0000 (14:14 -0400)
share/setup.nsi

index eba3b66..af37e7d 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