aboutsummaryrefslogtreecommitdiffstats
path: root/installer/settings/files_main_uninstall.nsh
diff options
context:
space:
mode:
authorcanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-01 02:25:01 +0000
committercanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-01 02:25:01 +0000
commit818ab818dcc87bacb1acc8448f49c5c5ff99d37f (patch)
treef882a56cce70f4993a8cfd4027cd2409cc05b826 /installer/settings/files_main_uninstall.nsh
parent7209bd9d217cf7358f5921842af9bdf5dd2bbed1 (diff)
downloadusdx-818ab818dcc87bacb1acc8448f49c5c5ff99d37f.tar.gz
usdx-818ab818dcc87bacb1acc8448f49c5c5ff99d37f.tar.xz
usdx-818ab818dcc87bacb1acc8448f49c5c5ff99d37f.zip
- better support for update installation
- old files will be removed - uninstaller now deletes all shortcuts - select components in uninstaller: covers, highscores, config, screenshots, playlists, songs git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2325 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'installer/settings/files_main_uninstall.nsh')
-rw-r--r--installer/settings/files_main_uninstall.nsh11
1 files changed, 3 insertions, 8 deletions
diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh
index 6a081c5b..ed2259bf 100644
--- a/installer/settings/files_main_uninstall.nsh
+++ b/installer/settings/files_main_uninstall.nsh
@@ -11,6 +11,7 @@
Delete "$Desktop\Play UltraStar Deluxe.lnk"
Delete "$Desktop\UltraStar Deluxe spielen.lnk"
+ Delete "$Desktop\UltraStar Deluxe karaoke.lnk"
; Remove dirs
@@ -22,14 +23,6 @@
RMDir /r "$INSTDIR\resources"
RMDir /r "$INSTDIR\sounds"
-; Remove old files from previous versions
- IfFileExists $INSTDIR\ScoreConverter.exe 0 +2
- Delete "$INSTDIR\ScoreConverter.exe"
- IfFileExists $INSTDIR\USdx.exe 0 +2
- Delete "$INSTDIR\USdx.exe"
- IfFileExists $INSTDIR\covers.cache 0 +2
- Delete "$INSTDIR\covers.cache"
-
; Delete remaining files
Delete "$INSTDIR\ScoreConverter.exe"
Delete "$INSTDIR\${exe}.exe"
@@ -44,6 +37,7 @@
Delete "$INSTDIR\config.ini.lnk"
Delete "$INSTDIR\Error.log"
+ Delete "$INSTDIR\Benchmark.log"
Delete "$INSTDIR\cover.db"
Delete "$INSTDIR\avcodec-52.dll"
@@ -88,6 +82,7 @@
SetShellVarContext current
Delete "$APPDATA\ultrastardx\Error.log"
+ Delete "$APPDATA\ultrastardx\Benchmark.log"
Delete "$APPDATA\ultrastardx\cover.db"
StrCpy $0 "$APPDATA\ultrastardx\covers"