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