fixup! Upgrade to MSVC 2017

This commit is contained in:
Roland Winklmeier
2017-11-17 16:06:32 +01:00
parent 7cd4c415fa
commit 4001fad023

View File

@@ -1,6 +1,6 @@
<component> <component>
<name>vcruntime</name> <name>vcruntime</name>
<description>Visual Studio 2015 Redistributables</description> <description>Visual Studio 2017 Redistributables</description>
<canBeEdited>0</canBeEdited> <canBeEdited>0</canBeEdited>
<selected>1</selected> <selected>1</selected>
<show>1</show> <show>1</show>
@@ -11,38 +11,44 @@
<name>vcredist</name> <name>vcredist</name>
<platforms>windows</platforms> <platforms>windows</platforms>
<actionList> <actionList>
<registryGet>
<key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86</key>
<name>Version</name>
<variable>vcruntimeversionx86</variable>
</registryGet>
<registryGet>
<key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64</key>
<name>Version</name>
<variable>vcruntimeversionx64</variable>
</registryGet>
<runProgram> <runProgram>
<program>${installdir}/vcredist/vcredist_x86.exe</program> <program>${installdir}/vcredist/vcredist_x86.exe</program>
<programArguments>/install /quiet /norestart</programArguments> <programArguments>/install /quiet /norestart</programArguments>
<progressText>Installing VC++ 2015 32 Bit Runtime</progressText> <progressText>Installing VC++ 2017 32 Bit Runtime</progressText>
<ruleList> <ruleList>
<registryTest>
<key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86</key>
<logic>does_not_exist</logic>
<name>Installed</name>
<type>REG_DWORD</type>
<wowMode>32</wowMode>
</registryTest>
<fileExists> <fileExists>
<path>${installdir}/vcredist/vcredist_x86.exe</path> <path>${installdir}/vcredist/vcredist_x86.exe</path>
</fileExists> </fileExists>
<compareVersions>
<logic>greater</logic>
<version1>14.11.25325.0</version1>
<version2>${vcruntimeversionx86}</version2>
</compareVersions>
</ruleList> </ruleList>
</runProgram> </runProgram>
<runProgram> <runProgram>
<program>${installdir}/vcredist/vcredist_x64.exe</program> <program>${installdir}/vcredist/vcredist_x64.exe</program>
<programArguments>/install /quiet /norestart</programArguments> <programArguments>/install /quiet /norestart</programArguments>
<progressText>Installing VC++ 2015 64 Bit Runtime</progressText> <progressText>Installing VC++ 2017 64 Bit Runtime</progressText>
<ruleList> <ruleList>
<registryTest>
<key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64</key>
<logic>does_not_exist</logic>
<name>Installed</name>
<type>REG_DWORD</type>
<wowMode>64</wowMode>
</registryTest>
<fileExists> <fileExists>
<path>${installdir}/vcredist/vcredist_x64.exe</path> <path>${installdir}/vcredist/vcredist_x64.exe</path>
</fileExists> </fileExists>
<compareVersions>
<logic>greater</logic>
<version1>v14.11.25325.0</version1>
<version2>${vcruntimeversionx64}</version2>
</compareVersions>
</ruleList> </ruleList>
</runProgram> </runProgram>
</actionList> </actionList>