fix uninstall leaves stuff behind

This commit is contained in:
Chris Danford
2006-02-25 23:13:44 +00:00
parent fe51b2c349
commit b56494dec0
+6 -16
View File
@@ -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"