2

Exécution Visual Studio 2017, et j'ai besoin d'utiliser VC++ 2013 comme prérequis dans un projet ClickOnce. Cependant, je n'arrive pas à trouver le paquet en ligne et je ne suis pas en mesure d'installer Visual Studio 2013.VC++ 2013 runtime ClickOnce bootstrap package

A quoi ressemblent les fichiers product.xml et package.xml pour le package d'amorçage VC++ 2013? (quelqu'un peut encore avoir installé 2013).

(avant que la question est fermée, ce serait un document très utile pour tous ceux qui cherchent d'autre pour elle ... comme il n'existe pas en ligne partout)

Répondre

1

J'ai finalement trouvé les fichiers - affichage pour référence :

Visual C++ 2013 Runtime Libraries (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> 

+0

Pouvez-vous poster les fichiers complets par hasard? –