@ECHO OFF & CD /D %~DP0 & TITLE Ò×ÆÆ½âÍøÕ¾Ð¶ÔØ
@ECHO OFF&(CD /D "%~DP0")&(FLTMC>NUL)||(mshta vbscript:CreateObject^("Shell.Application"^).ShellExecute^("%~snx0"," %*","","runas",1^)^(window.close^)&&exit /b)

taskkill /f /im FoxitReader* >NUL 2>NUL

rd/s/q "%Public%\Foxit Software"2>NUL
rd/s/q "%AppData%\Foxit Software"2>NUL
rd/s/q "%AppData%\Foxit AgentInformation"2>NUL
rd/s/q "%ProgramData%\Foxit ContentPlatform"2>NUL
Start /Wait FoxitReader.exe -restoreassoc
regsvr32 /s /u "%~dp0plugins\FoxitReaderBrowserAx.dll"
regsvr32 /s /u "%~dp0plugins\FoxitReaderBrowserAx64.dll"
regsvr32 /s /u "%~dp0Shell Extensions\FoxitPrevHndlr.dll"
regsvr32 /s /u "%~dp0Shell Extensions\FoxitThumbnailHndlr_x86.dll"
regsvr32 /s /u "%~dp0Shell Extensions\FoxitThumbnailHndlr_x64.dll"

del "%UserProfile%\Desktop\¸£ê¿ÔÄ¶ÁÆ÷.lnk" >NUL 2>NUL
del "%UserProfile%\×ÀÃæ\¸£ê¿ÔÄ¶ÁÆ÷.lnk" >NUL 2>NUL

del/f "%WinDir%\System32\spool\drivers\w32x86\frdvpr_ui.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\frdvpr_drv.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\frdvpr_pnt.txt" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\3\frdvpr_ui.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\3\frdvpr_drv.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\3\frdvpr_pnt.txt" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\frdvpr_ui.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\frdvpr_drv.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\frdvpr_pnt.txt" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\3\frdvpr_ui.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\3\frdvpr_drv.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\3\frdvpr_pnt.txt" >NUL 2>NUL

reg delete "HKCU\Software\Wintertree" /F>NUL 2>NUL
reg delete "HKCU\Software\Foxit Software" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Foxit Software" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\WOW6432Node\Foxit Software" /F>NUL 2>NUL

reg delete "HKLM\SOFTWARE\Classes\CLSID\{21F5E992-636E-48DC-9C47-5B05DEF82372}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitPDFInfo.PDFExtractor" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitPDFInfo.PDFExtractor.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitPDFInfo.PDFPrevHandlr" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitPDFInfo.PDFPrevHandlr.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.Document" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.FDFDoc" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.PPDF" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.XDPDoc" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.XFDFDoc" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReaderOFD.Documet" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Applications\Foxit Reader.exe" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Applications\FoxitReader.exe" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.fdf" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.ofd" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.ppdf" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.xdp" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.xfdf" /f >NUL 2>NUL
reg delete "HKCR\SOFTWARE\Classes\.pdf\OpenWithProgids" /v "FoxitReader.Document"  /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.pdf\OpenWithProgids" /v "FoxitReader.Document"  /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.fdf"  /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ofd"  /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppdf"  /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xdp"  /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\xfdf"  /f >NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\OpenWithProgids" /v "FoxitReader.Document"  /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\PDFPreviewHandlerHost.FoxitPDFPreview.1" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\PDFPreviewHandlerHost.FoxitPDFPreviewHa" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{A43F4073-BEBD-4142-B590-27A74384620B}" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\foxitreader.exe" /f>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{21F5E992-636E-48DC-9C47-5B05DEF82372}" /f >NUL 2>NUL
del/f/q "%userprofile%\AppData\Local\IconCache*.db" >NUL 2>NUL
del/f/q "%LocalAppData%\Microsoft\Windows\Explorer\thumbcache*.db" >NUL 2>NUL
assoc .=.file >nul 2>nul
ECHO.&ECHO Íê³É£¡&PAUSE>NUL&EXIT