mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
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.
69 lines
3.0 KiB
XML
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>
|