- also move glestuser.ini from previous version during install
This commit is contained in:
parent
92942c9fdb
commit
04d9bc5992
|
@ -120,6 +120,12 @@ uninstInit:
|
|||
IfFileExists "$R0\mydata\" 0 +2
|
||||
CreateDirectory "$APPDATA\megaglest\"
|
||||
Rename "$R0\mydata\*.*" "$APPDATA\megaglest\"
|
||||
|
||||
ClearErrors
|
||||
IfFileExists "$R0\glestuser.ini" 0 +2
|
||||
CreateDirectory "$APPDATA\megaglest\"
|
||||
Rename "$R0\glestuser.ini" "$APPDATA\megaglest\glestuser.ini"
|
||||
|
||||
ClearErrors
|
||||
|
||||
ExecWait '$R1 _?=$R0' ;Do not copy the uninstaller to a temp file
|
||||
|
@ -131,6 +137,11 @@ doneInit:
|
|||
Rename "$R0\mydata\*.*" "$APPDATA\megaglest\"
|
||||
ClearErrors
|
||||
|
||||
IfFileExists "$R0\glestuser.ini" 0 +2
|
||||
CreateDirectory "$APPDATA\megaglest\"
|
||||
Rename "$R0\glestuser.ini" "$APPDATA\megaglest\glestuser.ini"
|
||||
ClearErrors
|
||||
|
||||
FunctionEnd
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue