【问题标题】:VC++ 2013 runtime ClickOnce bootstrap packageVC++ 2013 运行时 ClickOnce 引导程序包
【发布时间】:2017-11-14 07:51:35
【问题描述】:

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

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

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

【问题讨论】:

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


    【解决方案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>
    

    【讨论】:

    • 你能把完整的文件贴出来吗?
    猜你喜欢
    • 1970-01-01
    • 2011-04-03
    • 2017-02-23
    • 1970-01-01
    • 2016-06-05
    • 1970-01-01
    • 1970-01-01
    • 2016-01-08
    相关资源
    最近更新 更多