##// END OF EJS Templates
wix: don't show version in title of root feature...
Adrian Buehlmann -
r10733:e26102c4 stable
parent child Browse files
Show More
@@ -1,133 +1,133 b''
1 1 <?xml version='1.0' encoding='windows-1252'?>
2 2 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
3 3
4 4 <!-- Copyright 2010 Steve Borho <steve@borho.org>
5 5
6 6 This software may be used and distributed according to the terms of the
7 7 GNU General Public License version 2 or any later version. -->
8 8
9 9 <?define ComponentMainExecutableGUID = D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF ?>
10 10 <?define ProductUpgradeCode = A1CC6134-E945-4399-BE36-EB0017FDF7CF ?>
11 11
12 12 <Product Name='Mercurial $(var.Version)' Id='*'
13 13 UpgradeCode='$(var.ProductUpgradeCode)'
14 14 Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='Matt Mackall and others.'>
15 15
16 16 <Package Id='*' Keywords='Installer' Description="Mercurial distributed SCM (version $(var.Version))"
17 17 Comments='$(var.Comments)' Manufacturer='Matt Mackall and others.'
18 18 InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
19 19
20 20 <Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' CompressionLevel='high' />
21 21 <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" />
22 22
23 23 <Condition Message='Mercurial requires Windows XP or higher'>VersionNT >= 501</Condition>
24 24
25 25 <Property Id="INSTALLDIR">
26 26 <ComponentSearch Id='SearchForMainExecutableComponent' Guid='$(var.ComponentMainExecutableGUID)' />
27 27 </Property>
28 28
29 29 <!--Property Id='ARPCOMMENTS'>any comments</Property-->
30 30 <Property Id='ARPCONTACT'>mercurial@selenic.com</Property>
31 31 <Property Id='ARPHELPLINK'>http://mercurial.selenic.com/wiki/</Property>
32 32 <Property Id='ARPURLINFOABOUT'>http://mercurial.selenic.com/about/</Property>
33 33 <Property Id='ARPURLUPDATEINFO'>http://mercurial.selenic.com/downloads/</Property>
34 34 <Property Id='ARPHELPTELEPHONE'>http://mercurial.selenic.com/wiki/Support</Property>
35 35 <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property>
36 36
37 37 <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property>
38 38 <Property Id='REINSTALLMODE'>amus</Property>
39 39
40 40 <Directory Id='TARGETDIR' Name='SourceDir'>
41 41 <Directory Id='ProgramFilesFolder' Name='PFiles'>
42 42 <Directory Id='INSTALLDIR' Name='Mercurial'>
43 43 <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)'>
44 44 <File Id='hgEXE' Name='hg.exe' DiskId='1' Source='dist\hg.exe' KeyPath='yes' />
45 45 <File Id='libraryZIP' Name='library.zip' DiskId='1' Source='dist\library.zip' />
46 46 <File Id='pythonDLL' Name='python26.dll' DiskId='1' Source='dist\python26.dll' />
47 47 <Environment Id="Environment" Name="PATH" Part="last" System="yes"
48 48 Permanent="no" Value="[INSTALLDIR]" Action="set" />
49 49 </Component>
50 50 <Component Id='ReadMe' Guid='56A8E372-991D-4DCA-B91D-93D775974CF5'>
51 51 <File Id='ReadMe' Name='ReadMe.html' DiskId='1' Source='contrib\win32\ReadMe.html' KeyPath='yes'/>
52 52 </Component>
53 53 <Component Id='COPYING' Guid='B7801DBA-1C49-4BF4-91AD-33C65F5C7895'>
54 54 <File Id='COPYING' Name='COPYING.rtf' DiskId='1' Source='contrib\wix\COPYING.rtf' />
55 55 </Component>
56 56 <Directory Id='HGRCD' Name='hgrc.d'>
57 57 <Component Id='mercurial.rc' Guid='1D5FAEEE-7E6E-43B1-9F7F-802714316B15'>
58 58 <File Id='mercurial.rc' Name='Mercurial.rc' DiskId='1' Source='contrib\win32\mercurial.ini'
59 59 ReadOnly='yes'/>
60 60 </Component>
61 61 <Component Id='mergetools.rc' Guid='E8A1DC29-FF40-4B5F-BD12-80B9F7BF0CCD'>
62 62 <File Id='mergetools.rc' Name='MergeTools.rc' DiskId='1' Source='contrib\mergetools.hgrc'
63 63 ReadOnly='yes'/>
64 64 </Component>
65 65 </Directory>
66 66 </Directory>
67 67 </Directory>
68 68
69 69 <Directory Id="ProgramMenuFolder" Name="Programs">
70 70 <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)">
71 71 <Component Id="ProgramMenuDir" Guid="D5A63320-1238-489B-B68B-CF053E9577CA">
72 72 <RemoveFolder Id='ProgramMenuDir' On='uninstall' />
73 73 <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string'
74 74 Value='[INSTALLDIR]' KeyPath='yes' />
75 75 <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' Target='[ARPHELPLINK]'
76 76 Icon="hgIcon.ico" IconIndex='0' />
77 77 </Component>
78 78 </Directory>
79 79 </Directory>
80 80
81 81 <Directory Id="DesktopFolder" Name="Desktop" />
82 82 <Merge Id='VCRuntime' DiskId='1' Language='1033'
83 83 SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' />
84 84 <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033'
85 85 SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' />
86 86 </Directory>
87 87
88 <Feature Id='Complete' Title='Mercurial $(var.Version)' Description='The complete package'
88 <Feature Id='Complete' Title='Mercurial' Description='The complete package'
89 89 Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' >
90 90 <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app'
91 91 Level='1' Absent='disallow' >
92 92 <ComponentRef Id='MainExecutable' />
93 93 <ComponentRef Id='ProgramMenuDir' />
94 94 <ComponentRef Id='ReadMe' />
95 95 <ComponentRef Id='COPYING' />
96 96 <ComponentRef Id='mercurial.rc' />
97 97 <ComponentRef Id='mergetools.rc' />
98 98 <ComponentGroupRef Id='helpFolder' />
99 99 <ComponentGroupRef Id='templatesFolder' />
100 100 <MergeRef Id='VCRuntime' />
101 101 <MergeRef Id='VCRuntimePolicy' />
102 102 </Feature>
103 103 <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'>
104 104 <ComponentGroupRef Id='localeFolder' />
105 105 <ComponentGroupRef Id='i18nFolder' />
106 106 </Feature>
107 107 <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'>
108 108 <ComponentGroupRef Id='docFolder' />
109 109 </Feature>
110 110 <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'>
111 111 <ComponentGroupRef Id='contribFolder' />
112 112 </Feature>
113 113 </Feature>
114 114
115 115 <UIRef Id="WixUI_FeatureTree" />
116 116 <UIRef Id="WixUI_ErrorProgressText" />
117 117
118 118 <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" />
119 119
120 120 <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" />
121 121
122 122 <Upgrade Id='$(var.ProductUpgradeCode)'>
123 123 <UpgradeVersion
124 124 IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no'
125 125 Property='INSTALLEDMERCURIALPRODUCTS' />
126 126 </Upgrade>
127 127
128 128 <InstallExecuteSequence>
129 129 <RemoveExistingProducts After='InstallInitialize'/>
130 130 </InstallExecuteSequence>
131 131
132 132 </Product>
133 133 </Wix>
General Comments 0
You need to be logged in to leave comments. Login now