wix: use build variable for VC redist source dir stable
authorAdrian Buehlmann <adrian@cadifra.com>
Fri, 19 Mar 2010 10:26:19 +0100
branchstable
changeset 10732 5484f6e17984
parent 10730 4d6bd7b8b6d8
child 10733 e26102c40e2e
wix: use build variable for VC redist source dir
contrib/wix/mercurial.wxs
--- a/contrib/wix/mercurial.wxs	Thu Mar 18 19:26:56 2010 +0100
+++ b/contrib/wix/mercurial.wxs	Fri Mar 19 10:26:19 2010 +0100
@@ -80,9 +80,9 @@
 
       <Directory Id="DesktopFolder" Name="Desktop" />
       <Merge Id='VCRuntime' DiskId='1' Language='1033'
-             SourceFile='C:\Program Files\Microsoft SDKs\Windows\v7.0\Redist\VC\microsoft.vcxx.crt.x86_msm.msm' />
+             SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' />
       <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033'
-             SourceFile='C:\Program Files\Microsoft SDKs\Windows\v7.0\Redist\VC\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' />
+             SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' />
     </Directory>
 
     <Feature Id='Complete' Title='Mercurial $(var.Version)' Description='The complete package'