--- 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'