Merge pull request #3715 from RisingFog/rmdir_installer
Update Installer to delete old Install directory
This commit is contained in:
commit
2ce7439c59
|
@ -121,6 +121,9 @@ Section "Base" SEC01
|
||||||
; TODO: Make a nice subsection-ized display
|
; TODO: Make a nice subsection-ized display
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
SetOverwrite ifnewer
|
SetOverwrite ifnewer
|
||||||
|
; Delete old install directory if it exists
|
||||||
|
IfFileExists "$INSTDIR\*.*" 0 +2
|
||||||
|
RMDir /r "$INSTDIR"
|
||||||
File "${BASE_DIR}\Dolphin.exe"
|
File "${BASE_DIR}\Dolphin.exe"
|
||||||
File "${BASE_DIR}\license.txt"
|
File "${BASE_DIR}\license.txt"
|
||||||
File "${BASE_DIR}\*.dll"
|
File "${BASE_DIR}\*.dll"
|
||||||
|
|
Loading…
Reference in New Issue