mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Fixed MSVC redist checks
This commit is contained in:
parent
ac73c04445
commit
eef6360643
@ -150,9 +150,9 @@ Section "MSVC runtime" SEC_MSVC
|
||||
|
||||
DetailPrint "Checking whether Visual C++ 2017 runtime is already installed..."
|
||||
${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}
|
||||
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}
|
||||
|
||||
${If} $R0 >= "v14.24.28127.04"
|
||||
|
@ -156,7 +156,7 @@ Section "MSVC runtime" SEC_MSVC
|
||||
SectionIn RO
|
||||
|
||||
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"
|
||||
DetailPrint "Visual C++ 2017 runtime is already installed, skipping install."
|
||||
${Else}
|
||||
|
Loading…
Reference in New Issue
Block a user