Skip to content

Commit

Permalink
Output installer logs to see what is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
demianmnave committed Nov 19, 2024
1 parent ab3734c commit d30c74f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ninja-msvc17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ jobs:
$vsinstaller = 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe'
Test-Path -Path $vsinstaller | Should -Be $true
Start-Process -Wait -FilePath $vsinstaller -ArgumentList `
'modify', '--installPath', "$vspath", '--quiet', '--norestart', '--nocache', `
Start-Process -NoNewWindow -Wait -FilePath $vsinstaller `
-RedirectStandardOutput stdout.txt `
-RedirectStandardError stderr.txt `
-ArgumentList `
'modify', '--installPath', "$vspath", '--quiet', '--norestart', '--nocache', '--noUpdateInstaller', `
'--add', 'Microsoft.VisualStudio.Component.VC.14.40.17.10.x86.x64'
Get-ChildItem -Path (Join-Path $vspath 'VC\Tools\MSVC')
Get-ChildItem $env:LOCALAPPDATA\Temp\dd_installer_* | Get-Content
# Get-ChildItem -Path (Join-Path $vspath 'VC\Tools\MSVC')
#$vsbin = 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64'
#Test-Path -Path $vsbin | Should -Be $true
Expand Down

0 comments on commit d30c74f

Please sign in to comment.