mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Merge pull request #3715 from RisingFog/rmdir_installer
Update Installer to delete old Install directory
This commit is contained in:
commit
2ce7439c59
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue