Files
pilotclient/installer/installbuilder/vcredist.xml
Roland Winklmeier 9fccc6c70a Fix the MSVC 2017 redist version
MSVC 2017 was updated to v15.7 in Jenkins CI and with it also the redist
version numbers. However, the new version was never updated in the installer
and packaging project.
2018-08-09 01:39:23 +02:00

69 lines
3.0 KiB
XML

<component>
<name>vcruntime</name>
<description>Visual Studio 2017 Redistributables</description>
<canBeEdited>0</canBeEdited>
<selected>1</selected>
<show>1</show>
<folderList>
<folder>
<description>vcredist</description>
<destination>${installdir}/vcredist</destination>
<name>vcredist</name>
<platforms>windows</platforms>
<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>
<program>${installdir}/vcredist/vcredist_x86.exe</program>
<programArguments>/install /quiet /norestart</programArguments>
<progressText>Installing VC++ 2017 32 Bit Runtime</progressText>
<ruleList>
<fileExists>
<path>${installdir}/vcredist/vcredist_x86.exe</path>
</fileExists>
<compareVersions>
<logic>greater</logic>
<version1>v14.15.26706.0</version1>
<version2>${vcruntimeversionx86}</version2>
</compareVersions>
</ruleList>
</runProgram>
<runProgram>
<program>${installdir}/vcredist/vcredist_x64.exe</program>
<programArguments>/install /quiet /norestart</programArguments>
<progressText>Installing VC++ 2017 64 Bit Runtime</progressText>
<ruleList>
<fileExists>
<path>${installdir}/vcredist/vcredist_x64.exe</path>
</fileExists>
<compareVersions>
<logic>greater</logic>
<version1>v14.15.26706.0</version1>
<version2>${vcruntimeversionx64}</version2>
</compareVersions>
</ruleList>
</runProgram>
</actionList>
<distributionFileList>
<distributionFile>
<allowWildcards>1</allowWildcards>
<origin>../../dist/vcredist/vcredist_*.exe</origin>
</distributionFile>
</distributionFileList>
</folder>
</folderList>
<shouldPackRuleList>
<platformTest>
<type>windows</type>
</platformTest>
</shouldPackRuleList>
</component>