Show More
@@ -1,51 +1,49 b'' | |||
|
1 | 1 | <Include> |
|
2 | 2 | <!-- These are component GUIDs used for Mercurial installers. |
|
3 | 3 | YOU MUST CHANGE ALL GUIDs below when copying this file |
|
4 | 4 | and replace 'Mercurial' in this notice with the name of |
|
5 | 5 | your project. Component GUIDs have global namespace! --> |
|
6 | 6 | |
|
7 | 7 | <!-- contrib.wxs --> |
|
8 | 8 | <?define contrib.guid = {4E11FFC2-E2F7-482A-8460-9394B5489F02} ?> |
|
9 | 9 | <?define contrib.vim.guid = {BB04903A-652D-4C4F-9590-2BD07A2304F2} ?> |
|
10 | 10 | |
|
11 | 11 | <!-- dist.wxs --> |
|
12 | 12 | <?define dist.guid = {C3B634A4-1B05-4A40-94A9-38EE853CF693} ?> |
|
13 | 13 | |
|
14 | 14 | <!-- doc.wxs --> |
|
15 | 15 | <?define doc.hg.1.html.guid = {AAAA3FDA-EDC5-4220-B59D-D342722358A2} ?> |
|
16 | 16 | <?define doc.hgignore.5.html.guid = {AA9118C4-F3A0-4429-A5F4-5A1906B2D67F} ?> |
|
17 | 17 | <?define doc.hgrc.5.html = {E0CEA1EB-FA01-408c-844B-EE5965165BAE} ?> |
|
18 | 18 | <?define doc.style.css = {172F8262-98E0-4711-BD39-4DAE0D77EF05} ?> |
|
19 | 19 | |
|
20 | 20 | <!-- help.wxs --> |
|
21 | 21 | <?define helpFolder.guid = {9FA957DB-6DFE-44f2-AD03-293B2791CF17} ?> |
|
22 | 22 | |
|
23 | 23 | <!-- i18n.wxs --> |
|
24 | 24 | <?define i18nFolder.guid = {1BF8026D-CF7C-4174-AEE6-D6B7BF119248} ?> |
|
25 | 25 | |
|
26 | 26 | <!-- templates.wxs --> |
|
27 | 27 | <?define templates.root.guid = {437FD55C-7756-4EA0-87E5-FDBE75DC8595} ?> |
|
28 | 28 | <?define templates.atom.guid = {D30E14A5-8AF0-4268-8B00-00BEE9E09E39} ?> |
|
29 | 29 | <?define templates.coal.guid = {B63CCAAB-4EAF-43b4-901E-4BD13F5B78FC} ?> |
|
30 | 30 | <?define templates.gitweb.guid = {827334AF-1EFD-421B-962C-5660A068F612} ?> |
|
31 | 31 | <?define templates.monoblue.guid = {8060A1E4-BD4C-453E-92CB-9536DC44A9E3} ?> |
|
32 | 32 | <?define templates.paper.guid = {61AB1DE9-645F-46ED-8AF8-0CF02267FFBB} ?> |
|
33 | 33 | <?define templates.raw.guid = {834DF8D7-9784-43A6-851D-A96CE1B3575B} ?> |
|
34 | 34 | <?define templates.rss.guid = {9338FA09-E128-4B1C-B723-1142DBD09E14} ?> |
|
35 | 35 | <?define templates.spartan.guid = {80222625-FA8F-44b1-86CE-1781EF375D09} ?> |
|
36 | 36 | <?define templates.static.guid = {6B3D7C24-98DA-4B67-9F18-35F77357B0B4} ?> |
|
37 | 37 | |
|
38 | 38 | <!-- mercurial.wxs --> |
|
39 | 39 | <?define ProductUpgradeCode = {A1CC6134-E945-4399-BE36-EB0017FDF7CF} ?> |
|
40 | 40 | |
|
41 | 41 | <?define ComponentMainExecutableGUID = {D102B8FA-059B-4ACC-9FA3-8C78C3B58EEF} ?> |
|
42 | 42 | |
|
43 | 43 | <?define ReadMe.guid = {56A8E372-991D-4DCA-B91D-93D775974CF5} ?> |
|
44 | 44 | <?define COPYING.guid = {B7801DBA-1C49-4BF4-91AD-33C65F5C7895} ?> |
|
45 | 45 | <?define mercurial.rc.guid = {1D5FAEEE-7E6E-43B1-9F7F-802714316B15} ?> |
|
46 | 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} ?> | |
|
49 | 47 | <?define ProgramMenuDir.guid = {D5A63320-1238-489B-B68B-CF053E9577CA} ?> |
|
50 | 48 | |
|
51 | 49 | </Include> |
@@ -1,172 +1,161 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 | <?include guids.wxi ?> |
|
10 | 10 | <?include defines.wxi ?> |
|
11 | 11 | |
|
12 | 12 | <?if $(var.Platform) = "x64" ?> |
|
13 | 13 | <?define PFolder = ProgramFiles64Folder ?> |
|
14 | 14 | <?else?> |
|
15 | 15 | <?define PFolder = ProgramFilesFolder ?> |
|
16 | 16 | <?endif?> |
|
17 | 17 | |
|
18 | 18 | <Product Id='*' |
|
19 | 19 | Name='Mercurial $(var.Version) ($(var.Platform))' |
|
20 | 20 | UpgradeCode='$(var.ProductUpgradeCode)' |
|
21 | 21 | Language='1033' Codepage='1252' Version='$(var.Version)' |
|
22 | 22 | Manufacturer='Matt Mackall and others'> |
|
23 | 23 | |
|
24 | 24 | <Package Id='*' |
|
25 | 25 | Keywords='Installer' |
|
26 | 26 | Description="Mercurial distributed SCM (version $(var.Version))" |
|
27 | 27 | Comments='$(var.Comments)' |
|
28 | 28 | Platform='$(var.Platform)' |
|
29 | 29 | Manufacturer='Matt Mackall and others' |
|
30 | 30 | InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> |
|
31 | 31 | |
|
32 | 32 | <Media Id='1' Cabinet='mercurial.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' |
|
33 | 33 | CompressionLevel='high' /> |
|
34 | 34 | <Property Id='DiskPrompt' Value="Mercurial $(var.Version) Installation [1]" /> |
|
35 | 35 | |
|
36 | 36 | <Condition Message='Mercurial MSI installers require Windows XP or higher'> |
|
37 | 37 | VersionNT >= 501 |
|
38 | 38 | </Condition> |
|
39 | 39 | |
|
40 | 40 | <Property Id="INSTALLDIR"> |
|
41 | 41 | <ComponentSearch Id='SearchForMainExecutableComponent' |
|
42 | 42 | Guid='$(var.ComponentMainExecutableGUID)' /> |
|
43 | 43 | </Property> |
|
44 | 44 | |
|
45 | 45 | <!--Property Id='ARPCOMMENTS'>any comments</Property--> |
|
46 | 46 | <Property Id='ARPCONTACT'>mercurial@selenic.com</Property> |
|
47 | 47 | <Property Id='ARPHELPLINK'>http://mercurial.selenic.com/wiki/</Property> |
|
48 | 48 | <Property Id='ARPURLINFOABOUT'>http://mercurial.selenic.com/about/</Property> |
|
49 | 49 | <Property Id='ARPURLUPDATEINFO'>http://mercurial.selenic.com/downloads/</Property> |
|
50 | 50 | <Property Id='ARPHELPTELEPHONE'>http://mercurial.selenic.com/wiki/Support</Property> |
|
51 | 51 | <Property Id='ARPPRODUCTICON'>hgIcon.ico</Property> |
|
52 | 52 | |
|
53 | 53 | <Property Id='INSTALLEDMERCURIALPRODUCTS' Secure='yes'></Property> |
|
54 | 54 | <Property Id='REINSTALLMODE'>amus</Property> |
|
55 | 55 | |
|
56 | 56 | <!--Auto-accept the license page--> |
|
57 | 57 | <Property Id='LicenseAccepted'>1</Property> |
|
58 | 58 | |
|
59 | 59 | <Directory Id='TARGETDIR' Name='SourceDir'> |
|
60 | 60 | <Directory Id='$(var.PFolder)' Name='PFiles'> |
|
61 | 61 | <Directory Id='INSTALLDIR' Name='Mercurial'> |
|
62 | 62 | <Component Id='MainExecutable' Guid='$(var.ComponentMainExecutableGUID)' Win64='$(var.IsX64)'> |
|
63 | 63 | <File Id='hgEXE' Name='hg.exe' Source='dist\hg.exe' KeyPath='yes' /> |
|
64 | 64 | <Environment Id="Environment" Name="PATH" Part="last" System="yes" |
|
65 | 65 | Permanent="no" Value="[INSTALLDIR]" Action="set" /> |
|
66 | 66 | </Component> |
|
67 | 67 | <Component Id='ReadMe' Guid='$(var.ReadMe.guid)' Win64='$(var.IsX64)'> |
|
68 | 68 | <File Id='ReadMe' Name='ReadMe.html' Source='contrib\win32\ReadMe.html' |
|
69 | 69 | KeyPath='yes'/> |
|
70 | 70 | </Component> |
|
71 | 71 | <Component Id='COPYING' Guid='$(var.COPYING.guid)' Win64='$(var.IsX64)'> |
|
72 | 72 | <File Id='COPYING' Name='COPYING.rtf' Source='contrib\wix\COPYING.rtf' |
|
73 | 73 | KeyPath='yes'/> |
|
74 | 74 | </Component> |
|
75 | 75 | |
|
76 | 76 | <Directory Id='HGRCD' Name='hgrc.d'> |
|
77 | 77 | <Component Id='mercurial.rc' Guid='$(var.mercurial.rc.guid)' Win64='$(var.IsX64)'> |
|
78 | 78 | <File Id='mercurial.rc' Name='Mercurial.rc' Source='contrib\win32\mercurial.ini' |
|
79 | 79 | ReadOnly='yes' KeyPath='yes'/> |
|
80 | 80 | </Component> |
|
81 | 81 | <Component Id='mergetools.rc' Guid='$(var.mergetools.rc.guid)' Win64='$(var.IsX64)'> |
|
82 | 82 | <File Id='mergetools.rc' Name='MergeTools.rc' Source='mercurial\default.d\mergetools.rc' |
|
83 | 83 | ReadOnly='yes' KeyPath='yes'/> |
|
84 | 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> | |
|
94 | 85 | </Directory> |
|
95 | 86 | |
|
96 | 87 | </Directory> |
|
97 | 88 | </Directory> |
|
98 | 89 | |
|
99 | 90 | <Directory Id="ProgramMenuFolder" Name="Programs"> |
|
100 | 91 | <Directory Id="ProgramMenuDir" Name="Mercurial $(var.Version)"> |
|
101 | 92 | <Component Id="ProgramMenuDir" Guid="$(var.ProgramMenuDir.guid)" Win64='$(var.IsX64)'> |
|
102 | 93 | <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> |
|
103 | 94 | <RegistryValue Root='HKCU' Key='Software\Mercurial\InstallDir' Type='string' |
|
104 | 95 | Value='[INSTALLDIR]' KeyPath='yes' /> |
|
105 | 96 | <Shortcut Id='UrlShortcut' Directory='ProgramMenuDir' Name='Mercurial Web Site' |
|
106 | 97 | Target='[ARPHELPLINK]' Icon="hgIcon.ico" IconIndex='0' /> |
|
107 | 98 | </Component> |
|
108 | 99 | </Directory> |
|
109 | 100 | </Directory> |
|
110 | 101 | |
|
111 | 102 | <?if $(var.Platform) = "x86" ?> |
|
112 | 103 | <Merge Id='VCRuntime' DiskId='1' Language='1033' |
|
113 | 104 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x86_msm.msm' /> |
|
114 | 105 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' |
|
115 | 106 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x86_msm.msm' /> |
|
116 | 107 | <?else?> |
|
117 | 108 | <Merge Id='VCRuntime' DiskId='1' Language='1033' |
|
118 | 109 | SourceFile='$(var.VCRedistSrcDir)\microsoft.vcxx.crt.x64_msm.msm' /> |
|
119 | 110 | <Merge Id='VCRuntimePolicy' DiskId='1' Language='1033' |
|
120 | 111 | SourceFile='$(var.VCRedistSrcDir)\policy.x.xx.microsoft.vcxx.crt.x64_msm.msm' /> |
|
121 | 112 | <?endif?> |
|
122 | 113 | </Directory> |
|
123 | 114 | |
|
124 | 115 | <Feature Id='Complete' Title='Mercurial' Description='The complete package' |
|
125 | 116 | Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' > |
|
126 | 117 | <Feature Id='MainProgram' Title='Program' Description='Mercurial command line app' |
|
127 | 118 | Level='1' Absent='disallow' > |
|
128 | 119 | <ComponentRef Id='MainExecutable' /> |
|
129 | 120 | <ComponentRef Id='distOutput' /> |
|
130 | 121 | <ComponentRef Id='ProgramMenuDir' /> |
|
131 | 122 | <ComponentRef Id='ReadMe' /> |
|
132 | 123 | <ComponentRef Id='COPYING' /> |
|
133 | 124 | <ComponentRef Id='mercurial.rc' /> |
|
134 | 125 | <ComponentRef Id='mergetools.rc' /> |
|
135 | <ComponentRef Id='paths.rc' /> | |
|
136 | <ComponentRef Id='cacert.pem' /> | |
|
137 | 126 | <ComponentRef Id='helpFolder' /> |
|
138 | 127 | <ComponentGroupRef Id='templatesFolder' /> |
|
139 | 128 | <MergeRef Id='VCRuntime' /> |
|
140 | 129 | <MergeRef Id='VCRuntimePolicy' /> |
|
141 | 130 | </Feature> |
|
142 | 131 | <Feature Id='Locales' Title='Translations' Description='Translations' Level='1'> |
|
143 | 132 | <ComponentGroupRef Id='localeFolder' /> |
|
144 | 133 | <ComponentRef Id='i18nFolder' /> |
|
145 | 134 | </Feature> |
|
146 | 135 | <Feature Id='Documentation' Title='Documentation' Description='HTML man pages' Level='1'> |
|
147 | 136 | <ComponentGroupRef Id='docFolder' /> |
|
148 | 137 | </Feature> |
|
149 | 138 | <Feature Id='Misc' Title='Miscellaneous' Description='Contributed scripts' Level='1'> |
|
150 | 139 | <ComponentGroupRef Id='contribFolder' /> |
|
151 | 140 | </Feature> |
|
152 | 141 | </Feature> |
|
153 | 142 | |
|
154 | 143 | <UIRef Id="WixUI_FeatureTree" /> |
|
155 | 144 | <UIRef Id="WixUI_ErrorProgressText" /> |
|
156 | 145 | |
|
157 | 146 | <WixVariable Id="WixUILicenseRtf" Value="contrib\wix\COPYING.rtf" /> |
|
158 | 147 | |
|
159 | 148 | <Icon Id="hgIcon.ico" SourceFile="contrib/win32/mercurial.ico" /> |
|
160 | 149 | |
|
161 | 150 | <Upgrade Id='$(var.ProductUpgradeCode)'> |
|
162 | 151 | <UpgradeVersion |
|
163 | 152 | IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' OnlyDetect='no' |
|
164 | 153 | Property='INSTALLEDMERCURIALPRODUCTS' /> |
|
165 | 154 | </Upgrade> |
|
166 | 155 | |
|
167 | 156 | <InstallExecuteSequence> |
|
168 | 157 | <RemoveExistingProducts After='InstallInitialize'/> |
|
169 | 158 | </InstallExecuteSequence> |
|
170 | 159 | |
|
171 | 160 | </Product> |
|
172 | 161 | </Wix> |
General Comments 0
You need to be logged in to leave comments.
Login now