[BUG_FIXED] Fix Tidy installation problem for TextFX plugin.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@369 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2008-12-15 18:11:24 +00:00
parent e11530f0c0
commit bb475168ba

View File

@ -501,6 +501,7 @@ commun:
;clean ;clean
Delete "$INSTDIR\plugins\NPPTextFX\AsciiToEBCDIC.bin" Delete "$INSTDIR\plugins\NPPTextFX\AsciiToEBCDIC.bin"
Delete "$INSTDIR\plugins\NPPTextFX\libTidy.dll" Delete "$INSTDIR\plugins\NPPTextFX\libTidy.dll"
Delete "$INSTDIR\plugins\NPPTextFX\TIDYCFG.INI"
Delete "$INSTDIR\plugins\NPPTextFX\W3C-CSSValidator.htm" Delete "$INSTDIR\plugins\NPPTextFX\W3C-CSSValidator.htm"
Delete "$INSTDIR\plugins\NPPTextFX\W3C-HTMLValidator.htm" Delete "$INSTDIR\plugins\NPPTextFX\W3C-HTMLValidator.htm"
RMDir "$INSTDIR\plugins\NPPTextFX\" RMDir "$INSTDIR\plugins\NPPTextFX\"
@ -528,7 +529,7 @@ commun:
Delete "$INSTDIR\plugins\NPPTextFX.ini" Delete "$INSTDIR\plugins\NPPTextFX.ini"
IfFileExists "$INSTDIR\plugins\NppAutoIndent.dll" 0 +3 IfFileExists "$INSTDIR\plugins\NppAutoIndent.dll" 0 +3
MessageBox MB_OK "Due to the stabilty issue,$\NppAutoIndent.dll is about to be deleted.$\nYou can download it via menu $\"?->Get more plugins$\" if you really need it." MessageBox MB_OK "Due to the stabilty issue,$\nNppAutoIndent.dll is about to be deleted.$\nYou can download it via menu $\"?->Get more plugins$\" if you really need it."
Delete "$INSTDIR\plugins\NppAutoIndent.dll" Delete "$INSTDIR\plugins\NppAutoIndent.dll"
; detect the right of ; detect the right of
UserInfo::GetAccountType UserInfo::GetAccountType
@ -670,6 +671,7 @@ SubSection "Plugins" Plugins
SetOutPath "$INSTDIR\plugins\Config\tidy" SetOutPath "$INSTDIR\plugins\Config\tidy"
File "..\bin\plugins\Config\tidy\AsciiToEBCDIC.bin" File "..\bin\plugins\Config\tidy\AsciiToEBCDIC.bin"
File "..\bin\plugins\Config\tidy\libTidy.dll" File "..\bin\plugins\Config\tidy\libTidy.dll"
File "..\bin\plugins\Config\tidy\TIDYCFG.INI"
File "..\bin\plugins\Config\tidy\W3C-CSSValidator.htm" File "..\bin\plugins\Config\tidy\W3C-CSSValidator.htm"
File "..\bin\plugins\Config\tidy\W3C-HTMLValidator.htm" File "..\bin\plugins\Config\tidy\W3C-HTMLValidator.htm"
@ -904,6 +906,7 @@ SubSection un.Plugins
Delete "$INSTDIR\plugins\doc\NPPTextFXdemo.TXT" Delete "$INSTDIR\plugins\doc\NPPTextFXdemo.TXT"
Delete "$INSTDIR\plugins\Config\tidy\AsciiToEBCDIC.bin" Delete "$INSTDIR\plugins\Config\tidy\AsciiToEBCDIC.bin"
Delete "$INSTDIR\plugins\Config\tidy\libTidy.dll" Delete "$INSTDIR\plugins\Config\tidy\libTidy.dll"
Delete "$INSTDIR\plugins\Config\tidy\TIDYCFG.INI"
Delete "$INSTDIR\plugins\Config\tidy\W3C-CSSValidator.htm" Delete "$INSTDIR\plugins\Config\tidy\W3C-CSSValidator.htm"
Delete "$INSTDIR\plugins\Config\tidy\W3C-HTMLValidator.htm" Delete "$INSTDIR\plugins\Config\tidy\W3C-HTMLValidator.htm"
RMDir "$INSTDIR\plugins\tidy\" RMDir "$INSTDIR\plugins\tidy\"