Update Installer to delete old Install directory

This commit is contained in:
Chris Burgener 2016-03-05 23:06:29 -05:00
parent 8f75594de7
commit d3bc7a9481
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,9 @@ Section "Base" SEC01
; TODO: Make a nice subsection-ized display
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
; Delete old install directory if it exists
IfFileExists "$INSTDIR\*.*" 0 +2
RMDir /r "$INSTDIR"
File "${BASE_DIR}\Dolphin.exe"
File "${BASE_DIR}\license.txt"
File "${BASE_DIR}\*.dll"