@echo off
regedit /s unist.dat
regsvr32 /u /s ADDINS\MSADDNDR.DLL
regsvr32 /u /s ADDINS\SYMINPUT.DLL
regsvr32 /u /s msxml5.dll
regsvr32 /u /s VBE6.DLL
regsvr32 /u /s OART.DLL
regsvr32 /u /s 2052\TBLHEAD.DLL
regsvr32 /u /s TCSCCONV.DLL
regsvr32 /u /s FM20.DLL
regsvr32 /u /s MenuFor2007.dll
regsvr32 /u /s ACEDAO.DLL
regsvr32 /u /s %CD%\EXP_PDF.dll
regsvr32 /u /s %CD%\EXP_XPS.dll
rd /s /q "%ProgramFiles(x86)%\Common Files\microsoft shared\OFFICE12"
del "%USERPROFILE%\桌面\Word 2007.lnk"
del "%USERPROFILE%\桌面\excel 2007.lnk"
del "%USERPROFILE%\桌面\PowerPnt2007.lnk"
del "%USERPROFILE%\桌面\Access2007.lnk"
del "%USERPROFILE%\Desktop\Word 2007.lnk"
del "%USERPROFILE%\Desktop\excel 2007.lnk"
del "%USERPROFILE%\Desktop\PowerPnt2007.lnk"
del "%USERPROFILE%\Desktop\Access2007.lnk"
rd /s /q "%USERPROFILE%\Start Menu\Programs\Office 2007"
rd /s /q "%USERPROFILE%\「开始」菜单\程序\Office 2007"
rd /s /q "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Office 2007"
rd /s /q "%ProgramData%\Microsoft\Windows\「开始」菜单\程序\Office 2007"
rd /s /q "%APPDATA%\Microsoft\PowerPoint"
rd /s /q "%APPDATA%\Microsoft\Office"
rd /s /q "%APPDATA%\Microsoft\Excel"
rd /s /q "%APPDATA%\Microsoft\Word"
rd /s /q "%APPDATA%\Microsoft\Templates"
rd /s /q "%APPDATA%\Microsoft\AddIns"
rd /s /q "%APPDATA%\Microsoft\Proof"
rd /s /q "%APPDATA%\Microsoft\UProof"
rd /s /q "%APPDATA%\Microsoft\Document Building Blocks"
exit
