Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <Product xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" ProductCode="Microsoft.Visual.C++.10.0.x86">
- <!-- Defines list of files to be copied on build -->
- <PackageFiles CopyAllPackageFiles="false">
- <PackageFile Name="vcredist_x86.exe" HomeSite="VCRedistExe-2010sp1" PublicKey="3082010a0282010100bd3089fb4572a8536b9e894f0023c0bed41d3db1594038f373918226e696120053d91c820e3cce1dbbbdf7428d97d4fc381ae4b9f9e3ecd36103bfa0d3d6754d5c46a9ed5ef0d2e2695b1a73eab31c8d04cd2944a064592f1e985d6ec7ab18398265c4a7bcab758819ea87971426b37f2676a4d4383984e3b326d518f92be9d2c9165a5421f2978d878629fef4492ce68bf8043f7dcdcd9692860d7103e2d0fe0c4235ffd7b83fdd8e450a7df6d74bad5bf076721d77237d8935c41c5db250034b476d07a75588980680a681ad544ed881d6fabf42c031be550d99d553491230ebe5a5887c5ec47a5a148708b43769a0eb32248c08ebf9d414bae0fccdeaa4150203010001" />
- </PackageFiles>
- <InstallChecks>
- <MsiProductCheck Property="VCRedistInstalled" Product="{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}"/>
- </InstallChecks>
- <!-- Defines how to invoke the setup for the Visual C++ 10.0 redist -->
- <!-- TODO: Needs EstimatedTempSpace, LogFile, and an update of EstimatedDiskSpace -->
- <Commands Reboot="Defer">
- <Command PackageFile="vcredist_x86.exe" Arguments=' /q:a '>
- <!-- 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>
- </Commands>
- </Product>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement