Better clean on unstallation
This commit is contained in:
parent
9f08013d08
commit
36cbfb45cd
|
@ -131,134 +131,155 @@ SectionGroupEnd
|
||||||
|
|
||||||
|
|
||||||
SectionGroup un.Themes
|
SectionGroup un.Themes
|
||||||
|
|
||||||
Section un.DarkModeDefault
|
Section un.DarkModeDefault
|
||||||
|
Delete "$INSTDIR\themes\DarkModeDefault.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\DarkModeDefault.xml"
|
Delete "$installPath\themes\DarkModeDefault.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.BlackBoard
|
Section un.BlackBoard
|
||||||
|
Delete "$INSTDIR\themes\Black board.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Black board.xml"
|
Delete "$installPath\themes\Black board.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Choco
|
Section un.Choco
|
||||||
|
Delete "$INSTDIR\themes\Choco.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Choco.xml"
|
Delete "$installPath\themes\Choco.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.HelloKitty
|
Section un.HelloKitty
|
||||||
|
Delete "$INSTDIR\themes\Hello Kitty.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Hello Kitty.xml"
|
Delete "$installPath\themes\Hello Kitty.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.MonoIndustrial
|
Section un.MonoIndustrial
|
||||||
|
Delete "$INSTDIR\themes\Mono Industrial.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Mono Industrial.xml"
|
Delete "$installPath\themes\Mono Industrial.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Monokai
|
Section un.Monokai
|
||||||
|
Delete "$INSTDIR\themes\Monokai.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Monokai.xml"
|
Delete "$installPath\themes\Monokai.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Obsidian
|
Section un.Obsidian
|
||||||
|
Delete "$INSTDIR\themes\obsidian.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\obsidian.xml"
|
Delete "$installPath\themes\obsidian.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.PlasticCodeWrap
|
Section un.PlasticCodeWrap
|
||||||
|
Delete "$INSTDIR\themes\Plastic Code Wrap.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Plastic Code Wrap.xml"
|
Delete "$installPath\themes\Plastic Code Wrap.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.RubyBlue
|
Section un.RubyBlue
|
||||||
|
Delete "$INSTDIR\themes\Ruby Blue.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Ruby Blue.xml"
|
Delete "$installPath\themes\Ruby Blue.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Twilight
|
Section un.Twilight
|
||||||
|
Delete "$INSTDIR\themes\Twilight.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Twilight.xml"
|
Delete "$installPath\themes\Twilight.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.VibrantInk
|
Section un.VibrantInk
|
||||||
|
Delete "$INSTDIR\themes\Vibrant Ink.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Vibrant Ink.xml"
|
Delete "$installPath\themes\Vibrant Ink.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.DeepBlack
|
Section un.DeepBlack
|
||||||
|
Delete "$INSTDIR\themes\Deep Black.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Deep Black.xml"
|
Delete "$installPath\themes\Deep Black.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.vimDarkBlue
|
Section un.vimDarkBlue
|
||||||
|
Delete "$INSTDIR\themes\vim Dark Blue.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\vim Dark Blue.xml"
|
Delete "$installPath\themes\vim Dark Blue.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Bespin
|
Section un.Bespin
|
||||||
|
Delete "$INSTDIR\themes\Bespin.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Bespin.xml"
|
Delete "$installPath\themes\Bespin.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Zenburn
|
Section un.Zenburn
|
||||||
|
Delete "$INSTDIR\themes\Zenburn.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Zenburn.xml"
|
Delete "$installPath\themes\Zenburn.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Solarized
|
Section un.Solarized
|
||||||
|
Delete "$INSTDIR\themes\Solarized.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Solarized.xml"
|
Delete "$installPath\themes\Solarized.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Solarized-light
|
Section un.Solarized-light
|
||||||
|
Delete "$INSTDIR\themes\Solarized-light.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Solarized-light.xml"
|
Delete "$installPath\themes\Solarized-light.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.HotFudgeSundae
|
Section un.HotFudgeSundae
|
||||||
|
Delete "$INSTDIR\themes\HotFudgeSundae.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\HotFudgeSundae.xml"
|
Delete "$installPath\themes\HotFudgeSundae.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.khaki
|
Section un.khaki
|
||||||
|
Delete "$INSTDIR\themes\khaki.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\khaki.xml"
|
Delete "$installPath\themes\khaki.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.MossyLawn
|
Section un.MossyLawn
|
||||||
|
Delete "$INSTDIR\themes\MossyLawn.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\MossyLawn.xml"
|
Delete "$installPath\themes\MossyLawn.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.Navajo
|
Section un.Navajo
|
||||||
|
Delete "$INSTDIR\themes\Navajo.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\Navajo.xml"
|
Delete "$installPath\themes\Navajo.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section un.DansLeRuSHDark
|
Section un.DansLeRuSHDark
|
||||||
|
Delete "$INSTDIR\themes\DansLeRuSH-Dark.xml"
|
||||||
${If} $keepUserData == "false"
|
${If} $keepUserData == "false"
|
||||||
Delete "$installPath\themes\DansLeRuSH-Dark.xml"
|
Delete "$installPath\themes\DansLeRuSH-Dark.xml"
|
||||||
${endIf}
|
${endIf}
|
||||||
|
|
|
@ -266,6 +266,7 @@ Section Uninstall
|
||||||
Delete "$APPDATA\${APPNAME}\session.xml"
|
Delete "$APPDATA\${APPNAME}\session.xml"
|
||||||
Delete "$APPDATA\${APPNAME}\userDefineLang.xml"
|
Delete "$APPDATA\${APPNAME}\userDefineLang.xml"
|
||||||
Delete "$APPDATA\${APPNAME}\insertExt.ini"
|
Delete "$APPDATA\${APPNAME}\insertExt.ini"
|
||||||
|
Delete "$APPDATA\${APPNAME}\nppLogNulContentCorruptionIssue.log"
|
||||||
Delete "$APPDATA\${APPNAME}\userDefineLangs\userDefinedLang-markdown.default.modern.xml"
|
Delete "$APPDATA\${APPNAME}\userDefineLangs\userDefinedLang-markdown.default.modern.xml"
|
||||||
Delete "$APPDATA\${APPNAME}\userDefineLangs\markdown._preinstalled.udl.xml"
|
Delete "$APPDATA\${APPNAME}\userDefineLangs\markdown._preinstalled.udl.xml"
|
||||||
Delete "$APPDATA\${APPNAME}\userDefineLangs\markdown._preinstalled_DM.udl.xml"
|
Delete "$APPDATA\${APPNAME}\userDefineLangs\markdown._preinstalled_DM.udl.xml"
|
||||||
|
@ -284,6 +285,7 @@ Section Uninstall
|
||||||
RMDir "$INSTDIR\plugins\"
|
RMDir "$INSTDIR\plugins\"
|
||||||
RMDir "$INSTDIR\themes\"
|
RMDir "$INSTDIR\themes\"
|
||||||
RMDir "$INSTDIR\localization\"
|
RMDir "$INSTDIR\localization\"
|
||||||
|
RMDir "$INSTDIR\functionList\"
|
||||||
RMDir "$INSTDIR\"
|
RMDir "$INSTDIR\"
|
||||||
RMDir "$SMPROGRAMS\${APPNAME}"
|
RMDir "$SMPROGRAMS\${APPNAME}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue