From 1f08aff0354f5fad0edc92f4b0e2df5207332115 Mon Sep 17 00:00:00 2001 From: Nikos Barkas Date: Sun, 20 Feb 2011 09:41:16 +0000 Subject: [PATCH] The Windows uninstaller does not do an unconditional clean up of the root game folder anymore. It deletes only the few specific files that are installed by default, thus avoiding potential accidental user files deletion. git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4382 127b21dd-08f5-0310-b4b7-95ae10353056 --- installers/win32/OOlite.nsi | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/installers/win32/OOlite.nsi b/installers/win32/OOlite.nsi index 73c87801..be693070 100644 --- a/installers/win32/OOlite.nsi +++ b/installers/win32/OOlite.nsi @@ -219,7 +219,20 @@ RMDir /r "$INSTDIR\oolite.app\GNUstep" RMDir /r "$INSTDIR\oolite.app\oolite.app" RMDir /r "$INSTDIR\oolite.app\Resources" RMDir /r "$INSTDIR\oolite.app\Logs" -Delete "$INSTDIR\*.*" +Delete "$INSTDIR\Oolite.ico" +Delete "$INSTDIR\Oolite_Readme.txt" +Delete "$INSTDIR\OoliteRS.pdf" +Delete "$INSTDIR\AdviceForNewCommanders.pdf" +Delete "$INSTDIR\OoliteReadMe.pdf" +IfFileExists "$INSTDIR\CHANGELOG.TXT" ChangelogExists ChangelogDoesNotExist + +ChangelogExists: +Delete "$INSTDIR\CHANGELOG.TXT" + +ChangelogDoesNotExist: +; Nothing to do in this case, just continue + +Delete "$INSTDIR\UninstOolite.exe" Delete "$INSTDIR\oolite.app\*.*" SectionEnd