lanux128

Cleanup after VCRedist install (VC++ 2008)

Oct 19th, 2014
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. rem VCRedist from VC++ 2008 installs temporary files in root directory
  3. rem These temporary files are erroneously created by the installer into the root directory, instead of the temp directory.
  4. rem These files are unnecessary and can be safely deleted from the system. This batch file is intended to automate the deletions.
  5. rem The functions of the runtime library will not be affected by the deletion.
  6. rem This is a known bug and was fixed in VS2008 SP1.
  7. rem Source: http://support.microsoft.com/kb/950683
  8. if exist install.exe del install.exe        
  9. if exist install.res.1028.dll del install.res.1028.dll
  10. if exist install.res.1031.dll del install.res.1031.dll
  11. if exist install.res.1033.dll del install.res.1033.dll
  12. if exist install.res.1036.dll del install.res.1036.dll
  13. if exist install.res.1040.dll del install.res.1040.dll
  14. if exist install.res.1041.dll del install.res.1041.dll
  15. if exist install.res.1042.dll del install.res.1042.dll
  16. if exist install.res.1049.dll del install.res.1049.dll
  17. if exist install.res.2052.dll del install.res.2052.dll
  18. if exist install.res.3082.dll del install.res.3082.dll
  19. if exist vcredist.bmp del vcredist.bmp        
  20. if exist globdata.ini del globdata.ini        
  21. if exist install.ini del install.ini
  22. if exist eula.1028.txt del eula.1028.txt      
  23. if exist eula.1031.txt del eula.1031.txt      
  24. if exist eula.1033.txt del eula.1033.txt      
  25. if exist eula.1036.txt del eula.1036.txt      
  26. if exist eula.1040.txt del eula.1040.txt      
  27. if exist eula.1041.txt del eula.1041.txt      
  28. if exist eula.1042.txt del eula.1042.txt      
  29. if exist eula.1049.txt del eula.1049.txt      
  30. if exist eula.2052.txt del eula.2052.txt      
  31. if exist eula.3082.txt del eula.3082.txt      
  32. if exist VC_RED.MSI del VC_RED.MSI  
  33. if exist VC_RED.cab del VC_RED.cab
Advertisement
Add Comment
Please, Sign In to add comment