comparison contrib/wix/mercurial.wxs @ 10709:67cb29dbb66e stable

contrib/wix: fix product name to include version Without this, Mercurial is registered under the installed programs on Windows as just 'Mercurial', which is unusual for a program to do on Windows. Including the version in the registered product name registers the software in the Windows control panel of installed programs as, for example, 'Mercurial 1.5' (for 1.5), or as 'Mercurial 1.5.1032' for a stable 1.5+32-35893dcfd40c 'Mercurial 1.5.5080' for a unstable 1.5+80-1ee60e82333c when using http://bitbucket.org/tortoisehg/thg-winbuild to create daily builds. Furthermore, the install UI texts in the built installer database (MSI file) are more clear on what the user is about to install, as, for example, the text in the initial installer dialog now reads "The Setup Wizard will install Mercurial 1.5 on your computer" instead of just "The Setup Wizard will install Mercurial on your computer"
author Adrian Buehlmann <adrian@cadifra.com>
date Tue, 16 Mar 2010 17:39:12 +0100
parents cc9f16a1f545
children 67ba66070aee 5484f6e17984
comparison
equal deleted inserted replaced
10704:cfc89fecfe51 10709:67cb29dbb66e
7 GNU General Public License version 2 or any later version. --> 7 GNU General Public License version 2 or any later version. -->
8 8
9 <?define ComponentMainExecutableGUID = D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF ?> 9 <?define ComponentMainExecutableGUID = D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF ?>
10 <?define ProductUpgradeCode = A1CC6134-E945-4399-BE36-EB0017FDF7CF ?> 10 <?define ProductUpgradeCode = A1CC6134-E945-4399-BE36-EB0017FDF7CF ?>
11 11
12 <Product Name='Mercurial' Id='*' 12 <Product Name='Mercurial $(var.Version)' Id='*'
13 UpgradeCode='$(var.ProductUpgradeCode)' 13 UpgradeCode='$(var.ProductUpgradeCode)'
14 Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='Matt Mackall and others.'> 14 Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='Matt Mackall and others.'>
15 15
16 <Package Id='*' Keywords='Installer' Description="Mercurial distributed SCM (version $(var.Version))" 16 <Package Id='*' Keywords='Installer' Description="Mercurial distributed SCM (version $(var.Version))"
17 Comments='$(var.Comments)' Manufacturer='Matt Mackall and others.' 17 Comments='$(var.Comments)' Manufacturer='Matt Mackall and others.'