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