Add Tesseract 500.Alpha.20200328 to uninstall remove script

This commit is contained in:
OmrSi 2020-09-07 03:51:04 +03:00
parent ddee820373
commit 6095838d3f

View File

@ -674,6 +674,84 @@ begin
end;
// Remove tesseract
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tesseract.exe'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\iconv.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\icudt64.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\icuin64.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\icuuc64.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libarchive-13.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libbz2-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libcairo-2.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libcurl-4.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libeay32.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libexpat-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libffi-6.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libfontconfig-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libfreetype-6.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libgcc_s_sjlj-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libgif-7.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libglib-2.0-0.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libgobject-2.0-0.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libgomp-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libharfbuzz-0.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libintl-8.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libjbig-2.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libjpeg-8.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\liblept-5.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\liblz4-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\liblzma-5.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libnettle-6.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libnghttp2-14.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libopenjp2.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libpango-1.0-0.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libpangocairo-1.0-0.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libpangoft2-1.0-0.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libpangowin32-1.0-0.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libpcre-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libpixman-1-0.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libpng16-16.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libssh2-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libstdc++-6.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libtesseract-5.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libtiff-5.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libwebp-7.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libwinpthread-1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\libxml2-2.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\ssleay32.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\zlib1.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\alto'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\ambigs.train'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\api_config'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\bigram'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\box.train'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\box.train.stderr'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\digits'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\get.images'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\hocr'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\inter'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\kannada'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\linebox'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\logfile'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\lstm.train'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\lstmbox'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\lstmdebug'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\makebox'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\pdf'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\quiet'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\rebox'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\strokewidth'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\tsv'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\txt'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\unlv'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs\wordstrbox'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\tessconfigs\batch'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\tessconfigs\batch.nochop'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\tessconfigs\matdemo'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\tessconfigs\msdemo'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\tessconfigs\nobatch'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\tessconfigs\segdemo'));
DelTree(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\*.traineddata'), False, True, False);
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract411\tesseract.exe'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract411\tessdata\configs\hocr'));
DelTree(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract411\tessdata\*.traineddata'), False, True, False);
@ -685,7 +763,7 @@ begin
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract4\tesseract.exe'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract4\tessdata\configs\hocr'));
DelTree(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract4\tessdata\*.traineddata'), False, True, False);
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract302\msvcp90.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract302\msvcr90.dll'));
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract302\tesseract.exe'));
@ -707,6 +785,10 @@ begin
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\VobSub'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\WaveForms'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\Plugins'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\configs'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata\tessconfigs'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328\tessdata'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract500.Alpha.20200328'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract4\tessdata\configs'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract4\tessdata'));
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\Tesseract4'));