Merge pull request #3887 from CarlKenner/DontDeleteUser
This fixes the issue where the installer deletes the User folder
This commit is contained in:
commit
c8d0eb103a
|
@ -124,9 +124,17 @@ 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
|
; Only delete what we put there; all $INSTDIR\User is left as is
|
||||||
IfFileExists "$INSTDIR\*.*" 0 +2
|
Delete "$INSTDIR\uninst.exe"
|
||||||
RMDir /r "$INSTDIR"
|
Delete "$INSTDIR\license.txt"
|
||||||
|
Delete "$INSTDIR\*.dll"
|
||||||
|
Delete "$INSTDIR\Dolphin.exe"
|
||||||
|
Delete "$INSTDIR\DSPTool.exe"
|
||||||
|
Delete "$INSTDIR\cpack_package_description.txt"
|
||||||
|
Delete "$INSTDIR\qt.conf"
|
||||||
|
RMDir /r "$INSTDIR\Sys"
|
||||||
|
RMDir /r "$INSTDIR\Languages"
|
||||||
|
|
||||||
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