Fixed leftovers after uninstall

This commit is contained in:
Birunthan Mohanathas 2012-06-26 20:05:35 +03:00
parent a0739c78f0
commit 374b20ee34

View File

@ -50,6 +50,7 @@ SetCompressor /SOLID lzma
RequestExecutionLevel user RequestExecutionLevel user
InstallDirRegKey HKLM "SOFTWARE\Rainmeter" "" InstallDirRegKey HKLM "SOFTWARE\Rainmeter" ""
ShowInstDetails nevershow ShowInstDetails nevershow
AllowSkipFiles off
XPStyle on XPStyle on
OutFile "..\${OUTFILE}" OutFile "..\${OUTFILE}"
ReserveFile "${NSISDIR}\Plugins\LangDLL.dll" ReserveFile "${NSISDIR}\Plugins\LangDLL.dll"
@ -1022,16 +1023,15 @@ Section Uninstall
RMDir /r "$INSTDIR\Defaults" RMDir /r "$INSTDIR\Defaults"
RMDir /r "$INSTDIR\Languages" RMDir /r "$INSTDIR\Languages"
RMDir /r "$INSTDIR\Plugins" RMDir /r "$INSTDIR\Plugins"
Delete "$INSTDIR\Rainmeter.dll"
Delete "$INSTDIR\Rainmeter.exe"
Delete "$INSTDIR\SkinInstaller.exe"
RMDir "$INSTDIR"
${If} $un.DeleteAll == 1
RMDir /r "$INSTDIR\Skins" RMDir /r "$INSTDIR\Skins"
RMDir /r "$INSTDIR\Addons" RMDir /r "$INSTDIR\Addons"
RMDir /r "$INSTDIR\Fonts" RMDir /r "$INSTDIR\Fonts"
${EndIf} Delete "$INSTDIR\Rainmeter.dll"
Delete "$INSTDIR\Rainmeter.exe"
Delete "$INSTDIR\SkinInstaller.exe"
Delete "$INSTDIR\uninst.exe"
RMDir "$INSTDIR"
SetShellVarContext all SetShellVarContext all
RMDir /r "$APPDATA\Rainstaller" RMDir /r "$APPDATA\Rainstaller"
@ -1058,7 +1058,7 @@ Section Uninstall
DeleteRegKey HKLM "SOFTWARE\Rainmeter" DeleteRegKey HKLM "SOFTWARE\Rainmeter"
DeleteRegKey HKCR ".rmskin" DeleteRegKey HKCR ".rmskin"
DeleteRegKey HKCR "Rainmeter skin" DeleteRegKey HKCR "Rainmeter.SkinInstaller"
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Rainmeter" DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Rainmeter"
${RefreshShellIcons} ${RefreshShellIcons}
SectionEnd SectionEnd