diff --git a/Installer/Installer.nsi b/Installer/Installer.nsi index e8c08c5f3dea..741263307e29 100644 --- a/Installer/Installer.nsi +++ b/Installer/Installer.nsi @@ -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"