Skip to content

Instantly share code, notes, and snippets.

@Tocchann
Last active September 14, 2016 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tocchann/a2ad9a54ccc2c875dc390dbd419afaed to your computer and use it in GitHub Desktop.
Save Tocchann/a2ad9a54ccc2c875dc390dbd419afaed to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Fragment>
<?define CurrentVCRedist_Version = "v14.0.24212.0"?>
<util:ProductSearch Id="SearchInstalled_VCRedist_x86_v140" Variable="VCRedist_x86_v140" UpgradeCode="{65E5BD06-6392-3027-8C26-853107D3CF1A}" Result="version" />
<PackageGroup Id="VCRedist_x86_v140">
<ExePackage Id="VCRedist_x86_v140" Name="Package\VC_redist.x86.exe" SourceFile="VC_redist.x86.exe" DetectCondition="VCRedist_x86_v140 &gt;= $(var.CurrentVCRedist_Version)" Permanent="yes" PerMachine="yes" Cache="no" Vital="yes" Compressed="$(var.Compressed)" LogPathVariable="VCRedist_x86_v140_log" DisplayName="Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24212" Protocol="burn" />
<?endif?>
</PackageGroup>
</Fragment>
</Wix>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment