Skip to content

Commit 3a2abf9

Browse files
authored
Ensures Visual C++ Redistributables for 2013 is installed (#757)
1 parent cfdebb6 commit 3a2abf9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

dist/platforms/windows/entrypoint.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ regsvr32 C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.
1818
# Kill the regsvr process
1919
Get-Process -Name regsvr32 | ForEach-Object { Stop-Process -Id $_.Id -Force }
2020

21+
# Install Visual C++ 2013 Redistributables
22+
. "c:\steps\install_vcredist13.ps1"
23+
2124
# Setup Git Credentials
2225
. "c:\steps\set_gitcredential.ps1"
2326

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# For some reason, Unity is failing in github actions windows runners
2+
# due to missing Visual C++ 2013 redistributables.
3+
# This script downloads and installs the required redistributables.
4+
Write-Output ""
5+
Write-Output "#########################################################"
6+
Write-Output "# Installing Visual C++ Redistributables (2013) #"
7+
Write-Output "#########################################################"
8+
Write-Output ""
9+
10+
11+
choco install vcredist2013 -y --no-progress

0 commit comments

Comments
 (0)