[PATCH STABLE] contrib/wix: fix product name to include version

Adrian Buehlmann adrian at cadifra.com
Tue Mar 16 19:22:30 CDT 2010


On 16.03.2010 18:16, Adrian Buehlmann wrote:
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1268757552 -3600
> # Branch stable
> # Node ID 713fb98614063c1f2513dc4cbd85b7a96a9171ad
> # Parent  35893dcfd40cb0c7fd1bcd28a19158b19231a316
> contrib/wix: fix product name to include version
> 
[snip]
> 
> diff --git a/contrib/wix/mercurial.wxs b/contrib/wix/mercurial.wxs
> --- a/contrib/wix/mercurial.wxs
> +++ b/contrib/wix/mercurial.wxs
> @@ -9,7 +9,7 @@
>    <?define ComponentMainExecutableGUID = D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF ?>
>    <?define ProductUpgradeCode = A1CC6134-E945-4399-BE36-EB0017FDF7CF ?>
>  
> -  <Product Name='Mercurial' Id='*'
> +  <Product Name='Mercurial $(var.Version)' Id='*'
>      UpgradeCode='$(var.ProductUpgradeCode)'
>      Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='Matt Mackall and others.'>

FWIW, I have already done the same for TortoiseHg 5 weeks ago:
http://bitbucket.org/tortoisehg/thg-winbuild/changeset/5e9001bab308/

I forgot to do the same for mercurial.wxs before Steve moved it into the
mercurial source tree (where it is now outside of my direct pushing
powers :-).

I'm editing the wix sources of TortoiseHg quite regularly and helped
Steve to write this one here as well.

So there is no need to wait for Steve here :-)

The nightly builds I'm currently doing (while Steve is on vacation) use
that mercurial.wxs here.



More information about the Mercurial-devel mailing list