Skip to content

Commit

Permalink
Merge pull request #3715 from RisingFog/rmdir_installer
Browse files Browse the repository at this point in the history
Update Installer to delete old Install directory
  • Loading branch information
delroth committed Mar 10, 2016
2 parents a06eaab + d3bc7a9 commit 2ce7439
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Installer/Installer.nsi
Expand Up @@ -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"
Expand Down

0 comments on commit 2ce7439

Please sign in to comment.