install_all.bat 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. @echo off
  2. CD /d %~dp0
  3. echo.
  4. echo Microsoft Visual C++ All-In-One Runtimes by W1zzard @ TechPowerUp
  5. echo https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/
  6. echo.
  7. echo Installing runtime packages...
  8. set IS_X64=0 && if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set IS_X64=1) else (if "%PROCESSOR_ARCHITEW6432%"=="AMD64" (set IS_X64=1))
  9. if "%IS_X64%" == "1" goto X64
  10. echo 2005...
  11. start /wait vcredist2005_x86.exe /q
  12. echo 2008...
  13. start /wait vcredist2008_x86.exe /qb
  14. echo 2010...
  15. start /wait vcredist2010_x86.exe /passive /norestart
  16. echo 2012...
  17. start /wait vcredist2012_x86.exe /passive /norestart
  18. echo 2013...
  19. start /wait vcredist2013_x86.exe /passive /norestart
  20. echo 2015 - 2022...
  21. start /wait vcredist2015_2017_2019_2022_x86.exe /passive /norestart
  22. goto END
  23. :X64
  24. echo 2005...
  25. start /wait vcredist2005_x86.exe /q
  26. start /wait vcredist2005_x64.exe /q
  27. echo 2008...
  28. start /wait vcredist2008_x86.exe /qb
  29. start /wait vcredist2008_x64.exe /qb
  30. echo 2010...
  31. start /wait vcredist2010_x86.exe /passive /norestart
  32. start /wait vcredist2010_x64.exe /passive /norestart
  33. echo 2012...
  34. start /wait vcredist2012_x86.exe /passive /norestart
  35. start /wait vcredist2012_x64.exe /passive /norestart
  36. echo 2013...
  37. start /wait vcredist2013_x86.exe /passive /norestart
  38. start /wait vcredist2013_x64.exe /passive /norestart
  39. echo 2015 - 2022...
  40. start /wait vcredist2015_2017_2019_2022_x86.exe /passive /norestart
  41. start /wait vcredist2015_2017_2019_2022_x64.exe /passive /norestart
  42. goto END
  43. :END
  44. echo.
  45. echo Installation completed successfully
  46. exit