File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,7 +205,8 @@ jobs:
205205 # Verify installations
206206 Write-Host "`nVerifying VC++ installations in registry..."
207207 $vc142x64 = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64" -Name "Installed" -ErrorAction SilentlyContinue).Installed
208- $vc142x86 = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" -Name "Installed" -ErrorAction SilentlyContinue).Installed
208+ # On 64-bit Windows, x86 runtime is in WOW6432Node
209+ $vc142x86 = (Get-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" -Name "Installed" -ErrorAction SilentlyContinue).Installed
209210 Write-Host "VC++ 2019 x64 in registry: $vc142x64"
210211 Write-Host "VC++ 2019 x86 in registry: $vc142x86"
211212
Original file line number Diff line number Diff line change 3939 <Property Id =" VC142X86INSTALLED" >
4040 <RegistrySearch Id =" FindVC142X86" Root =" HKLM"
4141 Key =" SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86"
42- Name =" Installed" Type =" raw" Win64 =" yes " />
42+ Name =" Installed" Type =" raw" Win64 =" no " />
4343 </Property >
4444 <?else ?>
4545 <Property Id =" VC142X86INSTALLED" >
You can’t perform that action at this time.
0 commit comments