Skip to content

Commit

Permalink
add 2012 redist
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromus committed Feb 18, 2018
1 parent e49f7b0 commit da69507
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
20 changes: 16 additions & 4 deletions bizhawk_prereqs.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,31 @@ Section "Microsoft Visual C++ 2010 SP1 Runtime (x64)" SEC_CRT2010_SP1_X64
File "dist\vcredist_2010_sp1_x64.exe"
DetailPrint "Running Visual C++ 2010 SP1 Runtime (x64) Setup..."
ExecWait '"$TEMP\vcredist_2010_sp1_x64.exe" /q /promptrestart'
DetailPrint "Finished Visual C++ 2010 SP1 (x64) Runtime Setup"
DetailPrint "Finished Visual C++ 2010 SP1 Runtime (x64) Runtime Setup"

Delete "$TEMP\vcredist_2010_sp1_x64.exe"

SectionEnd

Section "Microsoft Visual C++ 2012 Runtime Update 4 (x64)" SEC_CRT2012_X64

SetOutPath "$TEMP"
File "dist\vcredist_2012_u4_x64.exe"
DetailPrint "Running Visual C++ 2012 Runtime Update 4 (x64) Setup..."
ExecWait '"$TEMP\vcredist_2012_u4_x64.exe" /q /promptrestart'
DetailPrint "Finished Visual C++ 2012 Runtime Update 4(x64) Runtime Setup"

Delete "$TEMP\vcredist_2012_u4_x64.exe"

SectionEnd

Section "Microsoft Visual C++ 2013 Runtime (x64)" SEC_CRT2013_X64

SetOutPath "$TEMP"
File "dist\vcredist_2013_x64.exe"
DetailPrint "Running Visual C++ 2013 Runtime (x64) Setup..."
ExecWait '"$TEMP\vcredist_2013_x64.exe" /q /promptrestart'
DetailPrint "Finished Visual C++ 2013 (x64) Runtime Setup"
DetailPrint "Finished Visual C++ 2013 Runtime (x64) Runtime Setup"

Delete "$TEMP\vcredist_2013_x64.exe"

Expand All @@ -72,9 +84,9 @@ Section "Microsoft Visual C++ 2015 Runtime (x64)" SEC_CRT2015_X64

SetOutPath "$TEMP"
File "dist\vcredist_2015_x64.exe"
DetailPrint "Running Visual C++ 2015 Runtime (x64) Setup..."
DetailPrint "Running Visual C++ 2015 Runtime SP1 (x64) Setup..."
ExecWait '"$TEMP\vcredist_2015_x64.exe" /quiet'
DetailPrint "Finished Visual C++ 2015 SP1 (x64) Runtime Setup"
DetailPrint "Finished Visual C++ 2015 Runtime SP1 (x64) Runtime Setup"

Delete "$TEMP\vcredist_2015_x64.exe"

Expand Down
5 changes: 3 additions & 2 deletions dist/info.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
KB2999226 (prerequisite for installing C++ 2015 runtime on vista-win8.1)
Visual C++ 2010 SP1 Runtime (x64)
Visual C++ 2012 Runtime Update 4 (x64)
Visual C++ 2013 Runtime (x64)
Visual C++ 2015 Runtime (x64)
.Net Framework v4.6.1
DirectX Installer (since the Web Update fails sometimes;
(includes D3DX9 31 and 43, XInput, and XAudio)
>> includes D3DX9 31 and 43, XInput, and XAudio
DirectX Web Update (installs dozens of packages, or maybe none, luck of the draw really)

Stay online while installing this. You're advised to be fully windows-updated before beginning, although under the circumstances, it's hard to blame anyone for shutting it off.
Stay online while installing this. You're advised to be fully windows-updated before beginning, although under the circumstances, it's hard to blame anyone for shutting off windowsupdate.
Binary file added dist/vcredist_2012_u4_x64.exe
Binary file not shown.

0 comments on commit da69507

Please sign in to comment.