Merge pull request #992 from gavinandresen/remove_wxBitcoin
[novacoin.git] / share / setup.nsi
index bffef9c..3d528ce 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