Show More
@@ -1,50 +1,52 b'' | |||||
1 | <Include> |
|
1 | <Include> | |
2 | <!-- These are component GUIDs used for Mercurial installers. |
|
2 | <!-- These are component GUIDs used for Mercurial installers. | |
3 | YOU MUST CHANGE ALL GUIDs below when copying this file |
|
3 | YOU MUST CHANGE ALL GUIDs below when copying this file | |
4 | and replace 'Mercurial' in this notice with the name of |
|
4 | and replace 'Mercurial' in this notice with the name of | |
5 | your project. Component GUIDs have global namespace! --> |
|
5 | your project. Component GUIDs have global namespace! --> | |
6 |
|
6 | |||
7 | <!-- contrib.wxs --> |
|
7 | <!-- contrib.wxs --> | |
8 | <?define contrib.guid = {F17D27B7-4A6B-4cd2-AE72-FED3CFAA585E} ?> |
|
8 | <?define contrib.guid = {F17D27B7-4A6B-4cd2-AE72-FED3CFAA585E} ?> | |
9 | <?define contrib.vim.guid = {BB04903A-652D-4C4F-9590-2BD07A2304F2} ?> |
|
9 | <?define contrib.vim.guid = {BB04903A-652D-4C4F-9590-2BD07A2304F2} ?> | |
10 |
|
10 | |||
11 | <!-- dist.wxs --> |
|
11 | <!-- dist.wxs --> | |
12 | <?define dist.guid = {0F63D160-0740-4BAF-BF25-0C6930310F51} ?> |
|
12 | <?define dist.guid = {0F63D160-0740-4BAF-BF25-0C6930310F51} ?> | |
13 |
|
13 | |||
14 | <!-- doc.wxs --> |
|
14 | <!-- doc.wxs --> | |
15 | <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?> |
|
15 | <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?> | |
16 | <?define doc.hgignore.5.html.guid = {AA9118C4-F3A0-4429-A5F4-5A1906B2D67F} ?> |
|
16 | <?define doc.hgignore.5.html.guid = {AA9118C4-F3A0-4429-A5F4-5A1906B2D67F} ?> | |
17 | <?define doc.hgrc.5.html = {E0CEA1EB-FA01-408c-844B-EE5965165BAE} ?> |
|
17 | <?define doc.hgrc.5.html = {E0CEA1EB-FA01-408c-844B-EE5965165BAE} ?> | |
18 | <?define doc.style.css = {172F8262-98E0-4711-BD39-4DAE0D77EF05} ?> |
|
18 | <?define doc.style.css = {172F8262-98E0-4711-BD39-4DAE0D77EF05} ?> | |
19 |
|
19 | |||
20 | <!-- help.wxs --> |
|
20 | <!-- help.wxs --> | |
21 | <?define helpFolder.guid = {21FE9CF9-933E-4C2E-B2EC-413A569FB996} ?> |
|
21 | <?define helpFolder.guid = {21FE9CF9-933E-4C2E-B2EC-413A569FB996} ?> | |
22 |
|
22 | |||
23 | <!-- i18n.wxs --> |
|
23 | <!-- i18n.wxs --> | |
24 | <?define i18nFolder.guid = {EADFA693-A0B5-4f31-87C9-3997CFAC1B42} ?> |
|
24 | <?define i18nFolder.guid = {EADFA693-A0B5-4f31-87C9-3997CFAC1B42} ?> | |
25 |
|
25 | |||
26 | <!-- templates.wxs --> |
|
26 | <!-- templates.wxs --> | |
27 | <?define templates.root.guid = {111509CB-4C96-4035-80BC-F66A99CD5ACB} ?> |
|
27 | <?define templates.root.guid = {111509CB-4C96-4035-80BC-F66A99CD5ACB} ?> | |
28 | <?define templates.atom.guid = {45FCDF84-DE27-44f4-AF6C-C41F5994AE0D} ?> |
|
28 | <?define templates.atom.guid = {45FCDF84-DE27-44f4-AF6C-C41F5994AE0D} ?> | |
29 | <?define templates.coal.guid = {B63CCAAB-4EAF-43b4-901E-4BD13F5B78FC} ?> |
|
29 | <?define templates.coal.guid = {B63CCAAB-4EAF-43b4-901E-4BD13F5B78FC} ?> | |
30 | <?define templates.gitweb.guid = {D8BFE3ED-06DD-4C4D-A00D-6D825955F922} ?> |
|
30 | <?define templates.gitweb.guid = {D8BFE3ED-06DD-4C4D-A00D-6D825955F922} ?> | |
31 | <?define templates.monoblue.guid = {A394B4D5-2AF7-4AAC-AEA8-E92176E5501E} ?> |
|
31 | <?define templates.monoblue.guid = {A394B4D5-2AF7-4AAC-AEA8-E92176E5501E} ?> | |
32 | <?define templates.paper.guid = {7C94B80D-FD0D-44E7-8489-F30A9E20A47F} ?> |
|
32 | <?define templates.paper.guid = {7C94B80D-FD0D-44E7-8489-F30A9E20A47F} ?> | |
33 | <?define templates.raw.guid = {04DE03A2-FBFD-4c5f-8DEA-5436DDF4689D} ?> |
|
33 | <?define templates.raw.guid = {04DE03A2-FBFD-4c5f-8DEA-5436DDF4689D} ?> | |
34 | <?define templates.rss.guid = {A7D608DE-0CF6-44f4-AF1E-EE30CC237FDA} ?> |
|
34 | <?define templates.rss.guid = {A7D608DE-0CF6-44f4-AF1E-EE30CC237FDA} ?> | |
35 | <?define templates.spartan.guid = {80222625-FA8F-44b1-86CE-1781EF375D09} ?> |
|
35 | <?define templates.spartan.guid = {80222625-FA8F-44b1-86CE-1781EF375D09} ?> | |
36 | <?define templates.static.guid = {68C9F843-DE7E-480f-9DA2-D220B19D02C3} ?> |
|
36 | <?define templates.static.guid = {68C9F843-DE7E-480f-9DA2-D220B19D02C3} ?> | |
37 |
|
37 | |||
38 | <!-- mercurial.wxs --> |
|
38 | <!-- mercurial.wxs --> | |
39 | <?define ProductUpgradeCode = {A1CC6134-E945-4399-BE36-EB0017FDF7CF} ?> |
|
39 | <?define ProductUpgradeCode = {A1CC6134-E945-4399-BE36-EB0017FDF7CF} ?> | |
40 |
|
40 | |||
41 | <?define ComponentMainExecutableGUID = {D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF} ?> |
|
41 | <?define ComponentMainExecutableGUID = {D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF} ?> | |
42 |
|
42 | |||
43 | <?define ReadMe.guid = {56A8E372-991D-4DCA-B91D-93D775974CF5} ?> |
|
43 | <?define ReadMe.guid = {56A8E372-991D-4DCA-B91D-93D775974CF5} ?> | |
44 | <?define COPYING.guid = {B7801DBA-1C49-4BF4-91AD-33C65F5C7895} ?> |
|
44 | <?define COPYING.guid = {B7801DBA-1C49-4BF4-91AD-33C65F5C7895} ?> | |
45 | <?define mercurial.rc.guid = {1D5FAEEE-7E6E-43B1-9F7F-802714316B15} ?> |
|
45 | <?define mercurial.rc.guid = {1D5FAEEE-7E6E-43B1-9F7F-802714316B15} ?> | |
46 | <?define mergetools.rc.guid = {E8A1DC29-FF40-4B5F-BD12-80B9F7BF0CCD} ?> |
|
46 | <?define mergetools.rc.guid = {E8A1DC29-FF40-4B5F-BD12-80B9F7BF0CCD} ?> | |
|
47 | <?define paths.rc.guid = {F9ADF21D-5F0B-4934-8CD9-14BE63664721} ?> | |||
|
48 | <?define cacert.pem.guid = {EC1B2630-FE21-46E6-915B-A6545AF703D4} ?> | |||
47 | <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> |
|
49 | <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> | |
48 | <?define hgcmd.guid = {65CCC756-E72E-4C5F-901E-D575EDC80DB3} ?> |
|
50 | <?define hgcmd.guid = {65CCC756-E72E-4C5F-901E-D575EDC80DB3} ?> | |
49 |
|
51 | |||
50 | </Include> |
|
52 | </Include> |
@@ -1,167 +1,178 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 | <?include guids.wxi ?> |
|
9 | <?include guids.wxi ?> | |
10 | <?include defines.wxi ?> |
|
10 | <?include defines.wxi ?> | |
11 |
|
11 | |||
12 | <?if $(var.Platform) = "x64" ?> |
|
12 | <?if $(var.Platform) = "x64" ?> | |
13 | <?define PFolder = ProgramFiles64Folder ?> |
|
13 | <?define PFolder = ProgramFiles64Folder ?> | |
14 | <?else?> |
|
14 | <?else?> | |
15 | <?define PFolder = ProgramFilesFolder ?> |
|
15 | <?define PFolder = ProgramFilesFolder ?> | |
16 | <?endif?> |
|
16 | <?endif?> | |
17 |
|
17 | |||
18 | <Product Id='*' |
|
18 | <Product Id='*' | |
19 | Name='Mercurial $(var.Version) ($(var.Platform))' |
|
19 | Name='Mercurial $(var.Version) ($(var.Platform))' | |
20 | UpgradeCode='$(var.ProductUpgradeCode)' |
|
20 | UpgradeCode='$(var.ProductUpgradeCode)' | |
21 | Language='1033' Codepage='1252' Version='$(var.Version)' |
|
21 | Language='1033' Codepage='1252' Version='$(var.Version)' | |
22 | Manufacturer='Matt Mackall and others'> |
|
22 | Manufacturer='Matt Mackall and others'> | |
23 |
|
23 | |||
24 | <Package Id='*' |
|
24 | <Package Id='*' | |
25 | Keywords='Installer' |
|
25 | Keywords='Installer' | |
26 | Description="Mercurial distributed SCM (version $(var.Version))" |
|
26 | Description="Mercurial distributed SCM (version $(var.Version))" | |
27 | Comments='$(var.Comments)' |
|
27 | Comments='$(var.Comments)' | |
28 | Platform='$(var.Platform)' |
|
28 | Platform='$(var.Platform)' | |
29 | Manufacturer='Matt Mackall and others' |
|
29 | Manufacturer='Matt Mackall and others' | |
30 | InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> |
|
30 | InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> | |
31 |
|
31 | |||
32 | <Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' |
|
32 | <Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' | |
33 | CompressionLevel='high' /> |
|
33 | CompressionLevel='high' /> | |
34 | <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" /> |
|
34 | <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" /> | |
35 |
|
35 | |||
36 | <Condition Message='Mercurial MSI installers require Windows XP or higher'> |
|
36 | <Condition Message='Mercurial MSI installers require Windows XP or higher'> | |
37 | VersionNT >= 501 |
|
37 | VersionNT >= 501 | |
38 | </Condition> |
|
38 | </Condition> | |
39 |
|
39 | |||
40 | <Property Id="INSTALLDIR"> |
|
40 | <Property Id="INSTALLDIR"> | |
41 | <ComponentSearch Id='SearchForMainExecutableComponent' |
|
41 | <ComponentSearch Id='SearchForMainExecutableComponent' | |
42 | Guid='$(var.ComponentMainExecutableGUID)' /> |
|
42 | Guid='$(var.ComponentMainExecutableGUID)' /> | |
43 | </Property> |
|
43 | </Property> | |
44 |
|
44 | |||
45 | <!--Property Id='ARPCOMMENTS'>any comments</Property--> |
|
45 | <!--Property Id='ARPCOMMENTS'>any comments</Property--> | |
46 | <Property Id='ARPCONTACT'>mercurial@selenic.com</Property> |
|
46 | <Property Id='ARPCONTACT'>mercurial@selenic.com</Property> | |
47 | <Property Id='ARPHELPLINK'>http://mercurial.selenic.com/wiki/</Property> |
|
47 | <Property Id='ARPHELPLINK'>http://mercurial.selenic.com/wiki/</Property> | |
48 | <Property Id='ARPURLINFOABOUT'>http://mercurial.selenic.com/about/</Property> |
|
48 | <Property Id='ARPURLINFOABOUT'>http://mercurial.selenic.com/about/</Property> | |
49 | <Property Id='ARPURLUPDATEINFO'>http://mercurial.selenic.com/downloads/</Property> |
|
49 | <Property Id='ARPURLUPDATEINFO'>http://mercurial.selenic.com/downloads/</Property> | |
50 | <Property Id='ARPHELPTELEPHONE'>http://mercurial.selenic.com/wiki/Support</Property> |
|
50 | <Property Id='ARPHELPTELEPHONE'>http://mercurial.selenic.com/wiki/Support</Property> | |
51 | <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property> |
|
51 | <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property> | |
52 |
|
52 | |||
53 | <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property> |
|
53 | <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property> | |
54 | <Property Id='REINSTALLMODE'>amus</Property> |
|
54 | <Property Id='REINSTALLMODE'>amus</Property> | |
55 |
|
55 | |||
56 | <!--Auto-accept the license page--> |
|
56 | <!--Auto-accept the license page--> | |
57 | <Property Id='LicenseAccepted'>1</Property> |
|
57 | <Property Id='LicenseAccepted'>1</Property> | |
58 |
|
58 | |||
59 | <Directory Id='TARGETDIR' Name='SourceDir'> |
|
59 | <Directory Id='TARGETDIR' Name='SourceDir'> | |
60 | <Directory Id='$(var.PFolder)' Name='PFiles'> |
|
60 | <Directory Id='$(var.PFolder)' Name='PFiles'> | |
61 | <Directory Id='INSTALLDIR' Name='Mercurial'> |
|
61 | <Directory Id='INSTALLDIR' Name='Mercurial'> | |
62 | <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)' Win64='$(var.IsX64)'> |
|
62 | <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)' Win64='$(var.IsX64)'> | |
63 | <File Id='hgEXE' Name='hg.exe' Source='dist\hg.exe' KeyPath='yes' /> |
|
63 | <File Id='hgEXE' Name='hg.exe' Source='dist\hg.exe' KeyPath='yes' /> | |
64 | <Environment Id="Environment" Name="PATH" Part="last" System="yes" |
|
64 | <Environment Id="Environment" Name="PATH" Part="last" System="yes" | |
65 | Permanent="no" Value="[INSTALLDIR]bin" Action="set" /> |
|
65 | Permanent="no" Value="[INSTALLDIR]bin" Action="set" /> | |
66 | </Component> |
|
66 | </Component> | |
67 | <Component Id='ReadMe' Guid='$(var.ReadMe.guid)' Win64='$(var.IsX64)'> |
|
67 | <Component Id='ReadMe' Guid='$(var.ReadMe.guid)' Win64='$(var.IsX64)'> | |
68 | <File Id='ReadMe' Name='ReadMe.html' Source='contrib\win32\ReadMe.html' |
|
68 | <File Id='ReadMe' Name='ReadMe.html' Source='contrib\win32\ReadMe.html' | |
69 | KeyPath='yes'/> |
|
69 | KeyPath='yes'/> | |
70 | </Component> |
|
70 | </Component> | |
71 | <Component Id='COPYING' Guid='$(var.COPYING.guid)' Win64='$(var.IsX64)'> |
|
71 | <Component Id='COPYING' Guid='$(var.COPYING.guid)' Win64='$(var.IsX64)'> | |
72 | <File Id='COPYING' Name='COPYING.rtf' Source='contrib\wix\COPYING.rtf' |
|
72 | <File Id='COPYING' Name='COPYING.rtf' Source='contrib\wix\COPYING.rtf' | |
73 | KeyPath='yes'/> |
|
73 | KeyPath='yes'/> | |
74 | </Component> |
|
74 | </Component> | |
75 |
|
75 | |||
76 | <Directory Id='HGRCD' Name='hgrc.d'> |
|
76 | <Directory Id='HGRCD' Name='hgrc.d'> | |
77 | <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)' Win64='$(var.IsX64)'> |
|
77 | <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)' Win64='$(var.IsX64)'> | |
78 | <File Id='mercurial.rc' Name='Mercurial.rc' Source='contrib\win32\mercurial.ini' |
|
78 | <File Id='mercurial.rc' Name='Mercurial.rc' Source='contrib\win32\mercurial.ini' | |
79 | ReadOnly='yes' KeyPath='yes'/> |
|
79 | ReadOnly='yes' KeyPath='yes'/> | |
80 | </Component> |
|
80 | </Component> | |
81 | <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)' Win64='$(var.IsX64)'> |
|
81 | <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)' Win64='$(var.IsX64)'> | |
82 | <File Id='mergetools.rc' Name='MergeTools.rc' Source='contrib\mergetools.hgrc' |
|
82 | <File Id='mergetools.rc' Name='MergeTools.rc' Source='contrib\mergetools.hgrc' | |
83 | ReadOnly='yes' KeyPath='yes'/> |
|
83 | ReadOnly='yes' KeyPath='yes'/> | |
84 | </Component> |
|
84 | </Component> | |
|
85 | <Component Id='paths.rc' Guid='$(var.paths.rc.guid)' Win64='$(var.IsX64)'> | |||
|
86 | <CreateFolder/> | |||
|
87 | <IniFile Id="ini0" Action="createLine" Directory="HGRCD" Name="Paths.rc" | |||
|
88 | Section="web" Key="cacerts" Value="[INSTALLDIR]hgrc.d\cacert.pem" /> | |||
|
89 | </Component> | |||
|
90 | <Component Id='cacert.pem' Guid='$(var.cacert.pem.guid)' Win64='$(var.IsX64)'> | |||
|
91 | <File Id='cacert.pem' Name='cacert.pem' Source='..\misc\cacert.pem' | |||
|
92 | ReadOnly='yes' KeyPath='yes'/> | |||
|
93 | </Component> | |||
85 | </Directory> |
|
94 | </Directory> | |
86 |
|
95 | |||
87 | <Directory Id='binFolder' Name='bin'> |
|
96 | <Directory Id='binFolder' Name='bin'> | |
88 | <Component Id='HgCmd' Guid='$(var.hgcmd.guid)' Win64='$(var.IsX64)'> |
|
97 | <Component Id='HgCmd' Guid='$(var.hgcmd.guid)' Win64='$(var.IsX64)'> | |
89 | <File Id='Hg.Cmd' Name='hg.cmd' KeyPath='yes' Source='contrib\wix\hg.cmd' /> |
|
98 | <File Id='Hg.Cmd' Name='hg.cmd' KeyPath='yes' Source='contrib\wix\hg.cmd' /> | |
90 | </Component> |
|
99 | </Component> | |
91 | </Directory> |
|
100 | </Directory> | |
92 | </Directory> |
|
101 | </Directory> | |
93 | </Directory> |
|
102 | </Directory> | |
94 |
|
103 | |||
95 | <Directory Id="ProgramMenuFolder" Name="Programs"> |
|
104 | <Directory Id="ProgramMenuFolder" Name="Programs"> | |
96 | <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)"> |
|
105 | <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)"> | |
97 | <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)" Win64='$(var.IsX64)'> |
|
106 | <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)" Win64='$(var.IsX64)'> | |
98 | <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> |
|
107 | <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> | |
99 | <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string' |
|
108 | <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string' | |
100 | Value='[INSTALLDIR]' KeyPath='yes' /> |
|
109 | Value='[INSTALLDIR]' KeyPath='yes' /> | |
101 | <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' |
|
110 | <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' | |
102 | Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' /> |
|
111 | Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' /> | |
103 | </Component> |
|
112 | </Component> | |
104 | </Directory> |
|
113 | </Directory> | |
105 | </Directory> |
|
114 | </Directory> | |
106 |
|
115 | |||
107 | <?if $(var.Platform) = "x86" ?> |
|
116 | <?if $(var.Platform) = "x86" ?> | |
108 | <Merge Id='VCRuntime' DiskId='1' Language='1033' |
|
117 | <Merge Id='VCRuntime' DiskId='1' Language='1033' | |
109 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' /> |
|
118 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' /> | |
110 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' |
|
119 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' | |
111 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' /> |
|
120 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' /> | |
112 | <?else?> |
|
121 | <?else?> | |
113 | <Merge Id='VCRuntime' DiskId='1' Language='1033' |
|
122 | <Merge Id='VCRuntime' DiskId='1' Language='1033' | |
114 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x64_msm.msm' /> |
|
123 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x64_msm.msm' /> | |
115 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' |
|
124 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' | |
116 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x64_msm.msm' /> |
|
125 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x64_msm.msm' /> | |
117 | <?endif?> |
|
126 | <?endif?> | |
118 | </Directory> |
|
127 | </Directory> | |
119 |
|
128 | |||
120 | <Feature Id='Complete' Title='Mercurial' Description='The complete package' |
|
129 | <Feature Id='Complete' Title='Mercurial' Description='The complete package' | |
121 | Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' > |
|
130 | Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' > | |
122 | <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app' |
|
131 | <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app' | |
123 | Level='1' Absent='disallow' > |
|
132 | Level='1' Absent='disallow' > | |
124 | <ComponentRef Id='MainExecutable' /> |
|
133 | <ComponentRef Id='MainExecutable' /> | |
125 | <ComponentRef Id='distOutput' /> |
|
134 | <ComponentRef Id='distOutput' /> | |
126 | <ComponentRef Id='ProgramMenuDir' /> |
|
135 | <ComponentRef Id='ProgramMenuDir' /> | |
127 | <ComponentRef Id='ReadMe' /> |
|
136 | <ComponentRef Id='ReadMe' /> | |
128 | <ComponentRef Id='COPYING' /> |
|
137 | <ComponentRef Id='COPYING' /> | |
129 | <ComponentRef Id='mercurial.rc' /> |
|
138 | <ComponentRef Id='mercurial.rc' /> | |
130 | <ComponentRef Id='mergetools.rc' /> |
|
139 | <ComponentRef Id='mergetools.rc' /> | |
|
140 | <ComponentRef Id='paths.rc' /> | |||
|
141 | <ComponentRef Id='cacert.pem' /> | |||
131 | <ComponentRef Id='helpFolder' /> |
|
142 | <ComponentRef Id='helpFolder' /> | |
132 | <ComponentRef Id='HgCmd' /> |
|
143 | <ComponentRef Id='HgCmd' /> | |
133 | <ComponentGroupRef Id='templatesFolder' /> |
|
144 | <ComponentGroupRef Id='templatesFolder' /> | |
134 | <MergeRef Id='VCRuntime' /> |
|
145 | <MergeRef Id='VCRuntime' /> | |
135 | <MergeRef Id='VCRuntimePolicy' /> |
|
146 | <MergeRef Id='VCRuntimePolicy' /> | |
136 | </Feature> |
|
147 | </Feature> | |
137 | <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'> |
|
148 | <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'> | |
138 | <ComponentGroupRef Id='localeFolder' /> |
|
149 | <ComponentGroupRef Id='localeFolder' /> | |
139 | <ComponentRef Id='i18nFolder' /> |
|
150 | <ComponentRef Id='i18nFolder' /> | |
140 | </Feature> |
|
151 | </Feature> | |
141 | <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'> |
|
152 | <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'> | |
142 | <ComponentGroupRef Id='docFolder' /> |
|
153 | <ComponentGroupRef Id='docFolder' /> | |
143 | </Feature> |
|
154 | </Feature> | |
144 | <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'> |
|
155 | <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'> | |
145 | <ComponentGroupRef Id='contribFolder' /> |
|
156 | <ComponentGroupRef Id='contribFolder' /> | |
146 | </Feature> |
|
157 | </Feature> | |
147 | </Feature> |
|
158 | </Feature> | |
148 |
|
159 | |||
149 | <UIRef Id="WixUI_FeatureTree" /> |
|
160 | <UIRef Id="WixUI_FeatureTree" /> | |
150 | <UIRef Id="WixUI_ErrorProgressText" /> |
|
161 | <UIRef Id="WixUI_ErrorProgressText" /> | |
151 |
|
162 | |||
152 | <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> |
|
163 | <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> | |
153 |
|
164 | |||
154 | <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" /> |
|
165 | <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" /> | |
155 |
|
166 | |||
156 | <Upgrade Id='$(var.ProductUpgradeCode)'> |
|
167 | <Upgrade Id='$(var.ProductUpgradeCode)'> | |
157 | <UpgradeVersion |
|
168 | <UpgradeVersion | |
158 | IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' |
|
169 | IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' | |
159 | Property='INSTALLEDMERCURIALPRODUCTS' /> |
|
170 | Property='INSTALLEDMERCURIALPRODUCTS' /> | |
160 | </Upgrade> |
|
171 | </Upgrade> | |
161 |
|
172 | |||
162 | <InstallExecuteSequence> |
|
173 | <InstallExecuteSequence> | |
163 | <RemoveExistingProducts After='InstallInitialize'/> |
|
174 | <RemoveExistingProducts After='InstallInitialize'/> | |
164 | </InstallExecuteSequence> |
|
175 | </InstallExecuteSequence> | |
165 |
|
176 | |||
166 | </Product> |
|
177 | </Product> | |
167 | </Wix> |
|
178 | </Wix> |
General Comments 0
You need to be logged in to leave comments.
Login now