Skip to content

Instantly share code, notes, and snippets.

@muink
Last active December 6, 2019 10:51
Show Gist options
  • Save muink/f36af0f4b5647f348f18cb2103a1c451 to your computer and use it in GitHub Desktop.
Save muink/f36af0f4b5647f348f18cb2103a1c451 to your computer and use it in GitHub Desktop.
Automatically deploy common public libraries and runtime.
@echo off
echo.Start
pause
pause
echo.Installing OpenAL...
start /w .\OpenAL\OpenAL.exe /s
echo.Installing DirectX...
start /w .\DirectX\directx_Jun2011_redist.exe /q /t:"%tmp%"&"%tmp%\DXSETUP.exe" /silent
echo.Installing .NET4.6.2-zh-cn...
start /w "" ".\NET Framework\4.6.2\NDP462-KB3151800-x86-x64-AllOS-ENU.exe" /q /norestart
start /w "" ".\NET Framework\4.6.2\NDP462-KB3151800-x86-x64-AllOS-CHS.exe" /q /norestart
echo.Installing VC++2005...
start /w "" ".\Visual C++ Redistributable\2005\vcredist_x86.exe" /q:a
start /w "" ".\Visual C++ Redistributable\2005\vcredist_x64.exe" /q:a
echo.Installing VC++2005 sp1...
start /w "" ".\Visual C++ Redistributable\2005_sp1\vcredist_x86.exe" /q:a
start /w "" ".\Visual C++ Redistributable\2005_sp1\vcredist_x64.exe" /q:a
echo.Installing VC++2008...
start /w "" ".\Visual C++ Redistributable\2008\vcredist_x86.exe" /q /norestart
start /w "" ".\Visual C++ Redistributable\2008\vcredist_x64.exe" /q /norestart
echo.Installing VC++2010...
start /w "" ".\Visual C++ Redistributable\2010\vcredist_x86.exe" /quiet /norestart
start /w "" ".\Visual C++ Redistributable\2010\vcredist_x64.exe" /quiet /norestart
echo.Installing VC++2010sp1...
start /w "" ".\Visual C++ Redistributable\2010sp1\vcredist_x86.exe" /quiet /norestart
start /w "" ".\Visual C++ Redistributable\2010sp1\vcredist_x64.exe" /quiet /norestart
echo.Installing VC++2012...
start /w "" ".\Visual C++ Redistributable\2012\vcredist_x86.exe" /quiet /norestart
start /w "" ".\Visual C++ Redistributable\2012\vcredist_x64.exe" /quiet /norestart
echo.Installing VC++2013...
start /w "" ".\Visual C++ Redistributable\2013\vcredist_x86.exe" /quiet /norestart
start /w "" ".\Visual C++ Redistributable\2013\vcredist_x64.exe" /quiet /norestart
echo.Installing VC++2015...
start /w "" ".\Visual C++ Redistributable\2015\vc_redist.x86.exe" /q /norestart
start /w "" ".\Visual C++ Redistributable\2015\vc_redist.x64.exe" /q /norestart
echo.Installing VC++2017...
start /w "" ".\Visual C++ Redistributable\2017\vc_redist.x86.exe" /q /norestart
start /w "" ".\Visual C++ Redistributable\2017\vc_redist.x64.exe" /q /norestart
echo.Installing XNA3.1 ^& XNA4.0...
start /w "" ".\XNA Framework Redistributable\xnafx31_redist.msi" /passive
start /w "" ".\XNA Framework Redistributable\xnafx40_redist.msi" /passive
echo.Installing JRE 7u55...
start /w .\JAVA\7\jre-7u55-windows-x64.exe /s
echo.Installing JRE 8u65...
start /w .\JAVA\8\jre-8u65-windows-x64.exe /s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment