Skip to content

Commit 5aa007e

Browse files
committed
fix: windows x32
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
1 parent 6334d28 commit 5aa007e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test-ci-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

iis/installer.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
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">

0 commit comments

Comments
 (0)