1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Fixed MSVC redist checks

This commit is contained in:
Martin Tůma 2020-01-26 14:07:49 +01:00
parent ac73c04445
commit eef6360643
2 changed files with 3 additions and 3 deletions

View File

@ -150,9 +150,9 @@ Section "MSVC runtime" SEC_MSVC
DetailPrint "Checking whether Visual C++ 2017 runtime is already installed..." DetailPrint "Checking whether Visual C++ 2017 runtime is already installed..."
${If} ${RunningX64} ${If} ${RunningX64}
ReadRegDword $R0 HKLM "SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Version" ReadRegStr $R0 HKLM "SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Version"
${Else} ${Else}
ReadRegDword $R0 HKLM "SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Installed" ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Version"
${EndIf} ${EndIf}
${If} $R0 >= "v14.24.28127.04" ${If} $R0 >= "v14.24.28127.04"

View File

@ -156,7 +156,7 @@ Section "MSVC runtime" SEC_MSVC
SectionIn RO SectionIn RO
DetailPrint "Checking whether Visual C++ 2017 runtime is already installed..." DetailPrint "Checking whether Visual C++ 2017 runtime is already installed..."
ReadRegDword $R0 HKLM "SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64" "Version" ReadRegStr $R0 HKLM "SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64" "Version"
${If} $R0 >= "v14.24.28127.04" ${If} $R0 >= "v14.24.28127.04"
DetailPrint "Visual C++ 2017 runtime is already installed, skipping install." DetailPrint "Visual C++ 2017 runtime is already installed, skipping install."
${Else} ${Else}