From b56494dec0c73ae571b78f61acb65d50be680516 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 25 Feb 2006 23:13:44 +0000 Subject: [PATCH] fix uninstall leaves stuff behind --- stepmania/stepmania.nsi | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/stepmania/stepmania.nsi b/stepmania/stepmania.nsi index b07190a6bd..6b2fe39337 100644 --- a/stepmania/stepmania.nsi +++ b/stepmania/stepmania.nsi @@ -286,11 +286,6 @@ Section "Main Section" SecMain File "pcks\*.*" !endif - SetOverwrite off - SetOutPath "$INSTDIR\Save\MachineProfile" - File "Docs\Stats.xml" - SetOverwrite on - SetOutPath "$INSTDIR" File "Docs\Licenses.txt" @@ -600,6 +595,10 @@ Section "Uninstall" RMDir "$INSTDIR\NoteSkins\para" RMDir "$INSTDIR\NoteSkins" + RMDir /r "$INSTDIR\BackgroundEffects" + + RMDir /r "$INSTDIR\BackgroundTransitions" + Delete "$INSTDIR\RandomMovies\instructions.txt" RMDir "$INSTDIR\RandomMovies" @@ -610,14 +609,10 @@ Section "Uninstall" RMDir /r "$INSTDIR\Themes\default" RMDir "$INSTDIR\Themes" - Delete "$INSTDIR\Visualizations\instructions.txt" - RMDir "$INSTDIR\Visualizations" - - Delete "$INSTDIR\Docs\*.*" - RMDir "$INSTDIR\Docs" - Delete "$INSTDIR\Data\*.*" RMDir "$INSTDIR\Data" + + RMDir /r "$INSTDIR\Manual" !endif Delete "$INSTDIR\Program\${PRODUCT_NAME}.exe" @@ -636,11 +631,6 @@ Section "Uninstall" Delete "$INSTDIR\Program\zlib1.dll" RMDir "$INSTDIR\Program" - ; It's harmless to delete this, as long as we leave Stats.xml alone; it'll be rewritten - ; by the program the next time it's run. - Delete "$INSTDIR\Save\MachineProfile\stats.html" - RMDir "$INSTDIR\Save\MachineProfile" - Delete "$INSTDIR\Licenses.txt" Delete "$INSTDIR\log.txt" Delete "$INSTDIR\info.txt"