mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
@@ -6,42 +6,42 @@
|
||||
<show>1</show>
|
||||
<folderList>
|
||||
<folder>
|
||||
<description>bin</description>
|
||||
<description>vcredist</description>
|
||||
<destination>${installdir}/vcredist</destination>
|
||||
<name>share_windows</name>
|
||||
<name>vcredist</name>
|
||||
<platforms>windows</platforms>
|
||||
<actionList>
|
||||
<runProgram>
|
||||
<program>${installdir}/vcredist_x86.exe</program>
|
||||
<program>${installdir}/vcredist/vcredist_x86.exe</program>
|
||||
<programArguments>/install /quiet /norestart</programArguments>
|
||||
<progressText>Installing VC++ 2013 runtime</progressText>
|
||||
<progressText>Installing VC++ 2015 32 Bit Runtime</progressText>
|
||||
<ruleList>
|
||||
<registryTest>
|
||||
<key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0\VC\Runtimes\x86</key>
|
||||
<logic>exists</logic>
|
||||
<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>
|
||||
<path>${installdir}/vcredist_x86.exe</path>
|
||||
<path>${installdir}/vcredist/vcredist_x86.exe</path>
|
||||
</fileExists>
|
||||
</ruleList>
|
||||
</runProgram>
|
||||
<runProgram>
|
||||
<program>${installdir}/vcredist_x64.exe</program>
|
||||
<program>${installdir}/vcredist/vcredist_x64.exe</program>
|
||||
<programArguments>/install /quiet /norestart</programArguments>
|
||||
<progressText>Installing VC++ 2013 runtime</progressText>
|
||||
<progressText>Installing VC++ 2015 64 Bit Runtime</progressText>
|
||||
<ruleList>
|
||||
<registryTest>
|
||||
<key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0\VC\Runtimes\x64</key>
|
||||
<logic>exists</logic>
|
||||
<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>
|
||||
<path>${installdir}/vcredist_x64.exe</path>
|
||||
<path>${installdir}/vcredist/vcredist_x64.exe</path>
|
||||
</fileExists>
|
||||
</ruleList>
|
||||
</runProgram>
|
||||
|
||||
Reference in New Issue
Block a user