From 392718a615f10c62e710eca46a095cb37928fe1b Mon Sep 17 00:00:00 2001 From: canni0 Date: Tue, 30 Sep 2008 10:33:47 +0000 Subject: - New installer source for v.1.1 - Added new demo song git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1427 b956fd51-792f-4845-bead-9b4dfca2ff2c --- installer/settings/files_main_uninstall.nsh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 installer/settings/files_main_uninstall.nsh (limited to 'installer/settings/files_main_uninstall.nsh') diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh new file mode 100644 index 00000000..f6f4a1c8 --- /dev/null +++ b/installer/settings/files_main_uninstall.nsh @@ -0,0 +1,4 @@ +; ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ +; UltraStar Deluxe Installer - Version 1.1: Main components +; ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ + -- cgit v1.2.3 From 6ecfb5323b83021c68c693e5173c32b6ea9cd62a Mon Sep 17 00:00:00 2001 From: canni0 Date: Sat, 4 Oct 2008 16:19:17 +0000 Subject: - fixed: default install dir hover descriptions vista game explorer shortcut - request privileges on vista - added settings page git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1432 b956fd51-792f-4845-bead-9b4dfca2ff2c --- installer/settings/files_main_uninstall.nsh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'installer/settings/files_main_uninstall.nsh') diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh index f6f4a1c8..882fba9a 100644 --- a/installer/settings/files_main_uninstall.nsh +++ b/installer/settings/files_main_uninstall.nsh @@ -2,3 +2,27 @@ ; UltraStar Deluxe Installer - Version 1.1: Main components ; ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ + +; Delete created Icons in startmenu + + SetShellVarContext all + + Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Deinstallieren.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Internetseite.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\UltraStar Deluxe spielen.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Play UltraStar Deluxe.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Readme.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Lies mich.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Lizenz.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\License.lnk" + +; Delete created Icon on Desktop + +Delete "$Desktop\Play UltraStar Deluxe.lnk" +Delete "$Desktop\UltraStar Deluxe spielen.lnk" + +StrCpy $0 "$SMPROGRAMS\$ICONS_GROUP" +Call un.DeleteIfEmpty + -- cgit v1.2.3 From 910e332b427f28092a0f34124af753da5845f62f Mon Sep 17 00:00:00 2001 From: canni0 Date: Wed, 8 Oct 2008 16:11:16 +0000 Subject: - Added uninstall routine git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1439 b956fd51-792f-4845-bead-9b4dfca2ff2c --- installer/settings/files_main_uninstall.nsh | 84 +++++++++++++++++++++++------ 1 file changed, 69 insertions(+), 15 deletions(-) (limited to 'installer/settings/files_main_uninstall.nsh') diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh index 882fba9a..c8d3a229 100644 --- a/installer/settings/files_main_uninstall.nsh +++ b/installer/settings/files_main_uninstall.nsh @@ -1,5 +1,5 @@ ; ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ -; UltraStar Deluxe Installer - Version 1.1: Main components +; UltraStar Deluxe Uninstaller: Main components ; ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ @@ -7,22 +7,76 @@ SetShellVarContext all - Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\Deinstallieren.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\Internetseite.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\UltraStar Deluxe spielen.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\Play UltraStar Deluxe.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\Readme.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\Lies mich.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\Lizenz.lnk" - Delete "$SMPROGRAMS\$ICONS_GROUP\License.lnk" + RMDir "$SMPROGRAMS\$ICONS_GROUP\ ; Delete created Icon on Desktop -Delete "$Desktop\Play UltraStar Deluxe.lnk" -Delete "$Desktop\UltraStar Deluxe spielen.lnk" + Delete "$Desktop\Play UltraStar Deluxe.lnk" + Delete "$Desktop\UltraStar Deluxe spielen.lnk" -StrCpy $0 "$SMPROGRAMS\$ICONS_GROUP" -Call un.DeleteIfEmpty +; Remove dirs + RMDir "$INSTDIR\plugins" + RMDir "$INSTDIR\themes" + RMDir "$INSTDIR\languages" + RMDir "$INSTDIR\visuals" + RMDir "$INSTDIR\sounds" + +; Delete remaining files + + Delete "$INSTDIR\ScoreConverter.exe" + Delete "$INSTDIR\${exe}.exe" + Delete "$INSTDIR\Changelog.german.txt" + Delete "$INSTDIR\Changelog.txt" + Delete "$INSTDIR\documentation.pdf" + Delete "$INSTDIR\License.txt" + Delete "$INSTDIR\README.txt" + Delete "$INSTDIR\Error.log" + Delete "$INSTDIR\covers.cache" + + Delete "$INSTDIR\avcodec-51.dll" + Delete "$INSTDIR\avformat-50.dll" + Delete "$INSTDIR\avutil-49.dll" + Delete "$INSTDIR\bass.dll" + Delete "$INSTDIR\glew32.dll" + Delete "$INSTDIR\jpeg.dll" + Delete "$INSTDIR\libfreetype-6.dll" + Delete "$INSTDIR\libpng12-0.dll" + Delete "$INSTDIR\libprojectM.dll" + Delete "$INSTDIR\libtiff-3.dll" + Delete "$INSTDIR\portaudio_x86.dll" + Delete "$INSTDIR\portmixer.dll" + Delete "$INSTDIR\projectM-cwrapper.dll" + Delete "$INSTDIR\SDL.dll" + Delete "$INSTDIR\SDL_image.dll" + Delete "$INSTDIR\SDL_ttf.dll" + Delete "$INSTDIR\sqlite3.dll" + Delete "$INSTDIR\zlib1.dll" + +${If} ${AtLeastWinVista} + Delete "$WINDIR\gdf.dll" +${EndIf} + + + RMDir "$INSTDIR\songs\Dead Smiling Pirates - I 18" + RMDir "$INSTDIR\songs\Joshua Morin - On The Run" + RMDir "$INSTDIR\songs\Pornophonique - Space Invaders" + RMDir "$INSTDIR\songs\Steven Dunston - Northern Star" + + StrCpy $0 "$INSTDIR\songs" + Call un.DeleteIfEmpty + + Delete "$INSTDIR\covers\NoCover.jpg" + + StrCpy $0 "$INSTDIR\screenshots" + Call un.DeleteIfEmpty + + StrCpy $0 "$INSTDIR\playlists" + Call un.DeleteIfEmpty + +; Self delete: + + Delete "$INSTDIR\Uninstall.exe" + + StrCpy $0 "$INSTDIR" + Call un.DeleteIfEmpty \ No newline at end of file -- cgit v1.2.3 From 721776f85625ab218cff2d8156e80522f5381045 Mon Sep 17 00:00:00 2001 From: canni0 Date: Wed, 8 Oct 2008 16:56:12 +0000 Subject: - Few bug fixes git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1442 b956fd51-792f-4845-bead-9b4dfca2ff2c --- installer/settings/files_main_uninstall.nsh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'installer/settings/files_main_uninstall.nsh') diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh index c8d3a229..b3d69da2 100644 --- a/installer/settings/files_main_uninstall.nsh +++ b/installer/settings/files_main_uninstall.nsh @@ -7,7 +7,7 @@ SetShellVarContext all - RMDir "$SMPROGRAMS\$ICONS_GROUP\ + RMDir /r "$SMPROGRAMS\$ICONS_GROUP\" ; Delete created Icon on Desktop @@ -16,11 +16,11 @@ ; Remove dirs - RMDir "$INSTDIR\plugins" - RMDir "$INSTDIR\themes" - RMDir "$INSTDIR\languages" - RMDir "$INSTDIR\visuals" - RMDir "$INSTDIR\sounds" + RMDir /r "$INSTDIR\plugins" + RMDir /r "$INSTDIR\themes" + RMDir /r "$INSTDIR\languages" + RMDir /r "$INSTDIR\visuals" + RMDir /r "$INSTDIR\sounds" ; Delete remaining files @@ -30,6 +30,7 @@ Delete "$INSTDIR\Changelog.txt" Delete "$INSTDIR\documentation.pdf" Delete "$INSTDIR\License.txt" + Delete "$INSTDIR\config.ini" Delete "$INSTDIR\README.txt" Delete "$INSTDIR\Error.log" Delete "$INSTDIR\covers.cache" -- cgit v1.2.3 From e05652b4e123eb241cb3c9b85e1b89796996b196 Mon Sep 17 00:00:00 2001 From: canni0 Date: Sun, 12 Apr 2009 18:56:27 +0000 Subject: - added uninstall option (songs, covers, highscores) - added section sizes - changed default options git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1667 b956fd51-792f-4845-bead-9b4dfca2ff2c --- installer/settings/files_main_uninstall.nsh | 1 + 1 file changed, 1 insertion(+) (limited to 'installer/settings/files_main_uninstall.nsh') diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh index b3d69da2..277eb409 100644 --- a/installer/settings/files_main_uninstall.nsh +++ b/installer/settings/files_main_uninstall.nsh @@ -18,6 +18,7 @@ RMDir /r "$INSTDIR\plugins" RMDir /r "$INSTDIR\themes" + RMDir /r "$INSTDIR\fonts" RMDir /r "$INSTDIR\languages" RMDir /r "$INSTDIR\visuals" RMDir /r "$INSTDIR\sounds" -- cgit v1.2.3 From d6cf58a5e4288d3796cbd0a6a7071a4c036616bb Mon Sep 17 00:00:00 2001 From: canni0 Date: Sat, 18 Apr 2009 15:29:30 +0000 Subject: - fixed assembla ticket #49 - fixed uninstall routine (forgot to delete cached covers) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1681 b956fd51-792f-4845-bead-9b4dfca2ff2c --- installer/settings/files_main_uninstall.nsh | 1 + 1 file changed, 1 insertion(+) (limited to 'installer/settings/files_main_uninstall.nsh') diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh index 277eb409..af61cb0b 100644 --- a/installer/settings/files_main_uninstall.nsh +++ b/installer/settings/files_main_uninstall.nsh @@ -35,6 +35,7 @@ Delete "$INSTDIR\README.txt" Delete "$INSTDIR\Error.log" Delete "$INSTDIR\covers.cache" + Delete "$INSTDIR\cover.db" Delete "$INSTDIR\avcodec-51.dll" Delete "$INSTDIR\avformat-50.dll" -- cgit v1.2.3 From edf4235745e5074a946f8552ec246b3b7c6f3bb6 Mon Sep 17 00:00:00 2001 From: canni0 Date: Mon, 12 Apr 2010 01:03:25 +0000 Subject: updated installer source: - adjusted folders to fit with changes from 1.1 alpha - removed incompatible themes - removed vista game exoplorer features due to incompatibility with windows 7 - added background music derivated from bebeto - added another song - fixed small icons bug - merged dependencies folder into installer git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2227 b956fd51-792f-4845-bead-9b4dfca2ff2c --- installer/settings/files_main_uninstall.nsh | 75 ++++++++++++++++++++--------- 1 file changed, 52 insertions(+), 23 deletions(-) (limited to 'installer/settings/files_main_uninstall.nsh') diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh index af61cb0b..e76a3609 100644 --- a/installer/settings/files_main_uninstall.nsh +++ b/installer/settings/files_main_uninstall.nsh @@ -2,11 +2,9 @@ ; UltraStar Deluxe Uninstaller: Main components ; ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ - ; Delete created Icons in startmenu SetShellVarContext all - RMDir /r "$SMPROGRAMS\$ICONS_GROUP\" ; Delete created Icon on Desktop @@ -21,32 +19,47 @@ RMDir /r "$INSTDIR\fonts" RMDir /r "$INSTDIR\languages" RMDir /r "$INSTDIR\visuals" + RMDir /r "$INSTDIR\resources" RMDir /r "$INSTDIR\sounds" -; Delete remaining files +; 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" - Delete "$INSTDIR\Changelog.german.txt" - Delete "$INSTDIR\Changelog.txt" + Delete "$INSTDIR\ChangeLog.GERMAN.txt" + Delete "$INSTDIR\ChangeLog.txt" + Delete "$INSTDIR\LuaCommands.odt" Delete "$INSTDIR\documentation.pdf" - Delete "$INSTDIR\License.txt" - Delete "$INSTDIR\config.ini" + Delete "$INSTDIR\license.txt" Delete "$INSTDIR\README.txt" + Delete "$INSTDIR\screenshots.lnk" + Delete "$INSTDIR\playlists.lnk" + Delete "$INSTDIR\config.ini.lnk" + Delete "$INSTDIR\Error.log" - Delete "$INSTDIR\covers.cache" Delete "$INSTDIR\cover.db" - Delete "$INSTDIR\avcodec-51.dll" - Delete "$INSTDIR\avformat-50.dll" - Delete "$INSTDIR\avutil-49.dll" + Delete "$INSTDIR\avcodec-52.dll" + Delete "$INSTDIR\avformat-52.dll" + Delete "$INSTDIR\avdevice-52.dll" + Delete "$INSTDIR\avutil-50.dll" Delete "$INSTDIR\bass.dll" + Delete "$INSTDIR\freetype6.dll" Delete "$INSTDIR\glew32.dll" Delete "$INSTDIR\jpeg.dll" - Delete "$INSTDIR\libfreetype-6.dll" Delete "$INSTDIR\libpng12-0.dll" Delete "$INSTDIR\libprojectM.dll" Delete "$INSTDIR\libtiff-3.dll" + Delete "$INSTDIR\lua5.1.dll" + Delete "$INSTDIR\lua51.dll" + Delete "$INSTDIR\pcre3.dll" Delete "$INSTDIR\portaudio_x86.dll" Delete "$INSTDIR\portmixer.dll" Delete "$INSTDIR\projectM-cwrapper.dll" @@ -54,29 +67,45 @@ Delete "$INSTDIR\SDL_image.dll" Delete "$INSTDIR\SDL_ttf.dll" Delete "$INSTDIR\sqlite3.dll" + Delete "$INSTDIR\swscale-0.dll" Delete "$INSTDIR\zlib1.dll" -${If} ${AtLeastWinVista} - Delete "$WINDIR\gdf.dll" -${EndIf} + StrCpy $0 "$INSTDIR\songs" + Call un.DeleteIfEmpty + StrCpy $0 "$INSTDIR\covers" + Call un.DeleteIfEmpty - RMDir "$INSTDIR\songs\Dead Smiling Pirates - I 18" - RMDir "$INSTDIR\songs\Joshua Morin - On The Run" - RMDir "$INSTDIR\songs\Pornophonique - Space Invaders" - RMDir "$INSTDIR\songs\Steven Dunston - Northern Star" + StrCpy $0 "$INSTDIR\screenshots" + Call un.DeleteIfEmpty - StrCpy $0 "$INSTDIR\songs" + StrCpy $0 "$INSTDIR\playlists" Call un.DeleteIfEmpty - Delete "$INSTDIR\covers\NoCover.jpg" + ; Clean up AppData - StrCpy $0 "$INSTDIR\screenshots" + SetShellVarContext current + + Delete "$APPDATA\ultrastardx\Error.log" + Delete "$APPDATA\ultrastardx\cover.db" + + StrCpy $0 "$APPDATA\ultrastardx\covers" Call un.DeleteIfEmpty - StrCpy $0 "$INSTDIR\playlists" + StrCpy $0 "$APPDATA\ultrastardx\songs" + Call un.DeleteIfEmpty + + StrCpy $0 "$APPDATA\ultrastardx\screenshots" Call un.DeleteIfEmpty + StrCpy $0 "$APPDATA\ultrastardx\playlists" + Call un.DeleteIfEmpty + + StrCpy $0 "$APPDATA\ultrastardx" + Call un.DeleteIfEmpty + + SetShellVarContext all + ; Self delete: Delete "$INSTDIR\Uninstall.exe" -- cgit v1.2.3 From 7209bd9d217cf7358f5921842af9bdf5dd2bbed1 Mon Sep 17 00:00:00 2001 From: canni0 Date: Fri, 30 Apr 2010 20:39:56 +0000 Subject: - fixed uninstaller section (all files should be deleted now) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2324 b956fd51-792f-4845-bead-9b4dfca2ff2c --- installer/settings/files_main_uninstall.nsh | 1 + 1 file changed, 1 insertion(+) (limited to 'installer/settings/files_main_uninstall.nsh') diff --git a/installer/settings/files_main_uninstall.nsh b/installer/settings/files_main_uninstall.nsh index e76a3609..6a081c5b 100644 --- a/installer/settings/files_main_uninstall.nsh +++ b/installer/settings/files_main_uninstall.nsh @@ -48,6 +48,7 @@ Delete "$INSTDIR\avcodec-52.dll" Delete "$INSTDIR\avformat-52.dll" + Delete "$INSTDIR\avfilter-1.dll" Delete "$INSTDIR\avdevice-52.dll" Delete "$INSTDIR\avutil-50.dll" Delete "$INSTDIR\bass.dll" -- cgit v1.2.3 From 818ab818dcc87bacb1acc8448f49c5c5ff99d37f Mon Sep 17 00:00:00 2001 From: canni0 Date: Sat, 1 May 2010 02:25:01 +0000 Subject: - 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 --- installer/settings/files_main_uninstall.nsh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'installer/settings/files_main_uninstall.nsh') 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" -- cgit v1.2.3