mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 07:31:21 +02:00
- also move glestuser.ini from previous version during install
This commit is contained in:
@@ -120,6 +120,12 @@ uninstInit:
|
|||||||
IfFileExists "$R0\mydata\" 0 +2
|
IfFileExists "$R0\mydata\" 0 +2
|
||||||
CreateDirectory "$APPDATA\megaglest\"
|
CreateDirectory "$APPDATA\megaglest\"
|
||||||
Rename "$R0\mydata\*.*" "$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
|
ClearErrors
|
||||||
|
|
||||||
ExecWait '$R1 _?=$R0' ;Do not copy the uninstaller to a temp file
|
ExecWait '$R1 _?=$R0' ;Do not copy the uninstaller to a temp file
|
||||||
@@ -131,6 +137,11 @@ doneInit:
|
|||||||
Rename "$R0\mydata\*.*" "$APPDATA\megaglest\"
|
Rename "$R0\mydata\*.*" "$APPDATA\megaglest\"
|
||||||
ClearErrors
|
ClearErrors
|
||||||
|
|
||||||
|
IfFileExists "$R0\glestuser.ini" 0 +2
|
||||||
|
CreateDirectory "$APPDATA\megaglest\"
|
||||||
|
Rename "$R0\glestuser.ini" "$APPDATA\megaglest\glestuser.ini"
|
||||||
|
ClearErrors
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user