<Product ProductCode="Microsoft.Visual.C++.14.0.x64" xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"> <!-- Defines list of files to be copied on build --> - <PackageFiles CopyAllPackageFiles="false"> <PackageFile PublicKey="3082010a0282010100ee5bbe7d1124e38606e066ff48b517bd02e4b40c32f0723e7d2e87d74ea1b1a7432ff7659e31e1323145aed7c1248421d72eb5847efa35d35 HomeSite="VCRedistExe" Name="vc_redist.x64.exe"/> </PackageFiles> - <InstallChecks> <MsiProductCheck Product="{5271D3F9-6154-3E31-A104-C4627292B956}" Property="VCRedistInstalled"/> </InstallChecks> <!-- Defines how to invoke the setup for the Visual C++ 14.0 redist --> - <Commands Reboot="Defer"> - <Command Arguments=" /q " PackageFile="vc_redist.x64.exe"> <!-- These checks determine whether the package is to be installed --> - <InstallConditions> <BypassIf Property="VCRedistInstalled" Value="3" Compare="ValueGreaterThanOrEqualTo"/> <!-- Block install if user does not have admin privileges --> <FailIf Property="AdminUser" Value="false" Compare="ValueEqualTo" String="AdminRequired"/> <!-- Block install on any platform other than x64 --> <FailIf Property="ProcessorArchitecture" Value="AMD64" Compare="ValueNotEqualTo" String="InvalidOS"/> <!-- Block install on Vista or below --> <FailIf Property="VersionNT" Value="6.00" Compare="VersionLessThan" String="InvalidPlatformWinNT"/> </InstallConditions> - <ExitCodes> <ExitCode Value="0" Result="Success"/> <ExitCode Value="3010" Result="SuccessReboot"/> <DefaultExitCode String="GeneralFailure" Result="Fail" FormatMessageFromSystem="true"/> </ExitCodes> </Command> </Commands> </Product>