VC ++ 2013运行时ClickOnce引导程序包

时间:2017-06-12 18:18:17

标签: visual-studio visual-c++ visual-studio-2013 clickonce visual-studio-2017

运行Visual Studio 2017,我需要使用VC ++ 2013作为ClickOnce项目的先决条件。但是我无法在任何地方在线找到该软件包,也无法安装Visual Studio 2013。

VC ++ 2013引导程序包的product.xml和package.xml文件是什么样的? (有人可能仍然安装了2013)。

(在问题结束之前,对于其他寻找它的人来说,这将是一个非常有用的资源......因为它不会在任何地方在线存在)

1 个答案:

答案 0 :(得分:1)

我终于找到了这些文件 - 在这里发帖以供参考:

Visual C ++ 2013运行时库(x86)

<强> product.xml

 

          

       

          

  <!-- These checks determine whether the package is to be installed -->
  <InstallConditions>
    <BypassIf Property="VCRedistInstalled" Compare="ValueGreaterThanOrEqualTo" Value="3"/>
    <!-- Block install if user does not have admin privileges -->
    <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/>
    <!-- Block install on Win95 -->
    <FailIf Property="Version9X" Compare="VersionLessThan" Value="4.10" String="InvalidPlatformWin9x"/>
    <!-- Block install on Vista or below -->
    <FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.00" String="InvalidPlatformWinNT"/>
  </InstallConditions>

  <ExitCodes>
    <ExitCode Value="0" Result="Success"/>
    <ExitCode Value="3010" Result="SuccessReboot"/>
    <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
  </ExitCodes>

</Command>

<强> package.xml中

<!-- Defines a localizable string table for error messages-->
<Strings>
    <String Name="DisplayName">Visual C++ 2013 Runtime Libraries (x86)</String>
    <String Name="Culture">en</String>
    <String Name="AdminRequired">You do not have the permissions required to install Visual C++ 2013 Runtime Libraries (x86). Please contact your administrator.</String>
    <String Name="InvalidPlatformWin9x">Installation of Visual C++ 2013 Runtime Libraries (x86) is not supported on Windows 95. Contact your application vendor.</String>
    <String Name="InvalidPlatformWinNT">Installation of Visual C++ 2013 Runtime Libraries (x86) is not supported on Windows NT 4.0. Contact your application vendor.</String>
    <String Name="GeneralFailure">A failure occurred attempting to install Visual C++ 2013 Runtime Libraries (x86).</String>
    <String Name="VCRedistExe">http://go.microsoft.com/fwlink/?LinkID=320712&amp;clcid=0x409</String>
</Strings>