Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanitho authored Nov 6, 2024
1 parent 58cca62 commit 7f2d29b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Install-Prerequisites {

Write-ToLog "Checking prerequisites..." "Yellow"

#Check if Visual C++ 2019 or 2022 installed
#Check if Visual C++ 2022 is installed
$Visual2022 = "Microsoft Visual C++ 2015-2022 Redistributable*"
$VisualMinVer = "14.40.0.0"
$path = Get-Item HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object { $_.GetValue("DisplayName") -like $Visual2022 -and $_.GetValue("DisplayVersion") -gt $VisualMinVer }
Expand Down

0 comments on commit 7f2d29b

Please sign in to comment.